/* =========================================================
   Lune d’Intuition — pages.css
   Réorganisation prudente + corrections responsive sûres
   Pages concernées :
   - pythagore.php
   - love-compatibility.php
   - life-tree.php
   - soul-mission.php
   - profile.php
   - numeropedia.php
   - rapports divers
   ========================================================= */

/* =========================================================
   1) Structure commune des pages
   ========================================================= */

/* header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(120%) blur(8px);
  background:var(--bg-header);
  border-bottom:1px solid rgba(0,0,0,.05);
}*/

.page-wrap {
  padding: 24px 10px;
}

.page-header {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 10px 0 18px;
  padding: 22px 18px;
  text-align: center;
  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.93),
      rgba(255, 255, 255, 0.78)
    ),
    linear-gradient(
      90deg,
      var(--pastel-blue),
      var(--pastel-lavender),
      var(--pastel-rose)
    );

  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    0 12px 34px rgba(33, 24, 56, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);

  backdrop-filter: blur(8px);
}

.page-header::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px auto;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.24),
    transparent 70%
  );
  pointer-events: none;
}

.page-header-text {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0 auto;
}

.page-header h1 {
  font-family:
    "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0.2px;
  color: var(--slate-ink);
  margin: 0 0 0.7rem 0;
}

.page-header h2 {
  font-family:
    "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.65;
  letter-spacing: 0.15px;
  color: rgba(47, 56, 72, 0.92);
  margin: 0 auto;
  /*max-width: 860px;*/
  font-weight: 400;
}

.page-header-text h1 {
  margin-bottom: 0.45rem;
}

.page-header-text h2 {
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  letter-spacing: 0.15px;
  color: rgba(47, 56, 72, 0.92);
  margin: 0 auto;
  max-width: 860px;
}

@media (max-width: 768px) {
  .page-header {
    margin: 8px 0 14px;
    padding: 18px 16px;
    border-radius: 16px;
  }

  .page-header h1 {
    margin-bottom: 0.5rem;
  }

  .page-header h2,
  .page-header-text h2 {
    line-height: 1.55;
    max-width: 100%;
  }

  .page-header::after {
    width: 66px;
    height: 66px;
    right: 12px;
    bottom: 12px;
  }
}

/* =========================================================
   2) Layouts communs
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 20px;
  row-gap: 24px;
  align-items: center;
  margin: 14px 0;
}

.split .media {
  margin: 0;
}

.split .media img,
.split img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow, 0 4px 16px rgba(0, 0, 0, 0.08));
}

.split .texte {
  line-height: 1.6;
  text-align: justify;
}

.split .texte h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.split .texte p {
  font-size: 14px;
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

.split .texte ul {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0.9rem 1.1rem;
  font-size: 14px;
}

.split.right-image .media,
.split.form-right .media {
  order: 2;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split.right-image .media,
  .split.form-right .media {
    order: initial;
  }

  .split .media {
    margin: 0 auto 20px;
    text-align: center;
  }

  .split .media img {
    margin: 0 auto;
  }

  .page-header h1 {
    font-size: 24px;
  }
}

/* =========================================================
   3) Sections génériques
   ========================================================= */

.section-page {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 18px 20px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow, 0 6px 18px rgba(110, 90, 150, 0.08));
}

.section-page h1 {
  font-family:
    "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.3px;
  color: var(--color-title, #3b0764);
}

.section-page h2 {
  font-family:
    "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.3px;
  color: var(--color-title, #3b0764);
}

.section-muted {
  color: #6b7280;
  font-size: 12px;
  border-bottom: 1px solid var(--hairline, rgba(0, 0, 0, 0.08));
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.section-user-info {
  border-bottom: 1px solid var(--hairline, rgba(0, 0, 0, 0.08));
  padding-bottom: 12px;
  margin-bottom: 16px;
}

/* =========================================================
   4) Formulaires de section
   ========================================================= */

.section-form {
  display: block;
  margin-top: 8px;
}

.section-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}

.section-form .label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: #374151;
  font-size: 12px;
}

.section-form select,
.section-form input[type="text"],
.section-form input[type="number"] {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 12px;
  background-color: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.section-form select:focus,
.section-form input:focus {
  border-color: #8b5cf6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.section-form h3 {
  font-family:
    "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.3px;
  color: var(--slate-ink);
}

.section-col h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.section-form-radio-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 8px;
}

.section-form-radio-group label {
  cursor: pointer;
}

.section-form-radio-group input[type="radio"] {
  margin-right: 6px;
}

.section-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  align-items: start;
  margin-top: 10px;
}

.section-form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 4px;
}

.section-form-checkbox input[type="checkbox"] {
  accent-color: var(--accent-color, #7b5eea);
}

.section-form--select {
  width: 100%;
}

.section-footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  align-items: center;
  margin-top: 12px;
  gap: 10px;
}

.section-footer.center {
  justify-content: center;
}

.msg-alert-warn {
  grid-column: 1 / -1;
  background: #fff7e6;
  border: 1px solid #ffcc80;
  color: #b26a00;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .section-form .row,
  .section-form-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   5) Blocs calcul / bases / tableaux
   ========================================================= */

.bases-col-right {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow, 0 6px 18px rgba(0, 0, 0, 0.08));
  padding: 16px;
  width: 100%;
  max-width: 380px;
}

.titre-calculateur-cle {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.tableau-lettres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 10px 0 14px;
  font-size: 12px;
}

.tableau-lettres > div {
  background: #f7f7fb;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
}

.txt-calculateur {
  margin: 0.2rem 0 0.6rem;
  color: var(--slate-mid, #556);
  font-size: 12px;
}

.trait {
  border: none;
  border-top: 1px solid #eee;
  margin: 0.6rem 0 1rem;
}

.firstname-field {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #e3e6ef;
  border-radius: 10px;
  font-size: 12px;
}

.btn-calcul {
  margin-top: 0.6rem;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 10px;
  background: var(--pastel-blue, #e8f1ff);
  font-weight: 600;
  cursor: pointer;
}

.tableau-interpret {
  white-space: pre-line;
  margin-top: 0.8rem;
  background: #fbfbff;
  border: 1px dashed #dfe3f3;
  border-radius: 10px;
  padding: 0.7rem;
  font-size: 12px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .tableau-lettres {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   6) Love compatibility
   ========================================================= */

.li-intro.two-col {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
}

.li-img-cover {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow, 0 8px 20px rgba(110, 90, 150, 0.18));
}

.li-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow, 0 8px 20px rgba(110, 90, 150, 0.08));
}

.li-report-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.score-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge.score {
  display: inline-block;
  min-width: 40px;
  text-align: center;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef2ff;
}

.dim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.card-dim {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 10px;
  background: #fafafa;
}

.badge.harmony {
  background: #ecfdf5;
  color: #065f46;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.badge.challenge {
  background: #fef2f2;
  color: #7f1d1d;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.badge.neutral {
  background: #eff6ff;
  color: #1e3a8a;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.li-alert {
  border-radius: 8px;
  padding: 8px 10px;
}

.li-alert-warn {
  background: #fffbeb;
  color: #7c2d12;
  border: 1px solid #fde68a;
}

@media (max-width: 900px) {
  .li-intro.two-col {
    grid-template-columns: 1fr;
  }

  .li-report-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

/* =========================================================
   7) Life tree
   ========================================================= */

.life-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: start;
  padding-top: 20px;
}

@media (max-width: 980px) {
  .life-shell {
    grid-template-columns: 1fr;
  }
}

.life-tree-wrap {
  background: linear-gradient(180deg, var(--pastel-lavender), #fff);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.life-tree-svg {
  width: 100%;
  height: auto;
  display: block;
}

.life-node {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
  cursor: pointer;
}

.life-node circle {
  fill: #fff;
  stroke: rgba(0, 0, 0, 0.08);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition:
    transform 0.2s ease,
    fill 0.3s ease;
}

.life-node.is-master circle {
  filter: drop-shadow(0 0 8px rgba(120, 90, 220, 0.35));
}

.life-node.is-karmic circle {
  stroke-dasharray: 4 4;
  stroke: #d4a017;
}

.life-node.is-karmic[data-label="karma"] circle {
  stroke-dasharray: 2 2;
}

.life-panel {
  position: sticky;
  top: 12px;
}

.life-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.life-tab {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--chip-bg, #f4f1fb);
  cursor: pointer;
  font-weight: 600;
}

.life-tab[aria-selected="true"] {
  background: linear-gradient(
    180deg,
    var(--pastel-rose),
    var(--pastel-lavender)
  );
}

.life-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.life-grid {
  display: grid;
  gap: 12px;
}

.mini-contrib {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
}

.mini-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.life-tooltip {
  position: absolute;
  z-index: 9999;
  pointer-events: none;
  background: #111;
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.35;
  max-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

/* =========================================================
   8) Soul mission / rapports mission
   ========================================================= */

.report-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 20px;
}

.sm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sm-header .sm-label {
  font-weight: 600;
  opacity: 0.8;
}

.sm-main-card .sm-number {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1;
}

.sm-main-card .sm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sm-main-card .sm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 14px;
}

.sm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.sm-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow, 0 8px 20px rgba(110, 90, 150, 0.1));
}

.sm-card-n {
  font-weight: 800;
  font-size: 20px;
  opacity: 0.6;
  margin-bottom: 6px;
}

.sm-breakdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  padding-left: 0;
}

.sm-badge {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sm-badge.total {
  margin-left: 12px;
}

.report-badge-score {
  min-width: 54px;
}

/* Variante Mission d’Âme */
.report-intro--mission {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.74)
    ),
    radial-gradient(
      circle at top left,
      rgba(122, 103, 255, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(111, 211, 255, 0.16),
      transparent 34%
    );
}

.report-intro--mission .report-intro__eyebrow {
  color: #3d4f96;
  border-color: rgba(90, 118, 210, 0.16);
  box-shadow: 0 4px 12px rgba(61, 79, 150, 0.08);
}

.report-intro--mission .report-intro__title {
  color: #22305f;
}

.report-intro--mission .report-intro__lead {
  color: #2d3e73;
}

.report-intro--mission .report-intro__highlight {
  border-color: rgba(100, 126, 212, 0.12);
  box-shadow: 0 6px 18px rgba(41, 57, 112, 0.05);
  color: #31436f;
}

.report-intro--mission .report-intro__mode-card {
  border-color: rgba(100, 126, 212, 0.14);
  box-shadow: 0 8px 20px rgba(39, 52, 98, 0.07);
}

.report-intro--mission::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(111, 211, 255, 0.14),
    transparent 70%
  );
  pointer-events: none;
}

@media (max-width: 900px) {
  .page-hero-split {
    grid-template-columns: 1fr;
  }

  #sm-main-card .sm-grid,
  .sm-main-card .sm-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   9) Profil
   ========================================================= */

.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  margin-top: 2rem;
}

.pf-card {
  background: var(--surface, #ffffff);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: var(--shadow, 0 8px 20px rgba(110, 90, 150, 0.12));
}

.pf-card h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .pf-grid {
    grid-template-columns: 1fr;
  }
}

.pf-subscription-block .li-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pf-subscription-block .li-field > label {
  flex: 0 0 auto;
  font-weight: 600;
}

.pf-readonly-value {
  margin: 0;
  flex: 0 0 auto;
  padding: 0.35rem 0.9rem;
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow, 0 8px 20px rgba(110, 90, 150, 0.12));
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .pf-subscription-block .li-field {
    flex-direction: column;
    align-items: flex-start;
  }

  .pf-readonly-value {
    white-space: normal;
  }
}

/* Modal suppression compte */
#pf-delete-account-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

#pf-delete-account-modal.hidden {
  display: none;
}

#pf-delete-account-modal:not(.hidden) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#pf-delete-account-modal .li-auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

#pf-delete-account-modal .li-auth-modal-card {
  position: relative;
  z-index: 1000;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.pf-danger-zone {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(220, 53, 69, 0.25);
  border-radius: 8px;
  background: rgba(220, 53, 69, 0.05);
}

.pf-danger-zone__header h3 {
  margin-bottom: 8px;
  color: #dc3545;
}

.pf-danger-zone__card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.pf-delete-modal__list {
  margin: 12px 0 16px;
  padding-left: 18px;
}

.pf-delete-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

.li-btn-danger {
  background: #dc3545;
  color: #fff;
}

.pf-delete-account-modal-card .li-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
}

/* =========================================================
   10) NuméroPedia
   ========================================================= */

.numeropedia-search-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(6px);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
}

.numeropedia-center {
  width: 100%;
  display: flex;
  justify-content: center;
}

.numeropedia-searchfield {
  width: 100%;
  max-width: 520px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 0.95rem;
  color: #374151;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.numeropedia-searchfield::placeholder {
  color: #9ca3af;
}

.numeropedia-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
}

.np-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  background: transparent;
  border-radius: 18px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.np-filter-btn .icon-filter {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: block;
}

.np-filter-btn:hover,
.np-filter-btn:focus-visible {
  background: rgba(224, 231, 255, 0.6);
  box-shadow: 0 8px 16px rgba(79, 70, 229, 0.18);
  transform: translateY(-2px);
  outline: none;
}

.np-filter-btn.active {
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
}

.np-filter-btn.active .icon-filter {
  transform: scale(1.03);
}

.np-filter-btn--premium {
  background: radial-gradient(circle at 30% 20%, #fef9c3, #fee2e2);
}

.np-filter-btn--premium:hover,
.np-filter-btn--premium:focus-visible {
  background: radial-gradient(circle at 30% 20%, #fef3c7, #fecaca);
  box-shadow: 0 10px 18px rgba(217, 119, 6, 0.35);
}

/* on garde .filter-btn pour le JS */
.filter-btn {
  min-width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.numeropedia_cardbase {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.75rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  color: var(--text-main, #111827);
  box-sizing: border-box;
}

.numeropedia-flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, var(--pastel-blue, #e8f1ff), #f5f3ff);
  border-radius: 999px;
}

.numeropedia-flex-between .flex-center {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.numeropedia-flex-between img {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

.numeropedia_cardbase .titre-paragraphe {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.numeropedia_cardbase .txt-paragraphe {
  color: #4b5563;
}

.numeropedia-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  font-size: 14px;
  text-align: justify;
  padding: 0;
  margin-top: 1.5rem;
}

.popup-info-numeropedia {
  background: linear-gradient(to bottom right, #0b0e26, #6b21a8);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 672px;
  width: 100%;
  margin-left: 16px;
  margin-right: 16px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  color: #f9fafb;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.popup-cat {
  position: relative;
  max-width: 760px;
  width: min(760px, calc(100% - 2rem));
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 2rem 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  box-sizing: border-box;
  max-height: 80vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.number-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1rem;
}

.np-modal-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin: 1.1rem 0 0.4rem;
}

.category-definition {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
  margin: 0;
  text-align: justify;
}

.popup-cat .trait {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1rem 0;
}

body.overflow-hidden {
  overflow: hidden;
}

.numbers-list-numeropedia {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 14px;
  color: #111a2b;
}

.numbers-list-numeropedia > * + * {
  margin-top: 8px;
}

.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px;
  height: 22px;
  width: 21px;
  background: transparent;
  transition: all 0.3s ease;
  border-color: rgba(255, 255, 255, 0);
  box-sizing: border-box;
  cursor: pointer;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 640px) {
  .numeropedia-search-card,
  .numeropedia_cardbase,
  .popup-cat {
    padding: 1.2rem;
  }

  .numeropedia-flex-between {
    flex-wrap: wrap;
    border-radius: 18px;
  }
}

/** EDITO **/

.li-edito2026 {
  margin-top: 10px;
}
.li-edito-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
  padding: 12px;
  border: 1px solid #eee8ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(22, 16, 52, 0.04);
}
.li-edito-tab {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #eee8ff;
  background: linear-gradient(180deg, #fff, #fbf8ff);
  cursor: pointer;
  user-select: none;
  text-align: left;
  flex: 1 1 220px;
  min-height: 64px;
  transition:
    transform 0.08s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}
.li-edito-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(22, 16, 52, 0.06);
  border-color: #e2d9ff;
}
.li-edito-tab[aria-selected="true"] {
  border-color: #d9ccff;
  background: linear-gradient(180deg, #fff, #f3eeff);
  box-shadow: 0 12px 26px rgba(22, 16, 52, 0.08);
}
.li-edito-tab img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #eee8ff;
  background: #fff;
  flex: 0 0 auto;
}
.li-edito-tab .t {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: #2a2152;
}
.li-edito-tab .s {
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.85;
  margin-top: 3px;
}
.li-edito-panel {
  margin-top: 14px;
  border: 1px solid #eee8ff;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(22, 16, 52, 0.04);
  padding: 10px;
}
.li-edito-panel[hidden] {
  display: none !important;
}
.li-edito-panel .page-header {
  margin-top: 8px;
}

.guide-annee-2026 {
  margin: 18px 0;
  border: 1px solid #eee8ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(22, 16, 52, 0.04);
  overflow: hidden;
}

.guide-toggle {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  background: linear-gradient(180deg, #fff, #f7f3ff);
  cursor: pointer;
}

.guide-toggle:hover {
  background: linear-gradient(180deg, #fff, #f0eaff);
}

.guide-content {
  padding: 14px 16px;
}

.guide-toggle::after {
  content: "▾";
  float: right;
  transition: transform 0.2s ease;
}

.guide-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* =========================================================
   11) Rapports numérologiques — styles communs
   ========================================================= */

.report-txt-paragraphe {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #111827;
  text-align: justify;
}

.report-txt-paragraphe + .report-txt-paragraphe {
  margin-top: 0.75rem;
}

.report-block {
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.95),
    rgba(239, 246, 255, 0.96)
  );
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
  padding: 2rem 1.75rem;
  margin-bottom: 2.5rem;
}

.report-block > h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: #0f172a;
}

.sd-subblock {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sd-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.sd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.sd-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: #0f172a;
}

.sd-number {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.sd-number strong {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0f2fe, #fef3c7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-weight: 600;
}

.sd-synthesis {
  background: linear-gradient(
    135deg,
    rgba(254, 249, 195, 0.5),
    rgba(255, 247, 237, 0.95)
  );
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.sd-synthesis::before {
  content: "✶";
  position: absolute;
  top: 0.85rem;
  right: 1.1rem;
  font-size: 1.4rem;
  opacity: 0.25;
}

.sd-synthesis h3 {
  font-size: 18px;
  margin: 0 0 0.6rem;
  color: #92400e;
}

.sd-synthesis .report-txt-paragraphe {
  margin-bottom: 0;
}

.intro-rapport {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(6px);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  #sd-identity,
  #sd-evolution,
  #sd-guidance {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.6fr);
    column-gap: 2rem;
    align-items: flex-start;
  }

  #sd-identity > h2,
  #sd-evolution > h2,
  #sd-guidance > h2 {
    grid-column: 1 / -1;
  }
}

.sd-summary {
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.sd-full {
  font-size: 0.95rem;
  color: #4b5563;
}

.sd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.sd-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.sd-badge {
  display: inline-block;
  background: #f2f5ff;
  color: #3a4a7a;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  min-width: 32px;
  text-align: center;
}

.sd-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sd-details {
  margin-top: 0.4rem;
}

.sd-details > summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
  list-style: none;
}

.sd-details > summary::-webkit-details-marker {
  display: none;
}

.sd-details > summary::before {
  content: "▼ ";
  font-size: 0.75rem;
}

.sd-details[open] > summary::before {
  content: "▲ ";
}

.sd-details .sd-full {
  margin-top: 0.4rem;
}

#sd-integration {
  margin-top: 2.5rem;
}

.sd-integration-intro {
  margin-bottom: 1.5rem;
}

.sd-integration-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sd-badge-vibe {
  font-size: 0.9rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.25);
}

.sd-style-label {
  font-size: 0.9rem;
  color: #4b5563;
}

.sd-style-label .sd-style-tagline {
  font-style: italic;
  opacity: 0.9;
  margin-left: 0.25rem;
}

.report-block-title {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.report-block-icon {
  width: 165px;
  height: 150px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  opacity: 0.95;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: block;
}

.report-block-title h2 {
  margin: 0;
  padding: 0;
  font-size: 1.65rem;
  line-height: 1.2;
  color: #2d3142;
}

@media (max-width: 700px) {
  .report-block {
    padding: 1.25rem;
  }

  .report-block-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-block-icon {
    width: 110px;
    height: auto;
  }
}

/* =========================================================
   Bloc d’introduction premium pour les rapports
   ========================================================= */

.report-intro {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  margin: 0px 0 28px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.72)
    ),
    radial-gradient(
      circle at top left,
      rgba(214, 180, 255, 0.22),
      transparent 42%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 201, 214, 0.2),
      transparent 36%
    );
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 12px 34px rgba(33, 24, 56, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}

.report-intro__media {
  display: flex;
  align-items: stretch;
}

.report-intro__figure {
  position: relative;
  width: 100%;
  min-height: 100%;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(135deg, rgba(151, 71, 255, 0.22), rgba(255, 77, 136, 0.18));
  box-shadow:
    0 10px 28px rgba(67, 36, 104, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-intro__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

.report-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.report-intro__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a2f7f;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(156, 92, 195, 0.18);
  box-shadow: 0 4px 12px rgba(106, 47, 127, 0.08);
}

.report-intro__title {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.15;
  color: #2e183d;
}

.report-intro__lead {
  margin: 0 0 5px;
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 600;
  color: #3a244b;
}

.report-intro__figure--bg {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* pilote la hauteur */
  min-height: 180px;

  border-radius: 20px;
  overflow: hidden;

  background-image: var(--report-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.report-intro__figure--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.12)
    ),
    linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

@media (max-width: 768px) {
  .report-intro__figure--bg {
    aspect-ratio: 16 / 9;
    min-height: 140px;
  }
}

@media (max-width: 640px) {
  .report-intro__media {
    display: none;
  }
}

.report-intro__text,
.report-intro__footer {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.72;
  color: #564268;
}

.report-intro__footer {
  margin-top: 16px;
}

.report-intro__highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin: 10px 0;
}

.report-intro__highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(161, 118, 196, 0.12);
  box-shadow: 0 6px 18px rgba(62, 31, 88, 0.05);
  font-size: 0.88rem;
  color: #3b2951;
}

.report-intro__highlight-icon {
  flex: 0 0 auto;
  font-size: 0.88rem;
  line-height: 1.2;
}

.report-intro__modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.report-intro__mode-card {
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82),
    rgba(255, 255, 255, 0.62)
  );
  border: 1px solid rgba(161, 118, 196, 0.14);
  box-shadow: 0 8px 20px rgba(59, 31, 85, 0.07);
}

.report-intro__mode-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #311d42;
}

.report-intro__mode-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: #5a476d;
}

/* Variante Love */
.report-intro--love {
  position: relative;
}

.report-intro--love::after {
  content: "";
  position: absolute;
  inset: auto 20px 20px auto;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255, 125, 180, 0.16),
    transparent 70%
  );
  pointer-events: none;
}

/* =========================================================
   Variante intro premium sans image
   ========================================================= */

.report-intro--textonly {
  display: block;
  padding: 24px 26px;
}

.report-intro__content--full {
  max-width: 100%;
}

.report-intro--textonly .report-intro__highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-intro--textonly .report-intro__modes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Variante Empreinte */
.report-intro--empreinte {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.93),
      rgba(255, 255, 255, 0.76)
    ),
    radial-gradient(
      circle at top left,
      rgba(126, 87, 255, 0.14),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(120, 210, 255, 0.12),
      transparent 34%
    );
}

.report-intro--empreinte .report-intro__eyebrow {
  color: #4e3a94;
  border-color: rgba(99, 84, 196, 0.16);
  box-shadow: 0 4px 12px rgba(78, 58, 148, 0.08);
}

.report-intro--empreinte .report-intro__title {
  color: #2f2558;
}

.report-intro--empreinte .report-intro__lead {
  color: #3b2f6a;
}

.report-intro--empreinte .report-intro__highlight {
  border-color: rgba(99, 84, 196, 0.12);
  box-shadow: 0 6px 18px rgba(51, 39, 103, 0.05);
  color: #413465;
}

.report-intro--empreinte .report-intro__mode-card {
  border-color: rgba(99, 84, 196, 0.14);
  box-shadow: 0 8px 20px rgba(51, 39, 103, 0.06);
}

.report-intro--empreinte::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(126, 87, 255, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

@media (max-width: 900px) {
  .report-intro--textonly .report-intro__highlights,
  .report-intro--textonly .report-intro__modes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .report-intro--textonly {
    padding: 18px 16px;
  }
}

/* Variante Découverte enfant */
.report-intro--enfant {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.93),
      rgba(255, 255, 255, 0.78)
    ),
    radial-gradient(
      circle at top left,
      rgba(255, 183, 197, 0.14),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(168, 228, 214, 0.14),
      transparent 34%
    );
}

.report-intro--enfant .report-intro__eyebrow {
  color: #9a4d65;
  border-color: rgba(201, 113, 143, 0.16);
  box-shadow: 0 4px 12px rgba(154, 77, 101, 0.08);
}

.report-intro--enfant .report-intro__title {
  color: #5a3144;
}

.report-intro--enfant .report-intro__lead {
  color: #6d4051;
}

.report-intro--enfant .report-intro__highlight {
  border-color: rgba(201, 113, 143, 0.12);
  box-shadow: 0 6px 18px rgba(90, 49, 68, 0.05);
  color: #624454;
}

.report-intro--enfant .report-intro__mode-card {
  border-color: rgba(201, 113, 143, 0.14);
  box-shadow: 0 8px 20px rgba(90, 49, 68, 0.06);
}

.report-intro--enfant::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255, 183, 197, 0.14),
    transparent 70%
  );
  pointer-events: none;
}

/* Variante Guide Annuel */
.report-intro--annual {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.93),
      rgba(255, 255, 255, 0.78)
    ),
    radial-gradient(
      circle at top left,
      rgba(255, 203, 107, 0.16),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(152, 180, 255, 0.14),
      transparent 34%
    );
}

.report-intro--annual .report-intro__eyebrow {
  color: #8a5f1d;
  border-color: rgba(205, 156, 66, 0.16);
  box-shadow: 0 4px 12px rgba(138, 95, 29, 0.08);
}

.report-intro--annual .report-intro__title {
  color: #463117;
}

.report-intro--annual .report-intro__lead {
  color: #664720;
}

.report-intro--annual .report-intro__highlight {
  border-color: rgba(205, 156, 66, 0.12);
  box-shadow: 0 6px 18px rgba(70, 49, 23, 0.05);
  color: #5d4525;
}

.report-intro--annual .report-intro__mode-card {
  border-color: rgba(205, 156, 66, 0.14);
  box-shadow: 0 8px 20px rgba(70, 49, 23, 0.06);
}

.report-intro--annual::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255, 203, 107, 0.14),
    transparent 70%
  );
  pointer-events: none;
}

/* Variante Arbre de Vie */
.report-intro--life-tree {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.93),
      rgba(255, 255, 255, 0.79)
    ),
    radial-gradient(
      circle at top left,
      rgba(146, 205, 170, 0.16),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(186, 159, 120, 0.14),
      transparent 34%
    );
}

.report-intro--life-tree .report-intro__eyebrow {
  color: #4d6e4f;
  border-color: rgba(102, 154, 108, 0.16);
  box-shadow: 0 4px 12px rgba(77, 110, 79, 0.08);
}

.report-intro--life-tree .report-intro__title {
  color: #304536;
}

.report-intro--life-tree .report-intro__lead {
  color: #45604a;
}

.report-intro--life-tree .report-intro__highlight {
  border-color: rgba(102, 154, 108, 0.12);
  box-shadow: 0 6px 18px rgba(48, 69, 54, 0.05);
  color: #425447;
}

.report-intro--life-tree .report-intro__mode-card {
  border-color: rgba(102, 154, 108, 0.14);
  box-shadow: 0 8px 20px rgba(48, 69, 54, 0.06);
}

.report-intro--life-tree::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(146, 205, 170, 0.14),
    transparent 70%
  );
  pointer-events: none;
}

/* Variante Mission & Orientation */
.report-intro--mission-orientation {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.93),
      rgba(255, 255, 255, 0.79)
    ),
    radial-gradient(
      circle at top left,
      rgba(125, 108, 255, 0.16),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 199, 112, 0.14),
      transparent 34%
    );
}

.report-intro--mission-orientation .report-intro__eyebrow {
  color: #4e3a94;
  border-color: rgba(102, 86, 196, 0.16);
  box-shadow: 0 4px 12px rgba(78, 58, 148, 0.08);
}

.report-intro--mission-orientation .report-intro__title {
  color: #30245b;
}

.report-intro--mission-orientation .report-intro__lead {
  color: #43356d;
}

.report-intro--mission-orientation .report-intro__highlight {
  border-color: rgba(102, 86, 196, 0.12);
  box-shadow: 0 6px 18px rgba(48, 36, 91, 0.05);
  color: #463a69;
}

.report-intro--mission-orientation .report-intro__mode-card {
  border-color: rgba(102, 86, 196, 0.14);
  box-shadow: 0 8px 20px rgba(48, 36, 91, 0.06);
}

.report-intro--mission-orientation::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(125, 108, 255, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

/* Variante Relation */
.report-intro--relation {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.93),
      rgba(255, 255, 255, 0.79)
    ),
    radial-gradient(
      circle at top left,
      rgba(255, 171, 192, 0.16),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(155, 193, 255, 0.14),
      transparent 34%
    );
}

.report-intro--relation .report-intro__eyebrow {
  color: #8a4560;
  border-color: rgba(190, 105, 136, 0.16);
  box-shadow: 0 4px 12px rgba(138, 69, 96, 0.08);
}

.report-intro--relation .report-intro__title {
  color: #5a2d41;
}

.report-intro--relation .report-intro__lead {
  color: #6d3d54;
}

.report-intro--relation .report-intro__highlight {
  border-color: rgba(190, 105, 136, 0.12);
  box-shadow: 0 6px 18px rgba(90, 45, 65, 0.05);
  color: #624657;
}

.report-intro--relation .report-intro__mode-card {
  border-color: rgba(190, 105, 136, 0.14);
  box-shadow: 0 8px 20px rgba(90, 45, 65, 0.06);
}

.report-intro--relation::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255, 171, 192, 0.14),
    transparent 70%
  );
  pointer-events: none;
}

/* Variante Self Discovery */
.report-intro--self-discovery {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.93),
      rgba(255, 255, 255, 0.79)
    ),
    radial-gradient(
      circle at top left,
      rgba(173, 149, 255, 0.16),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(143, 217, 208, 0.14),
      transparent 34%
    );
}

.report-intro--self-discovery .report-intro__eyebrow {
  color: #5b4695;
  border-color: rgba(113, 90, 196, 0.16);
  box-shadow: 0 4px 12px rgba(91, 70, 149, 0.08);
}

.report-intro--self-discovery .report-intro__title {
  color: #35285e;
}

.report-intro--self-discovery .report-intro__lead {
  color: #4a3a73;
}

.report-intro--self-discovery .report-intro__highlight {
  border-color: rgba(113, 90, 196, 0.12);
  box-shadow: 0 6px 18px rgba(53, 40, 94, 0.05);
  color: #4c416b;
}

.report-intro--self-discovery .report-intro__mode-card {
  border-color: rgba(113, 90, 196, 0.14);
  box-shadow: 0 8px 20px rgba(53, 40, 94, 0.06);
}

.report-intro--self-discovery::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(173, 149, 255, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

/* =========================================================
   Carte filtre / sélecteur sous intro rapport
   ========================================================= */

.report-filter-card {
  margin: 0 0 32px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.86),
    rgba(255, 255, 255, 0.72)
  );
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    0 10px 28px rgba(40, 28, 65, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.report-filter-card__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.report-filter-card__content {
  min-width: 260px;
  flex: 1 1 320px;
}

.report-filter-card__title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: #2f2142;
}

.report-filter-card__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #5e4b70;
}

.report-filter-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
  .report-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  .report-intro__figure {
    min-height: auto;
    padding: 14px;
  }

  .report-intro__modes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .report-intro {
    margin: 22px 0 28px;
    padding: 16px;
    border-radius: 18px;
  }

  .report-intro__title {
    font-size: 1.45rem;
  }

  .report-intro__lead,
  .report-intro__text,
  .report-intro__footer {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .report-intro__highlight,
  .report-intro__mode-card {
    padding: 12px 13px;
  }
}

/* =========================================================
   12) Partner
   ========================================================= */

/* =========================================================
     * Mise en page spécifique au rapport "Relation"
     * (copie logique de mission-orientation-page)
     * ======================================================= */

.relation-page {
  padding-bottom: 3rem;
}
.relation-page .report-block {
  display: block !important;
}
.relation-page .report-block > * {
  float: none !important;
}

.relation-page .report-block-title {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.relation-page .report-block-icon {
  width: 165px;
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.95;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
  border-radius: 14px;
}

.relation-page .report-block-title h2 {
  margin: 0;
  padding: 0;
  font-size: 1.65rem;
  line-height: 1.2;
  color: #2d3142;
}

.relation-page .re-subblock {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.relation-page .re-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.relation-page .re-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.relation-page .re-header h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #111827;
}

.relation-page .re-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
  min-width: 2.4rem;
  height: 2.4rem;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(79, 70, 229, 0.35);
  background: radial-gradient(circle at top left, #eef2ff, #f5f3ff);
  font-size: 0.9rem;
  font-weight: 600;
  color: #3730a3;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
  white-space: nowrap;
}

.relation-page .re-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-end;
}

.relation-page .re-summary {
  font-size: 0.97rem;
  color: #374151;
  margin: 0.35rem 0 0;
}

.relation-page .re-details {
  margin-top: 0.55rem;
  font-size: 0.95rem;
}
.relation-page .re-details summary {
  cursor: pointer;
  font-weight: 500;
  color: #6b21a8;
  list-style: none;
}
.relation-page .re-details summary::-webkit-details-marker {
  display: none;
}
.relation-page .re-details summary::before {
  content: "▸ ";
  font-size: 0.85em;
}
.relation-page .re-details[open] summary::before {
  content: "▾ ";
}
.relation-page .re-details .re-full {
  margin-top: 0.4rem;
  font-size: 0.94rem;
  line-height: 1.5;
}

.relation-page .re-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.35);
  margin: 0.9rem 0;
}

/* Synthèses en surbrillance */
.relation-page .re-synthesis {
  background: linear-gradient(
    135deg,
    rgba(224, 231, 255, 0.55),
    rgba(245, 243, 255, 0.95)
  );
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.relation-page .re-synthesis::before {
  content: "✶";
  position: absolute;
  top: 0.85rem;
  right: 1.1rem;
  font-size: 1.4rem;
  opacity: 0.25;
}
.relation-page .re-synthesis h3 {
  font-size: 18px;
  margin: 0 0 0.6rem;
  color: #3730a3;
}

/* Alerte si 2e profil absent */
.relation-page .re-alert {
  background: linear-gradient(
    135deg,
    rgba(254, 249, 195, 0.55),
    rgba(255, 247, 237, 0.95)
  );
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  color: #92400e;
}
.relation-page .re-alert strong {
  color: #92400e;
}

.relation-page .re-selector {
  margin: 1rem 0 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.relation-page .re-selector-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.relation-page .re-selector-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.relation-page .re-selector-sub {
  color: #6b7280;
  font-size: 0.92rem;
}

.relation-page .re-selector-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.relation-page .re-selector-select {
  min-width: 280px;
  max-width: 520px;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  color: #111827;
  outline: none;
}

.relation-page .re-selector-select:focus {
  border-color: rgba(79, 70, 229, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16);
}

@media (max-width: 640px) {
  .relation-page .report-filter-card__content {
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
  }

  .relation-page .re-selector-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .relation-page .re-selector-left,
  .relation-page .re-selector-right {
    width: 100%;
    min-width: 0;
  }

  .relation-page .re-selector-left {
    gap: 0.15rem;
    width: 100%;
  }

  .relation-page .re-selector-right {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .relation-page .re-selector-sub {
    margin-bottom: 0;
  }

  .relation-page .re-selector-select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .relation-page #re-create-profile-link {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal !important;
  }
}

.relation-page .re-selector-empty {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(254, 249, 195, 0.55),
    rgba(255, 247, 237, 0.95)
  );
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #92400e;
}

/* =========================================================
    * Comparatif 2 colonnes (A vs B)
    * ======================================================= */

.relation-page .re-compare {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.relation-page .re-compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(
    135deg,
    rgba(224, 231, 255, 0.55),
    rgba(245, 243, 255, 0.95)
  );
}

.relation-page .re-compare-person {
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.relation-page .re-compare-person + .re-compare-person {
  border-left: 1px solid rgba(148, 163, 184, 0.25);
}

.relation-page .re-compare-name {
  font-weight: 800;
  color: #111827;
}

.relation-page .re-compare-sub {
  font-size: 0.92rem;
  color: #6b7280;
  font-weight: 500;
}

.relation-page .re-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.relation-page .re-compare-col {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.relation-page .re-compare-col + .re-compare-col {
  border-left: 1px solid rgba(148, 163, 184, 0.25);
}

.relation-page .re-compare-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.relation-page .re-compare-label {
  color: #111827;
  font-weight: 650;
  font-size: 0.95rem;
}

.relation-page .re-compare-help {
  margin-top: 0.15rem;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.35;
}

.relation-page .re-compare-value {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .relation-page .re-compare-head,
  .relation-page .re-compare-grid {
    grid-template-columns: 1fr;
  }
  .relation-page .re-compare-person + .re-compare-person,
  .relation-page .re-compare-col + .re-compare-col {
    border-left: none;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
  }
}
/* --- Summary + bouton info dans comparatif --- */
.relation-page .re-compare-summary {
  margin-top: 0.25rem;
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.35;
}

.relation-page .re-info-btn {
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: radial-gradient(circle at top left, #ecfdf5, #d1fae5);
  color: #047857;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1);
}

.relation-page .re-info-btn:hover {
  transform: translateY(-1px);
}

/* --- Modal --- */
.relation-page .re-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.relation-page .re-modal[aria-hidden="false"] {
  display: flex;
}

.relation-page .re-modal-card {
  width: min(720px, 90vw);
  max-height: 85vh;
  overflow: auto;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.relation-page .re-modal-head {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.relation-page .re-modal-title {
  font-weight: 800;
  color: #111827;
  font-size: 1.05rem;
}

.relation-page .re-modal-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  color: #6b7280;
}

.relation-page .re-modal-body {
  padding: 1rem 1.2rem 1.2rem;
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: justify;
}

.relation-page .re-syn-group .re-summary {
  margin: 0.1rem 0 0.35rem;
}

/******** Partner popup ********/
.partner-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  z-index: 9999;
}

.partner-popup {
  position: relative;
  width: min(560px, 92vw);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface, #ffffff);
  border-radius: 14px;
  padding: 20px 22px 22px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.partner-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.partner-popup-header .h2-cat-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.partner-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.partner-field .form-label {
  font-size: 13px;
  font-weight: 500;
  color: #e6e6e6;
}

.partner-input {
  background: #d8e4f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 9px 10px;
  color: #000000;
  font-size: 14px;
}

.partner-input:focus {
  border-color: #f0c674;
  outline: none;
}

.partner-popup .small-hint {
  margin-top: 10px;
  font-size: 13px;
  color: #f0c674;
}

/* Liste partenaires */
.partner-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
}

.partner-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: rgba(105, 105, 105, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.partner-table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.partner-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

.partner-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.partner-table tbody tr:last-child td {
  border-bottom: none;
}

.partner-table td:last-child {
  white-space: nowrap;
}

.partner-table .row-actions {
  display: inline-flex;
  gap: 8px;
}

.partner-table .btn-edit-partner,
.partner-table .btn-supp {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 4px;
  color: #ffffff;
}

.partner-table .btn-edit-partner:hover {
  color: #f0c674;
}

.partner-table .btn-supp:hover {
  color: #ff6b6b;
}

.partner-table .badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11.5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.partner-table .badge-gold {
  background: linear-gradient(135deg, #f0c674, #d9a441);
  color: #1a1a1a;
}

@media (max-width: 720px) {
  .partner-table {
    font-size: 13px;
  }

  .partner-table thead th,
  .partner-table tbody td {
    padding: 8px 10px;
  }
}

/* =========================================================
   13) Contact
   ========================================================= */

.split.form-right .texte {
  width: 100%;
  min-width: 0;
}

.split.form-right .texte .li-contact-form {
  width: 100%;
  max-width: none;
}

.split.form-right .texte .li-field {
  width: 100%;
  max-width: none;
}

.split.form-right .texte textarea#contact_message {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

.li-contact-form .li-field {
  margin: 12px 0;
}

.li-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 860px) {
  .li-field-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   14) Guide Annuel — styles mutualisés pages.css
   ========================================================= */

/* Page */
.annuel-guide-page {
  padding-bottom: 40px;
}

/* ---------------------------------------------------------
   Intro / filtres
   --------------------------------------------------------- */
.guide-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  margin-top: 18px;
}

.guide-filters--annual {
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

.guide-filters .filter-field {
  flex: 1 1 220px;
  min-width: 200px;
}

.guide-label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--li-text-muted, #555);
}

.guide-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--li-border, #ddd);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.guide-select:focus {
  outline: none;
  border-color: var(--li-accent, #7b5cff);
  box-shadow: 0 0 0 2px rgba(123, 92, 255, 0.15);
}

.guide-filters .filter-actions {
  display: flex;
  align-items: flex-end;
}

.guide-filters .filter-actions .li-btn {
  margin-top: 4px;
  white-space: nowrap;
}

.guide-filters-text {
  flex: 2 1 260px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--li-text-muted, #666);
}

/* ---------------------------------------------------------
   Layout global du rapport
   --------------------------------------------------------- */
.guide-layout {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.guide-layout--annual {
  grid-template-columns: minmax(0, 1fr);
}

.guide-layout.is-empty .guide-section {
  display: none;
}

.guide-layout.is-loading {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
}

.guide-layout.is-loading::after {
  content: "Chargement du Guide Annuel...";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  font-size: 14px;
  font-weight: 500;
  color: var(--li-text-muted, #666);
}

/* ---------------------------------------------------------
   Cartes / sections
   --------------------------------------------------------- */
.guide-section {
  padding: 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.guide-section + .guide-section {
  margin-top: 4px;
}

.guide-section h2,
.guide-section h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.guide-section .section-summary {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--li-text-muted, #666);
}

.guide-section .section-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

/* ---------------------------------------------------------
   Structure interne d’une section
   --------------------------------------------------------- */
.guide-section-inner {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
}

.guide-section-body {
  min-width: 0;
}

.guide-section-illu {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  flex-shrink: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.35),
      transparent 60%
    ),
    linear-gradient(135deg, #171a2e, #262b4a);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* ---------------------------------------------------------
   Variantes d’illustrations
   --------------------------------------------------------- */
.guide-section-illu--overview {
  background-image: url("/assets/images/rapports/guide_overview_h160.png");
}

.guide-section-illu--keywords {
  background-image: url("/assets/images/rapports/guide_frequency_h160.png");
}

.guide-section-illu--evolution {
  background-image: url("/assets/images/rapports/guide_evolution_h160.png");
}

.guide-section-illu--challenge {
  background-image: url("/assets/images/rapports/guide_challenge_h160.png");
}

.guide-section-illu--opportunities {
  background-image: url("/assets/images/rapports/guide_opportunity_h160.png");
}

.guide-section-illu--rhythm {
  background-image: url("/assets/images/rapports/guide_rythme_h160.png");
}

.guide-section-illu--alignment {
  background-image: url("/assets/images/rapports/guide_alignment_h160.png");
}

.guide-section-illu--badge {
  background-image: url("/assets/images/rapports/guide_badge_h160.png");
}

.guide-section-illu--summary {
  background-image: url("/assets/images/rapports/guide_conclusion_h160.png");
}

/* ---------------------------------------------------------
   Bloc badge vibratoire
   --------------------------------------------------------- */
.guide-section--badge .guide-badge-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-section--badge .guide-badge-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  margin-bottom: 4px;
  border-radius: 999px;
  background: rgba(123, 92, 255, 0.09);
  color: var(--li-accent, #7b5cff);
  font-size: 13px;
  font-weight: 600;
}

.guide-section--badge .guide-badge-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   État vide
   --------------------------------------------------------- */
.guide-empty {
  max-width: 720px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  text-align: left;
}

.guide-empty--annual p {
  margin: 0;
}

.guide-empty strong {
  font-weight: 600;
}

/* ---------------------------------------------------------
   Tablette / mobile
   --------------------------------------------------------- */
@media (max-width: 900px) {
  .guide-section {
    padding: 18px 18px;
  }

  .guide-section-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-section-illu {
    justify-self: center;
    width: min(160px, 100%);
    height: 160px;
  }

  .guide-section-body {
    width: 100%;
  }

  .guide-section h2,
  .guide-section h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .guide-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .guide-filters--annual {
    padding: 14px;
  }

  .guide-filters .filter-field {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }

  .guide-filters .filter-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .guide-filters .filter-actions .li-btn {
    width: 100%;
    white-space: normal;
  }

  .guide-filters-text {
    flex: 1 1 100%;
    width: 100%;
  }

  .guide-layout {
    gap: 18px;
    margin-top: 24px;
  }

  .guide-section {
    padding: 16px;
    border-radius: 10px;
  }

  .guide-section h2,
  .guide-section h3 {
    font-size: 16px;
    line-height: 1.35;
  }

  .guide-section .section-summary,
  .guide-section .section-body,
  .guide-section--badge .guide-badge-text {
    font-size: 14px;
  }

  .guide-section-illu {
    width: 140px;
    height: 140px;
  }

  .guide-empty {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .annuel-guide-page {
    padding-bottom: 28px;
  }

  .guide-filters {
    gap: 12px;
  }

  .guide-label,
  .guide-select,
  .guide-section .section-summary,
  .guide-section .section-body,
  .guide-section--badge .guide-badge-text {
    font-size: 13px;
  }

  .guide-section h2,
  .guide-section h3 {
    font-size: 15px;
  }

  .guide-section-illu {
    width: 128px;
    height: 128px;
    border-radius: 10px;
  }

  .guide-empty {
    margin-top: 18px;
    padding: 14px;
  }
}

/* =========================================================
   15) Helpers locaux conservés
   ========================================================= */

.li-chip.total {
  background: #d8e4f0;
  color: #1b3a57;
  font-weight: 700;
}
