/* Assemblé par tools/build-assets.php depuis assets/css/fiche-prenom.css — ne pas éditer. */
/* ---- Fondations ---- */
/* ---- ./design-system/_tokens.css ---- */
.cp-app {
  /* ---- Palette principale ---- */
  --cp-color-primary:         #D4553A; 
  --cp-color-secondary:       #3F8780; 
  --cp-color-text-body:       #5C5650; 
  --cp-color-text-heading:    #3B2A24; 
  --cp-color-bg:              #FBF6F0; 
  --cp-color-bg-soft:         #F5EDE3; 
  /* ---- Palette dérivée ---- */
  --cp-color-success:         #3F8780;
  --cp-color-error:           #E84A4A;
  --cp-color-warning:         #F5C462;
  --cp-color-info-bg:         #E6F0EE;
  --cp-color-favorite:        #D4553A;
  --cp-color-vote-up:         #3F8780;
  --cp-color-vote-down:       #B8B8B8;
  /* ---- Teintes dérivées (usage interne composants) ---- */
  --cp-color-primary-light:   #FBE3D5; 
  --cp-color-primary-dark:    #B8442C; 
  --cp-color-secondary-light: #C8E2DF; 
  --cp-color-secondary-dark:  #34736D; 
  --cp-color-text-muted:      #888780; 
  --cp-color-border:          #ECE3D6; 
  --cp-color-border-focus:    #3F8780; 
  --cp-color-border-strong:   #B5AB9D; 
  --cp-color-ink:             #2C2C2A; 
  /* ---- Dégradés organiques ---- */
  --cp-gradient-warm:          linear-gradient(135deg, #FBF6F0 0%, #F5EDE3 100%);
  --cp-gradient-teal-soft:     linear-gradient(135deg, #FFFFFF 0%, #E6F2F0 100%);
  --cp-gradient-orange-soft:   linear-gradient(140deg, #FBE6D3 0%, #F7D3C3 100%);
  --cp-gradient-primary-btn:   linear-gradient(135deg, #D4553A 0%, #D4553A 100%); 
  --cp-gradient-sparkline:     linear-gradient(90deg, #B8DDD9 0%, #6BBAAF 100%);
  --cp-gradient-rarity:        linear-gradient(90deg, #6BBAAF 0%, #B8DDD9 33%, #F5C462 66%, #D4553A 100%);
  /* ---- Typographies ---- */
  --cp-font-display: 'Caveat', cursive; 
  --cp-font-body:    'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
  --cp-font-data:    'Lato', system-ui, sans-serif; 
  /* ---- Échelle typographique ---- */
  --cp-text-xs:      11px;
  --cp-text-sm:      13px;
  --cp-text-base:    16px;
  --cp-text-md:      18px;
  --cp-text-lg:      20px;
  --cp-text-xl:      24px;
  --cp-text-2xl:     32px;
  --cp-text-3xl:     40px;
  --cp-text-4xl:     48px;
  --cp-text-display: 64px;
  /* ---- Graisses ---- */
  --cp-weight-regular:  400;
  --cp-weight-medium:   500;
  --cp-weight-semibold: 600;
  --cp-weight-bold:     700;
  /* ---- Hauteurs de ligne ---- */
  --cp-leading-tight:   1.2;
  --cp-leading-snug:    1.35;
  --cp-leading-normal:  1.5;
  --cp-leading-relaxed: 1.6;
  /* ---- Élévation (ombres) ---- */
  --cp-shadow-xs:         0 1px 2px rgba(0, 0, 0, 0.04);
  --cp-shadow-sm:         0 2px 6px rgba(0, 0, 0, 0.05);
  --cp-shadow-md:         0 4px 12px rgba(59, 42, 36, 0.07);
  --cp-shadow-lg:         0 12px 32px rgba(0, 0, 0, 0.06);
  --cp-shadow-card-hover: 0 18px 40px rgba(59, 42, 36, 0.12), 0 3px 8px rgba(59, 42, 36, 0.05);
  --cp-shadow-focus-ring: 0 0 0 4px rgba(63, 135, 128, 0.20);
  /* ---- Border-radius ---- */
  --cp-radius-sm:   8px;
  --cp-radius-md:   12px;
  --cp-radius-lg:   16px;
  --cp-radius-xl:   24px;
  --cp-radius-pill: 999px;
  /* ---- Espacement ---- */
  --cp-space-1:   4px;
  --cp-space-2:   8px;
  --cp-space-3:   12px;
  --cp-space-4:   16px;
  --cp-space-5:   20px;
  --cp-space-6:   24px;
  --cp-space-7:   28px;
  --cp-space-8:   32px;
  --cp-space-10:  40px;
  --cp-space-12:  48px;
  --cp-space-16:  64px;
  --cp-space-24:  96px;
  --cp-space-32:  128px;
  /* ---- Animation timing ---- */
  --cp-ease-organic:       cubic-bezier(0.4, 0, 0.2, 1);
  --cp-ease-out-back:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --cp-ease-in-out:        cubic-bezier(0.4, 0, 0.6, 1);
  --cp-duration-micro:     200ms;
  --cp-duration-short:     400ms;
  --cp-duration-medium:    600ms;
  --cp-duration-narrative: 700ms;
  --cp-duration-long:      1000ms;
  /* ---- Z-index ---- */
  --cp-z-base:     1;
  --cp-z-dropdown: 100;
  --cp-z-sticky:   200;
  --cp-z-overlay:  300;
  --cp-z-modal:    400;
  --cp-z-toast:    500;
  /* ---- Layout ---- */
  --cp-sidebar-width:  300px;
  --cp-header-height:  80px;
  --cp-container-max:  1280px;
  --cp-content-max:    720px;
}
/* ---- ./design-system/_base.css ---- */
.cp-app {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-base);
  line-height: var(--cp-leading-normal);
  color: var(--cp-color-text-body);
  background-color: var(--cp-color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  width: 100%;
}
.cp-app *,
.cp-app *::before,
.cp-app *::after {
  box-sizing: border-box;
}
/* ---- Typographie ---- */
.cp-app h1,
.cp-app h2,
.cp-app h3,
.cp-app h4,
.cp-app h5,
.cp-app h6 {
  font-family: var(--cp-font-display);
  color: var(--cp-color-text-heading);
  line-height: var(--cp-leading-tight);
  font-weight: var(--cp-weight-bold);
  margin: 0;
}
.cp-app p {
  margin: 0;
  line-height: var(--cp-leading-relaxed);
}
.cp-app a:not(.cp-button) {
  color: var(--cp-color-primary);
  text-decoration: none;
  transition: opacity var(--cp-duration-micro) var(--cp-ease-organic);
}
.cp-app a:not(.cp-button):hover {
  opacity: 0.78;
}
/* ---- Éléments courants ---- */
.cp-app img,
.cp-app svg {
  display: block;
  max-width: 100%;
}
.cp-app ul,
.cp-app ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cp-app button:not(.cp-button) {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  padding: 0;
  line-height: 1;
}
.cp-app button:not(.cp-button):disabled {
  cursor: not-allowed;
}
.cp-app input,
.cp-app select,
.cp-app textarea {
  font-family: var(--cp-font-body);
  font-size: inherit;
  line-height: inherit;
}
/* ---- Accessibilité ---- */
.cp-app .cp-skip-link {
  position: absolute;
  top: -48px;
  left: var(--cp-space-4);
  z-index: calc(var(--cp-z-toast) + 10);
  background: var(--cp-color-secondary);
  color: white;
  padding: var(--cp-space-2) var(--cp-space-4);
  border-radius: 0 0 var(--cp-radius-sm) var(--cp-radius-sm);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-semibold);
  text-decoration: none;
  white-space: nowrap;
  transition: top 150ms ease;
}
.cp-app .cp-skip-link:focus {
  top: 0;
  outline: 2px solid white;
  outline-offset: 2px;
}
.cp-app .cp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cp-app :focus-visible {
  outline: 2px solid var(--cp-color-border-focus);
  outline-offset: 3px;
  border-radius: var(--cp-radius-sm);
  box-shadow: var(--cp-shadow-focus-ring);
}
/* ---- Classes utilitaires ---- */
.cp-app .cp-container {
  width: 100%;
  max-width: var(--cp-container-max);
  margin-inline: auto;
  padding-inline: var(--cp-space-4);
}
@media (min-width: 768px) {
  .cp-app .cp-container {
    padding-inline: var(--cp-space-6);
  }
}
@media (min-width: 1024px) {
  .cp-app .cp-container {
    padding-inline: var(--cp-space-8);
  }
}
.cp-app .cp-text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cp-app .cp-font-data {
  font-family: var(--cp-font-data);
  font-variant-numeric: tabular-nums;
}
.cp-app .cp-font-display {
  font-family: var(--cp-font-display);
}
.cp-app .cp-divider {
  border: none;
  border-top: 1px solid var(--cp-color-border);
  margin: var(--cp-space-6) 0;
}
/* ---- Composants génériques réutilisés ---- */
/* ---- ./design-system/components/_buttons.css ---- */
.cp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cp-space-2);
  padding: 14px 24px;
  border-radius: var(--cp-radius-pill); 
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-base);
  font-weight: var(--cp-weight-bold);
  line-height: 1;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--cp-duration-micro) var(--cp-ease-organic),
    box-shadow var(--cp-duration-micro) var(--cp-ease-organic),
    background var(--cp-duration-micro) var(--cp-ease-organic),
    border-color var(--cp-duration-micro) var(--cp-ease-organic),
    opacity var(--cp-duration-micro) var(--cp-ease-organic);
  -webkit-user-select: none;
  user-select: none;
}
/* ---- Primary ---- */
.cp-button--primary {
  background: var(--cp-color-primary);
  color: white;
  border: 1px solid transparent;
}
.cp-button--primary:hover,
.cp-button--primary:focus-visible {
  background: var(--cp-color-primary-dark);
  color: white;
}
.cp-button--primary:active {
  opacity: .92;
}
/* ---- Secondary ---- */
.cp-button--secondary {
  background: transparent;
  color: var(--cp-color-ink);
  border: 1px solid var(--cp-color-border-strong);
}
.cp-button--secondary:hover,
.cp-button--secondary:focus-visible {
  background: var(--cp-color-bg-soft);
  color: var(--cp-color-ink);
}
/* ---- Ghost ---- */
.cp-button--ghost {
  background: transparent;
  color: var(--cp-color-text-body);
  border: 1px solid var(--cp-color-border);
}
.cp-button--ghost:hover,
.cp-button--ghost:focus-visible {
  background: var(--cp-color-bg-soft);
  color: var(--cp-color-ink);
}
/* ---- Text link ---- */
.cp-button--text-link {
  background: transparent;
  color: var(--cp-color-primary);
  padding: 0;
  font-weight: var(--cp-weight-medium);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow: visible;
}
.cp-button--text-link:hover {
  opacity: 0.72;
}
/* ---- États transversaux ---- */
.cp-button:disabled,
.cp-button[aria-disabled="true"] {
  opacity: 0.40;
  cursor: not-allowed;
  pointer-events: none;
}
.cp-button--loading {
  pointer-events: none;
  color: transparent;
}
.cp-button--loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: cp-button-spin var(--cp-duration-narrative) linear infinite;
}
.cp-button--primary.cp-button--loading::after {
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: white;
}
.cp-button--secondary.cp-button--loading::after,
.cp-button--ghost.cp-button--loading::after {
  border-color: rgba(212, 85, 58, 0.25);
  border-top-color: var(--cp-color-primary);
}
@keyframes cp-button-spin {
  to { transform: rotate(360deg); }
}
/* ---- Tailles ---- */
.cp-button--sm {
  padding: 10px 20px;
  font-size: var(--cp-text-sm);
  border-radius: 6px;
}
.cp-button--lg {
  padding: 18px 40px;
  font-size: var(--cp-text-md);
  border-radius: var(--cp-radius-md);
}
.cp-button--full {
  width: 100%;
  justify-content: center;
}
/* ---- ./design-system/components/_inputs.css ---- */
/* ---- Wrapper ---- */
.cp-input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}
/* ---- Champ de saisie ---- */
.cp-input {
  width: 100%;
  padding: 18px var(--cp-space-4) 10px;
  border: 1.5px solid var(--cp-color-border);
  border-radius: var(--cp-radius-sm);
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-base);
  color: var(--cp-color-text-heading);
  background: white;
  outline: none;
  transition:
    border-color var(--cp-duration-micro) var(--cp-ease-organic),
    box-shadow var(--cp-duration-micro) var(--cp-ease-organic);
  caret-color: var(--cp-color-secondary);
}
.cp-input::placeholder {
  color: transparent;
}
/* ---- Label flottant ---- */
.cp-input-group__label {
  position: absolute;
  left: var(--cp-space-4);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-base);
  color: var(--cp-color-text-muted);
  pointer-events: none;
  transition:
    top var(--cp-duration-micro) var(--cp-ease-organic),
    transform var(--cp-duration-micro) var(--cp-ease-organic),
    font-size var(--cp-duration-micro) var(--cp-ease-organic),
    color var(--cp-duration-micro) var(--cp-ease-organic);
  background: transparent;
  padding: 0 4px;
  line-height: 1;
}
.cp-input:focus ~ .cp-input-group__label,
.cp-input:not(:placeholder-shown) ~ .cp-input-group__label {
  top: 10px;
  transform: translateY(0);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-secondary);
  background: white;
}
/* ---- Focus ---- */
.cp-input:focus {
  border-color: var(--cp-color-border-focus);
  box-shadow: var(--cp-shadow-focus-ring);
}
.cp-app .cp-input:focus-visible {
  outline: none;
  box-shadow: var(--cp-shadow-focus-ring);
}
/* ---- États sémantiques ---- */
.cp-input-group--error .cp-input {
  border-color: var(--cp-color-error);
}
.cp-input-group--error .cp-input:focus {
  box-shadow: 0 0 0 4px rgba(232, 74, 74, 0.15);
}
.cp-input-group--error .cp-input-group__label,
.cp-input-group--error .cp-input:focus ~ .cp-input-group__label,
.cp-input-group--error .cp-input:not(:placeholder-shown) ~ .cp-input-group__label {
  color: var(--cp-color-error);
}
.cp-input-group--success .cp-input {
  border-color: var(--cp-color-success);
}
.cp-input-group--success .cp-input:focus {
  box-shadow: 0 0 0 4px rgba(63, 135, 128, 0.15);
}
/* ---- Message d'aide / erreur ---- */
.cp-input-group__hint {
  margin-top: var(--cp-space-1);
  padding: 0 var(--cp-space-4);
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  line-height: 1.4;
}
.cp-input-group--error .cp-input-group__hint {
  color: var(--cp-color-error);
}
/* ---- Désactivé ---- */
.cp-input:disabled {
  background: var(--cp-color-bg-soft);
  color: var(--cp-color-text-muted);
  cursor: not-allowed;
}
/* ---- ./design-system/components/_chips.css ---- */
.cp-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--cp-radius-pill);
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-medium);
  line-height: 1.5;
  white-space: nowrap;
  background: var(--cp-color-bg-soft);
  color: var(--cp-color-text-body);
  border: none;
}
.cp-chip--success {
  background: var(--cp-color-info-bg);
  color: var(--cp-color-secondary-dark);
}
.cp-chip--warning {
  background: #FDF5E0;
  color: #9A6E10;
}
.cp-chip--info {
  background: var(--cp-color-info-bg);
  color: var(--cp-color-secondary);
}
.cp-chip--primary {
  background: var(--cp-color-primary-light);
  color: var(--cp-color-primary-dark);
}
.cp-chip--construction {
  background: #FDF5E0;
  color: #9A6E10;
  font-weight: var(--cp-weight-semibold);
}
.cp-chip--sm {
  font-size: var(--cp-text-xs);
  padding: 3px 9px;
  line-height: 1.4;
}
.cp-chip--garcon {
  background: #EBF4FE;
  color: #2868A8;
}
.cp-chip--fille {
  background: #FEF0F5;
  color: #B8366A;
}
.cp-chip--mixte {
  background: var(--cp-color-info-bg);
  color: var(--cp-color-secondary-dark);
}
.cp-chip--rank {
  background: transparent;
  color: var(--cp-color-text-muted);
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  padding: 3px 8px;
  border: 1px solid var(--cp-color-border);
}
/* ---- Chip supprimable (.cp-chip--addable) ---- */
.cp-chip--addable {
  animation: cp-chip-appear var(--cp-duration-micro) var(--cp-ease-out-back) both;
}
@keyframes cp-chip-appear {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.cp-chip--exit {
  animation: cp-chip-exit var(--cp-duration-micro) var(--cp-ease-organic) both;
}
@keyframes cp-chip-exit {
  to {
    opacity: 0;
    transform: scale(0.8);
    max-width: 0;
    padding: 0;
    margin: 0;
  }
}
.cp-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.09);
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  border: none;
  padding: 0;
  color: inherit;
  flex-shrink: 0;
  transition: background var(--cp-duration-micro) var(--cp-ease-organic);
  margin-left: 2px;
}
.cp-chip__remove:hover {
  background: rgba(0, 0, 0, 0.20);
}
.cp-segmented-control {
  display: inline-flex;
  background: var(--cp-color-bg-soft);
  border-radius: var(--cp-radius-pill);
  padding: 4px;
  gap: 2px;
}
.cp-app .cp-segmented-control .cp-segmented-control__option {
  position: relative;
  padding: 8px 18px;
  border-radius: var(--cp-radius-pill);
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-xs);
  font-weight: var(--cp-weight-medium);
  color: var(--cp-color-text-body);
  cursor: pointer;
  border: none;
  background: transparent;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  transition:
    color var(--cp-duration-micro) var(--cp-ease-organic),
    background var(--cp-duration-short) var(--cp-ease-organic),
    box-shadow var(--cp-duration-short) var(--cp-ease-organic);
}
.cp-app .cp-segmented-control .cp-segmented-control__option--active,
.cp-app .cp-segmented-control .cp-segmented-control__option[aria-selected="true"],
.cp-app .cp-segmented-control .cp-segmented-control__option[aria-pressed="true"] {
  background: white;
  color: var(--cp-color-text-heading);
  font-weight: var(--cp-weight-semibold);
  box-shadow: var(--cp-shadow-sm);
}
.cp-app .cp-segmented-control .cp-segmented-control__option:hover:not(.cp-segmented-control__option--active):not([aria-selected="true"]) {
  color: var(--cp-color-text-heading);
}
.cp-segmented-control--full {
  width: 100%;
}
.cp-app .cp-segmented-control--full .cp-segmented-control__option {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  font-size: 0.813rem;
}
.cp-chip--rang-sexe {
  background: var(--cp-color-primary-light);
  color: var(--cp-color-primary-dark);
  font-weight: var(--cp-weight-bold);
}
.cp-chip--rank sup {
  font-size: .7em;
  line-height: 0;
}
.cp-app .cp-chip.cp-chip--rank {
  gap: 0;
}
/* ---- ./design-system/components/_cards.css ---- */
.cp-card {
  background: white;
  border-radius: var(--cp-radius-md);
  box-shadow: var(--cp-shadow-sm);
  padding: var(--cp-space-6);
}
.cp-card--bordered {
  box-shadow: none;
  border: 1px solid var(--cp-color-border);
}
.cp-card--soft {
  background: var(--cp-color-bg-soft);
  box-shadow: none;
}
.cp-card--gradient-warm {
  background: var(--cp-gradient-warm);
  box-shadow: none;
}
.cp-card--gradient-teal {
  background: var(--cp-gradient-teal-soft);
  box-shadow: none;
}
.cp-card--compact {
  padding: var(--cp-space-4);
}
.cp-card--loose {
  padding: var(--cp-space-8);
}
/* ---- En-tête de card ---- */
.cp-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--cp-space-4);
}
.cp-card__title {
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-xl);
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-text-heading);
}
.cp-card__subtitle {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
  margin-top: 2px;
}
/* ---- Séparateur interne ---- */
.cp-card__divider {
  border: none;
  border-top: 1px solid var(--cp-color-border);
  margin: var(--cp-space-4) calc(-1 * var(--cp-space-6));
}
.cp-card--compact .cp-card__divider {
  margin: var(--cp-space-3) calc(-1 * var(--cp-space-4));
}
/* ---- ./design-system/components/_badges.css ---- */
.cp-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--cp-radius-pill);
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-xs);
  font-weight: var(--cp-weight-semibold);
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: middle;
}
/* ---- Variantes sémantiques ---- */
.cp-badge--primary {
  background: var(--cp-color-primary-light);
  color: var(--cp-color-primary-dark);
}
.cp-badge--success {
  background: var(--cp-color-secondary-light);
  color: var(--cp-color-secondary-dark);
}
.cp-badge--warning {
  background: #FDF5E0;
  color: #9A6E10;
}
.cp-badge--error {
  background: #FDEAEA;
  color: #C03030;
}
.cp-badge--neutral {
  background: var(--cp-color-bg-soft);
  color: var(--cp-color-text-body);
}
/* ---- Badge compteur (chiffre seul, circulaire) ---- */
.cp-badge--count {
  background: var(--cp-color-primary);
  color: white;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  justify-content: center;
  font-size: 11px;
  font-weight: var(--cp-weight-bold);
  letter-spacing: -0.01em;
}
.cp-badge--count-secondary {
  background: var(--cp-color-secondary);
  color: white;
}
/* ---- Badge "Prénom rare" (avec pulsation) ---- */
.cp-badge--rare {
  background: #FDF5E0;
  color: #9A6E10;
  animation: cp-badge-pulse 2s ease-in-out infinite;
}
@keyframes cp-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
/* ---- Badge point (indicateur statut) ---- */
.cp-badge--dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  padding: 0;
  min-width: 0;
}
.cp-badge--dot.cp-badge--success {
  background: var(--cp-color-success);
}
.cp-badge--dot.cp-badge--error {
  background: var(--cp-color-error);
}
.cp-badge--dot.cp-badge--warning {
  background: var(--cp-color-warning);
}
/* ---- ./design-system/components/_toast.css ---- */
/* ---- Container positionné ---- */
.cp-toast-container {
  position: fixed;
  z-index: var(--cp-z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-3);
  pointer-events: none;
  bottom: var(--cp-space-6);
  right: var(--cp-space-6);
  max-width: 380px;
  width: calc(100vw - 48px);
}
@media (max-width: 767px) {
  .cp-toast-container {
    bottom: var(--cp-space-4);
    right: var(--cp-space-4);
    left: var(--cp-space-4);
    max-width: none;
    width: auto;
  }
}
/* ---- Toast individuel ---- */
.cp-toast {
  background: white;
  border-radius: var(--cp-radius-md);
  box-shadow: var(--cp-shadow-lg);
  padding: var(--cp-space-4);
  padding-left: calc(var(--cp-space-4) + 4px);
  border-left: 4px solid var(--cp-color-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--cp-space-3);
  pointer-events: all;
  animation: cp-toast-in var(--cp-duration-short) var(--cp-ease-out-back) both;
}
.cp-toast--exit {
  animation: cp-toast-out var(--cp-duration-short) var(--cp-ease-organic) both;
}
@keyframes cp-toast-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cp-toast-out {
  0% {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
    margin-bottom: 0;
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
    max-height: 0;
    margin-bottom: calc(-1 * var(--cp-space-3));
    padding-top: 0;
    padding-bottom: 0;
  }
}
/* ---- Variantes de couleur (bordure gauche) ---- */
.cp-toast--success { border-left-color: var(--cp-color-success); }
.cp-toast--error   { border-left-color: var(--cp-color-error); }
.cp-toast--warning { border-left-color: var(--cp-color-warning); }
.cp-toast--info    { border-left-color: var(--cp-color-secondary); }
/* ---- Contenu ---- */
.cp-toast__body {
  flex: 1;
  min-width: 0;
}
.cp-toast__title {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-semibold);
  color: var(--cp-color-text-heading);
  line-height: 1.4;
  margin-bottom: 3px;
}
.cp-toast__text {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-snug);
}
.cp-toast__link {
  color: var(--cp-color-primary);
  font-weight: var(--cp-weight-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
/* ---- Bouton fermer ---- */
.cp-toast__close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cp-radius-sm);
  color: var(--cp-color-text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition:
    background var(--cp-duration-micro) var(--cp-ease-organic),
    color var(--cp-duration-micro) var(--cp-ease-organic);
  margin-top: -1px;
}
.cp-toast__close:hover {
  background: var(--cp-color-bg-soft);
  color: var(--cp-color-text-heading);
}
/* ---- ./design-system/components/_modal.css ---- */
/* ---- Overlay ---- */
.cp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--cp-z-modal);
  background: rgba(45, 45, 45, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--cp-space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--cp-duration-short) var(--cp-ease-organic);
}
.cp-modal-overlay--visible {
  opacity: 1;
  pointer-events: all;
}
/* ---- Container de la modale ---- */
.cp-modal {
  background: white;
  border-radius: var(--cp-radius-lg);
  max-width: 600px;
  width: 100%;
  padding: var(--cp-space-8);
  box-shadow: var(--cp-shadow-lg);
  position: relative;
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  transform: scale(0.94);
  transition: transform var(--cp-duration-short) var(--cp-ease-out-back);
}
.cp-modal-overlay--visible .cp-modal {
  transform: scale(1);
}
/* ---- En-tête ---- */
.cp-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--cp-space-4);
  margin-bottom: var(--cp-space-6);
}
.cp-modal__title {
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-2xl);
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-text-heading);
  line-height: 1.15;
}
.cp-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cp-radius-sm);
  color: var(--cp-color-text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  transition:
    background var(--cp-duration-micro) var(--cp-ease-organic),
    color var(--cp-duration-micro) var(--cp-ease-organic);
  margin-top: -2px;
}
.cp-modal__close:hover {
  background: var(--cp-color-bg-soft);
  color: var(--cp-color-text-heading);
}
/* ---- Corps ---- */
.cp-modal__body {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-base);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-relaxed);
}
/* ---- Footer ---- */
.cp-modal__footer {
  display: flex;
  gap: var(--cp-space-3);
  justify-content: flex-end;
  margin-top: var(--cp-space-6);
  padding-top: var(--cp-space-6);
  border-top: 1px solid var(--cp-color-border);
  flex-wrap: wrap;
}
@media (max-width: 479px) {
  .cp-modal {
    padding: var(--cp-space-6);
    border-radius: var(--cp-radius-lg) var(--cp-radius-lg) 0 0;
    max-height: 85dvh;
    width: 100%;
  }
  .cp-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .cp-modal__footer {
    flex-direction: column-reverse;
  }
  .cp-modal__footer .cp-button {
    width: 100%;
    justify-content: center;
  }
}
/* ---- Variante pleine hauteur (modale filtres mobile) ---- */
.cp-modal--fullscreen {
  max-width: 100%;
  max-height: 100dvh;
  border-radius: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.cp-modal--fullscreen .cp-modal__body {
  flex: 1;
  overflow-y: auto;
}
/* ---- ./design-system/components/_skeleton.css ---- */
/* ---- Animation shimmer ---- */
@keyframes cp-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.cp-skeleton {
  background: linear-gradient(
    90deg,
    var(--cp-color-bg-soft) 0%,
    #EDE7DD 45%,
    var(--cp-color-bg-soft) 90%
  );
  background-size: 1200px 100%;
  animation: cp-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--cp-radius-sm);
}
/* ---- Variantes de forme ---- */
.cp-skeleton--text {
  height: 16px;
  border-radius: 4px;
}
.cp-skeleton--text-sm {
  height: 12px;
  border-radius: 3px;
}
.cp-skeleton--text-lg {
  height: 20px;
  border-radius: 5px;
}
.cp-skeleton--title {
  height: 32px;
  border-radius: 6px;
}
.cp-skeleton--circle {
  border-radius: 50%;
}
.cp-skeleton--pill {
  border-radius: var(--cp-radius-pill);
}
.cp-skeleton--card {
  border-radius: var(--cp-radius-lg);
  min-height: 120px;
}
/* ---- Skeleton carte prénom (structure complète) ---- */
.cp-skeleton-prenom-card {
  background: white;
  border-radius: var(--cp-radius-lg);
  box-shadow: var(--cp-shadow-sm);
  padding: var(--cp-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-3);
}
.cp-skeleton-prenom-card__top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cp-skeleton-prenom-card__chips {
  display: flex;
  gap: var(--cp-space-2);
}
.cp-skeleton-prenom-card__name {
  height: 52px;
  width: 55%;
  margin: var(--cp-space-2) auto;
  border-radius: var(--cp-radius-md);
}
.cp-skeleton-prenom-card__sparkline {
  height: 60px;
  border-radius: var(--cp-radius-sm);
}
.cp-skeleton-prenom-card__text {
  height: 14px;
  width: 75%;
  margin: 0 auto;
}
.cp-skeleton-prenom-card__tags {
  display: flex;
  gap: var(--cp-space-2);
  justify-content: center;
  margin-top: var(--cp-space-1);
}
/* ---- Skeleton carte mobile (horizontal) ---- */
.cp-skeleton-prenom-card--mobile {
  flex-direction: row;
  align-items: center;
  padding: 0;
  min-height: 120px;
  gap: 0;
}
.cp-skeleton-prenom-card--mobile .cp-skeleton-prenom-card__left {
  width: 110px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: var(--cp-radius-lg) 0 0 var(--cp-radius-lg);
}
.cp-skeleton-prenom-card--mobile .cp-skeleton-prenom-card__right {
  flex: 1;
  padding: var(--cp-space-3) var(--cp-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-2);
}
/* ---- Délai en cascade pour l'effet stagger ---- */
.cp-skeleton-prenom-card:nth-child(1)  { animation-delay: 0ms; }
.cp-skeleton-prenom-card:nth-child(2)  { animation-delay: 80ms; }
.cp-skeleton-prenom-card:nth-child(3)  { animation-delay: 160ms; }
.cp-skeleton-prenom-card:nth-child(4)  { animation-delay: 240ms; }
.cp-skeleton-prenom-card:nth-child(5)  { animation-delay: 320ms; }
.cp-skeleton-prenom-card:nth-child(6)  { animation-delay: 400ms; }
.cp-skeleton-prenom-card:nth-child(7)  { animation-delay: 480ms; }
.cp-skeleton-prenom-card:nth-child(8)  { animation-delay: 560ms; }
.cp-skeleton-prenom-card:nth-child(9)  { animation-delay: 640ms; }
.cp-skeleton-prenom-card:nth-child(10) { animation-delay: 720ms; }
.cp-skeleton-prenom-card:nth-child(11) { animation-delay: 800ms; }
.cp-skeleton-prenom-card:nth-child(12) { animation-delay: 880ms; }
/* ---- ./design-system/components/_prenom-card.css ---- */
.cp-prenom-card {
  position: relative;
  background: white;
  border: 1px solid var(--cp-color-border);
  border-radius: var(--cp-radius-lg);
  box-shadow: var(--cp-shadow-sm);
  padding: var(--cp-space-4) var(--cp-space-5) var(--cp-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-2);
  overflow: hidden;
  cursor: default;
  transition:
    transform var(--cp-duration-short) var(--cp-ease-organic),
    box-shadow var(--cp-duration-short) var(--cp-ease-organic);
}
.cp-prenom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cp-shadow-card-hover);
}
.cp-prenom-card__watercolor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--cp-duration-short) var(--cp-ease-organic);
  background-size: 200% 200%;
  background-position: 65% 35%;
}
.cp-prenom-card__watercolor--f  { background: radial-gradient(ellipse at 65% 35%, var(--cp-color-primary) 0%, transparent 65%); }
.cp-prenom-card__watercolor--m  { background: radial-gradient(ellipse at 65% 35%, var(--cp-color-secondary) 0%, transparent 65%); }
.cp-prenom-card__watercolor--mx { background: radial-gradient(ellipse at 65% 35%, #F5C462 0%, transparent 65%); }
.cp-prenom-card:hover .cp-prenom-card__watercolor {
  opacity: 0.10;
}
/* ---- Top row : chips + cœur ---- */
.cp-prenom-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--cp-space-2);
}
.cp-prenom-card__chips {
  display: flex;
  gap: var(--cp-space-1);
  flex-wrap: wrap;
}
/* ---- Bouton favori (cœur) ---- */
.cp-prenom-card__favorite {
  width: 36px;
  height: 36px;
  margin: -6px -8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background var(--cp-duration-micro) var(--cp-ease-organic),
    transform var(--cp-duration-micro) var(--cp-ease-organic);
}
.cp-prenom-card__favorite:hover {
  background: var(--cp-color-bg-soft);
  transform: scale(1.12);
}
.cp-prenom-card__favorite-icon {
  width: 20px;
  height: 20px;
  color: var(--cp-color-text-muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition:
    color var(--cp-duration-micro) var(--cp-ease-organic),
    fill var(--cp-duration-micro) var(--cp-ease-organic),
    transform var(--cp-duration-short) var(--cp-ease-out-back);
}
.cp-prenom-card__favorite--active .cp-prenom-card__favorite-icon {
  color: var(--cp-color-favorite);
  fill: var(--cp-color-favorite);
}
.cp-prenom-card__favorite-icon--tap {
  animation: cp-heart-tap var(--cp-duration-short) var(--cp-ease-out-back);
}
@keyframes cp-heart-tap {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}
/* ---- Prénom (centre) ---- */
.cp-prenom-card__name {
  margin: 0;
  font-family: var(--cp-font-display);
  font-size: 40px;
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-text-heading);
  text-align: left;
  line-height: 1.05;
  overflow-wrap: anywhere;
  position: relative;
  z-index: 1;
}
/* ---- Lien vers la fiche : étendu à toute la carte (1.10.0) ----
   Le ::after du lien doit avoir la CARTE pour bloc conteneur : le nom n'est
   donc pas positionné (sinon la zone cliquable se limite au titre). Le calque
   aquarelle passe sous le contenu grâce au contexte d'empilement isolé. */
.cp-prenom-card {
  isolation: isolate;
}
.cp-app .cp-prenom-card .cp-prenom-card__name {
  position: static;
}
.cp-prenom-card__watercolor {
  z-index: -1;
}
.cp-prenom-card--lien {
  cursor: pointer;
}
.cp-app .cp-prenom-card a.cp-prenom-card__link,
.cp-app .cp-prenom-card a.cp-prenom-card__link:hover {
  color: inherit;
  text-decoration: none;
}
.cp-prenom-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cp-prenom-card__link:focus-visible {
  outline: none;
}
.cp-prenom-card__link:focus-visible::after {
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px var(--cp-color-border-focus);
}
.cp-prenom-card__top {
  position: relative;
  z-index: 2;
}
/* ---- Rang chez les filles / garçons, puis rang général (1.10.0) ---- */
.cp-prenom-card__rank {
  margin: 0;
  text-align: left;
  font-size: var(--cp-text-sm); 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  color: var(--cp-color-text-body);
  font-variant-numeric: tabular-nums;
}
.cp-prenom-card__rank strong {
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-text-heading);
}
.cp-prenom-card sup {
  font-size: .7em;
  line-height: 0;
}
/* ---- Sparkline popularité ---- */
.cp-prenom-card__sparkline {
  width: 100%;
  height: 40px;
  display: block;
  overflow: visible;
}
.cp-prenom-card__sparkline-caption {
  margin: 0;
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
  text-align: left;
  line-height: 1.35;
}
/* ---- Accroche ---- */
.cp-prenom-card__accroche {
  margin: 0;
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
  text-align: left;
  line-height: var(--cp-leading-snug);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* ---- Tags footer ---- */
.cp-prenom-card__tags {
  display: flex;
  gap: var(--cp-space-1);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: auto;
}
/* ---- Badge "Prénom rare" (haut-gauche) ---- */
.cp-prenom-card__rare-badge {
  position: static;
  background: #FDF5E0;
  color: #9A6E10;
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-xs);
  font-weight: var(--cp-weight-semibold);
  padding: 3px 10px;
  border-radius: var(--cp-radius-pill);
  animation: cp-rare-pulse 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes cp-rare-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
/* ---- Variante rare : glow doré au hover ---- */
.cp-prenom-card--rare:hover {
  box-shadow:
    var(--cp-shadow-card-hover),
    0 0 28px rgba(245, 196, 98, 0.32);
}
.cp-prenom-card--mobile {
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: 120px;
  overflow: hidden;
}
.cp-prenom-card--mobile .cp-prenom-card__sparkline,
.cp-prenom-card--mobile .cp-prenom-card__sparkline-caption {
  display: none;
}
.cp-prenom-card__mobile-left {
  width: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cp-gradient-teal-soft);
  padding: var(--cp-space-4);
}
.cp-prenom-card--garcon .cp-prenom-card__mobile-left {
  background: linear-gradient(150deg, #EBF4FE 0%, #C5DDF9 100%);
}
.cp-prenom-card--fille .cp-prenom-card__mobile-left {
  background: linear-gradient(150deg, #FEF0F5 0%, #F9D0E2 100%);
}
.cp-prenom-card--mobile .cp-prenom-card__name {
  font-size: var(--cp-text-2xl);
  text-align: center;
}
.cp-prenom-card__mobile-right {
  flex: 1;
  padding: var(--cp-space-3) var(--cp-space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--cp-space-2);
  min-width: 0;
}
.cp-prenom-card--mobile .cp-prenom-card__top {
  align-items: center;
}
.cp-prenom-card--mobile .cp-prenom-card__accroche {
  font-size: var(--cp-text-xs);
  text-align: left;
  -webkit-line-clamp: 2;
}
.cp-prenom-card--mobile .cp-prenom-card__tags {
  justify-content: flex-start;
  margin-top: 0;
}
@media (max-width: 640px) {
  .cp-prenom-card {
    padding: var(--cp-space-3);
    gap: var(--cp-space-1);
    border-radius: var(--cp-radius-md);
  }
  .cp-prenom-card__name {
    font-size: 30px;
  }
  .cp-prenom-card__sparkline {
    height: 28px;
  }
  .cp-prenom-card__sparkline-caption {
    font-size: var(--cp-text-xs);
  }
  .cp-prenom-card__favorite {
    width: 32px;
    height: 32px;
    margin: -4px -6px 0 0;
  }
  .cp-prenom-card__accroche,
  .cp-prenom-card__pic,
  .cp-prenom-card__annee {
    display: none;
  }
  .cp-prenom-card__rank {
    font-size: 12px;
  }
}
/* ---- ./design-system/components/_pagination.css ---- */
.cp-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cp-space-4);
  padding: var(--cp-space-8) 0 var(--cp-space-6);
}
.cp-pagination__load-more {
  min-width: 260px;
  justify-content: center;
}
.cp-pagination__progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cp-space-2);
  width: 100%;
  max-width: 320px;
}
.cp-pagination__count {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
  text-align: center;
}
.cp-pagination__bar-track {
  width: 100%;
  height: 4px;
  background: var(--cp-color-bg-soft);
  border-radius: var(--cp-radius-pill);
  overflow: hidden;
}
.cp-pagination__bar-fill {
  height: 100%;
  border-radius: var(--cp-radius-pill);
  background: linear-gradient(90deg, var(--cp-color-secondary) 0%, var(--cp-color-primary) 100%);
  transition: width var(--cp-duration-short) var(--cp-ease-organic);
}
.cp-pagination__load-more.cp-button--loading {
  min-width: 260px;
}
/* ---- Layout partagé ---- */
/* ---- ./design-system/layouts/_header.css ---- */
.cp-header {
  position: sticky;
  top: 0;
  z-index: var(--cp-z-sticky);
  height: var(--cp-header-height);
  background: var(--cp-color-bg);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--cp-duration-micro) var(--cp-ease-organic),
    box-shadow  var(--cp-duration-micro) var(--cp-ease-organic);
}
.cp-header--scrolled {
  border-bottom-color: var(--cp-color-border);
  box-shadow: var(--cp-shadow-sm);
}
/* ---- Inner centré ---- */
.cp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: var(--cp-container-max);
  margin: 0 auto;
  padding: 0 var(--cp-space-6);
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .cp-header__inner {
    padding: 0 var(--cp-space-8);
  }
}
/* ---- Logo ---- */
.cp-header__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--cp-space-2);
  font-family: var(--cp-font-display);
  font-size: 22px;
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-text-heading);
  text-decoration: none;
  line-height: 1;
  transition: opacity var(--cp-duration-micro) var(--cp-ease-organic);
}
.cp-header__logo:hover {
  opacity: 0.80;
}
.cp-header__logo-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cp-header__logo-icon img {
  width: 20px;
  height: 20px;
}
/* ---- Actions droite ---- */
.cp-header__actions {
  display: flex;
  align-items: center;
  gap: var(--cp-space-2);
}
.cp-header__filter-btn {
  display: none;
  align-items: center;
  gap: var(--cp-space-2);
}
@media (max-width: 1023px) {
  .cp-header__filter-btn {
    display: inline-flex;
  }
}
.cp-header__filter-btn .cp-badge {
  margin-left: 2px;
}
.cp-header__favorites-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--cp-space-2);
  position: relative;
}
.cp-header__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.cp-header__login-btn {
  white-space: nowrap;
}
@media (max-width: 479px) {
  .cp-header__login-btn {
    display: none;
  }
}
/* ---- Animation d'entrée ---- */
@keyframes cp-header-enter {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cp-header {
  animation: cp-header-enter 400ms var(--cp-ease-organic) both;
}
@media (prefers-reduced-motion: reduce) {
  .cp-header { animation: none; }
}
/* ---- Layout fiche (Phase 1) ---- */
/* ---- ./design-system/layouts/_fiche-prenom.css ---- */
/* ---- Wrapper principal ---- */
.cp-fiche-layout {
  width: 100%;
  max-width: var(--cp-container-max);
  margin-inline: auto;
  padding-inline: var(--cp-space-12);
  box-sizing: border-box;
  display: flex;
  gap: var(--cp-space-10);
  align-items: flex-start;
}
/* ---- Zone de contenu principale ---- */
.cp-fiche-main {
  flex: 1;
  min-width: 0;
  padding-block: var(--cp-space-10) var(--cp-space-16);
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-12);
}
/* ---- Sidebar sticky droite ---- */
.cp-fiche-sidebar {
  width: var(--cp-sidebar-width);
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--cp-header-height) + var(--cp-space-6));
  max-height: calc(100vh - var(--cp-header-height) - var(--cp-space-12));
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-6);
  padding-block: var(--cp-space-10);
  scrollbar-width: thin;
  scrollbar-color: var(--cp-color-border) transparent;
}
.cp-fiche-sidebar::-webkit-scrollbar { width: 4px; }
.cp-fiche-sidebar::-webkit-scrollbar-thumb {
  background: var(--cp-color-border);
  border-radius: var(--cp-radius-pill);
}
/* ---- Section générique ---- */
.cp-fiche-section {
  display: flex;
  flex-direction: column;
}
.cp-fiche-section--soft {
  background: var(--cp-color-bg-soft);
  border-radius: var(--cp-radius-xl);
  padding: var(--cp-space-8);
}
.cp-fiche-section--card {
  background: white;
  border-radius: var(--cp-radius-xl);
  padding: var(--cp-space-8);
  box-shadow: var(--cp-shadow-sm);
}
/* ---- Corps de texte de section ---- */
.cp-fiche-section__body {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-base);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-relaxed);
}
.cp-fiche-section__body p + p {
  margin-top: var(--cp-space-4);
}
.cp-fiche-section__body strong {
  color: var(--cp-color-primary);
  font-weight: var(--cp-weight-semibold);
}
/* ---- Titre H2 de section ---- */
.cp-fiche-section__title {
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-2xl);
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-text-heading);
  line-height: var(--cp-leading-tight);
  margin-bottom: var(--cp-space-6);
}
@media (min-width: 768px) {
  .cp-fiche-section__title {
    font-size: var(--cp-text-3xl);
  }
}
/* ---- Navigation sidebar ---- */
.cp-fiche-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-1);
  padding-top: var(--cp-space-4);
  border-top: 1px solid var(--cp-color-border);
}
.cp-fiche-sidebar__nav-link {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-medium);
  color: var(--cp-color-text-muted);
  text-decoration: none;
  padding: var(--cp-space-2) 0;
  transition: color var(--cp-duration-micro) var(--cp-ease-organic);
}
.cp-fiche-sidebar__nav-link:hover {
  color: var(--cp-color-primary);
}
/* ---- Derniers articles du blog (sidebar) ---- */
.cp-sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-4);
}
.cp-sidebar-posts__title {
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-md);
  font-weight: var(--cp-weight-semibold);
  color: var(--cp-color-text-heading);
  line-height: var(--cp-leading-snug);
  margin: 0;
  padding-bottom: var(--cp-space-3);
  border-bottom: 1px solid var(--cp-color-border);
}
.cp-sidebar-posts__list {
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.cp-sidebar-posts__link {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--cp-space-3);
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: var(--cp-radius-md);
}
.cp-sidebar-posts__link:focus-visible {
  outline: none;
  box-shadow: var(--cp-shadow-focus-ring);
}
.cp-sidebar-posts__thumb {
  width: 44px;
  aspect-ratio: 1;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--cp-radius-sm);
  background: var(--cp-color-bg-soft);
}
.cp-sidebar-posts__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cp-sidebar-posts__text {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-medium);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cp-sidebar-posts__link:hover .cp-sidebar-posts__text {
  color: var(--cp-color-primary);
}
/* ---- Saint card (Bloc 4) ---- */
.cp-saint-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--cp-space-6);
  align-items: flex-start;
}
@media (max-width: 480px) {
  .cp-saint-card { grid-template-columns: 1fr; }
}
.cp-saint-card__date {
  text-align: center;
  min-width: 80px;
}
.cp-saint-card__day {
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-4xl);
  color: var(--cp-color-primary);
  line-height: 1;
}
.cp-saint-card__month {
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--cp-space-1);
}
.cp-saint-card__name {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-base);
  font-weight: var(--cp-weight-semibold);
  color: var(--cp-color-text-heading);
  margin: 0 0 var(--cp-space-2);
}
.cp-saint-card__bio {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-relaxed);
  margin: 0;
}
/* ---- Surnoms (Bloc 7) ---- */
.cp-surnoms__intro {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
  margin: 0 0 var(--cp-space-4);
}
.cp-surnoms__chips {
  display: flex;
  gap: var(--cp-space-2);
  flex-wrap: wrap;
}
/* ---- Footer fiche ---- */
.cp-fiche-footer {
  border-top: 1px solid var(--cp-color-border);
  padding-block: var(--cp-space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cp-space-4);
  text-align: center;
}
.cp-fiche-footer__links {
  display: flex;
  gap: var(--cp-space-6);
  justify-content: center;
  flex-wrap: wrap;
}
.cp-fiche-footer__link {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
}
.cp-fiche-footer__signature {
  font-family: var(--cp-font-body);
  font-style: italic;
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
  margin: 0;
}
.cp-fiche-footer__meta {
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  opacity: 0.65;
  margin: 0;
}
@media (max-width: 1023px) {
  .cp-fiche-layout {
    padding-inline: var(--cp-space-8);
  }
  .cp-fiche-sidebar {
    display: none;
  }
  .cp-fiche-main {
    padding-block: var(--cp-space-6) var(--cp-space-12);
    gap: var(--cp-space-10);
  }
}
@media (max-width: 767px) {
  .cp-fiche-layout {
    padding-inline: var(--cp-space-4);
  }
  .cp-fiche-main {
    padding-block: 0 var(--cp-space-10);
    gap: var(--cp-space-8);
  }
  .cp-fiche-section--soft,
  .cp-fiche-section--card {
    border-radius: var(--cp-radius-lg);
    padding: var(--cp-space-6);
  }
  .cp-fiche-section__title {
    font-size: var(--cp-text-2xl);
    margin-bottom: var(--cp-space-4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cp-fiche-sidebar__nav-link { transition: none; }
}
/* ---- Composants fiche — activés phase par phase ---- */
/* ---- ./design-system/components/_fiche-hero.css ---- */
/* ---- Conteneur ---- */
.cp-fiche-hero {
  position: relative;
  background: var(--cp-gradient-warm);
  border-radius: var(--cp-radius-xl);
  padding: var(--cp-space-16) var(--cp-space-8) var(--cp-space-12);
  text-align: center;
  overflow: hidden;
}
/* ---- Balloon filigrane bas-droite ---- */
.cp-fiche-hero__balloon-watermark {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: clamp(140px, 22vw, 240px);
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
  transform-origin: bottom right;
  animation: cp-fiche-balloon-in 1400ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
}
@keyframes cp-fiche-balloon-in {
  from { opacity: 0; transform: translateY(40px) rotate(-4deg); }
  to   { opacity: 0.11; transform: translateY(0) rotate(0deg); }
}
/* ---- Zone de contenu ---- */
.cp-fiche-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cp-space-5);
}
/* ---- Nom H1 ---- */
.cp-fiche-hero__name {
  font-family: var(--cp-font-display);
  font-size: 96px;
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-text-heading);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.01em;
  animation: cp-fiche-hero-enter 650ms var(--cp-ease-organic) 80ms both;
}
/* ---- Sous-titre response-first ---- */
.cp-fiche-hero__response-first {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-md);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-relaxed);
  max-width: 540px;
  margin: 0;
  animation: cp-fiche-hero-enter 600ms var(--cp-ease-organic) 180ms both;
}
/* ---- Ligne de badges ---- */
.cp-fiche-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cp-space-2);
  justify-content: center;
  animation: cp-fiche-hero-enter 600ms var(--cp-ease-organic) 280ms both;
}
.cp-fiche-hero__badges .cp-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--cp-space-1);
}
/* ---- Actions (boutons) ---- */
.cp-fiche-hero__actions {
  display: flex;
  gap: var(--cp-space-3);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  animation: cp-fiche-hero-enter 600ms var(--cp-ease-organic) 380ms both;
}
/* ---- Compteur de votes ---- */
.cp-fiche-hero__vote-count {
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  margin: 0;
  animation: cp-fiche-hero-enter 600ms var(--cp-ease-organic) 460ms both;
}
/* ---- Animation d'entrée commune (stagger) ---- */
@keyframes cp-fiche-hero-enter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ---- Animation balloon envol (tap favori) ---- */
.cp-anim-balloon-fly {
  position: fixed;
  pointer-events: none;
  z-index: var(--cp-z-toast, 500);
  animation: cp-balloon-fly-up 1400ms var(--cp-ease-organic, cubic-bezier(0.4, 0, 0.2, 1)) forwards;
}
@keyframes cp-balloon-fly-up {
  0%   { opacity: 1;   transform: translateY(0)     scale(1)    rotate(-5deg); }
  25%  { opacity: 1;   transform: translateY(-50px)  scale(1.18) rotate(4deg);  }
  65%  { opacity: 0.9; transform: translateY(-120px) scale(1.08) rotate(-6deg); }
  100% { opacity: 0;   transform: translateY(-220px) scale(0.65) rotate(3deg);  }
}
/* ---- Responsive ---- */
@media (max-width: 1023px) {
  .cp-fiche-hero {
    padding: var(--cp-space-12) var(--cp-space-6) var(--cp-space-10);
  }
}
@media (max-width: 767px) {
  .cp-fiche-hero {
    padding: var(--cp-space-10) var(--cp-space-4) var(--cp-space-8);
    border-radius: var(--cp-radius-lg);
  }
  .cp-fiche-hero__name {
    font-size: 64px;
  }
  .cp-fiche-hero__response-first {
    font-size: var(--cp-text-base);
  }
  .cp-fiche-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--cp-space-2);
    width: 100%;
  }
  .cp-fiche-hero__actions > .cp-button,
  .cp-fiche-hero__actions > * > .cp-button {
    width: 100%;
    padding: 12px 10px;
    font-size: var(--cp-text-sm);
    white-space: normal;
    line-height: 1.2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cp-fiche-hero__name,
  .cp-fiche-hero__response-first,
  .cp-fiche-hero__badges,
  .cp-fiche-hero__actions,
  .cp-fiche-hero__vote-count {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .cp-fiche-hero__balloon-watermark {
    animation: none;
    opacity: 0.11;
    transform: none;
  }
}
/* ---- Boutons de l'en-tête : fond plein, le ballon filigrane ne transparaît
   plus sous « Pas pour moi » (1.10.0) ---- */
.cp-fiche-hero__actions .cp-button--secondary,
.cp-fiche-hero__actions .cp-button--ghost {
  background: white;
}
/* ---- Fil d'Ariane (1.10.0) ---- */
.cp-fiche-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cp-space-2);
  margin: 0 0 var(--cp-space-4);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
}
.cp-app .cp-fiche-crumbs a:not(.cp-button) {
  color: var(--cp-color-secondary);
  font-weight: var(--cp-weight-bold);
  text-decoration: none;
}
.cp-app .cp-fiche-crumbs a:not(.cp-button):hover {
  text-decoration: underline;
}
/* ---- ./design-system/components/_liste-picker.css ---- */
.cp-liste-picker {
  margin-top: var(--cp-space-4);
  padding: var(--cp-space-4) var(--cp-space-5);
  border: 1px solid var(--cp-color-border);
  border-radius: var(--cp-radius-md);
  background: var(--cp-color-bg);
  box-shadow: var(--cp-shadow-sm);
  max-width: 420px;
}
.cp-liste-picker[hidden] {
  display: none;
}
.cp-liste-picker__title {
  margin: 0 0 var(--cp-space-3);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-semibold);
  color: var(--cp-color-text-heading);
}
.cp-liste-picker__pitch {
  margin: 0 0 var(--cp-space-4);
  font-size: var(--cp-text-sm);
  line-height: 1.55;
  color: var(--cp-color-text-muted);
}
.cp-liste-picker__items {
  margin: 0 0 var(--cp-space-3);
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-1);
  max-height: 240px;
  overflow-y: auto;
}
.cp-liste-picker__empty {
  font-size: var(--cp-text-sm);
  line-height: 1.5;
  color: var(--cp-color-text-muted);
}
.cp-liste-picker__choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cp-space-3);
  width: 100%;
  padding: var(--cp-space-2) var(--cp-space-3);
  border: 1px solid transparent;
  border-radius: var(--cp-radius-sm);
  background: transparent;
  font-family: inherit;
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
  text-align: left;
  cursor: pointer;
}
.cp-liste-picker__choice:hover,
.cp-liste-picker__choice:focus-visible {
  border-color: var(--cp-color-border);
  background: var(--cp-color-bg-soft);
}
.cp-liste-picker__choice:disabled {
  opacity: 0.5;
  cursor: default;
}
.cp-liste-picker__choice-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cp-liste-picker__choice-state {
  flex-shrink: 0;
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
}
.cp-liste-picker__choice--in .cp-liste-picker__choice-state {
  color: var(--cp-color-favorite);
  font-weight: var(--cp-weight-semibold);
}
.cp-liste-picker__create {
  display: flex;
  gap: var(--cp-space-2);
  padding-top: var(--cp-space-3);
  border-top: 1px solid var(--cp-color-border);
}
.cp-liste-picker__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: var(--cp-space-2) var(--cp-space-3);
  border: 1px solid var(--cp-color-border);
  border-radius: var(--cp-radius-sm);
  background: var(--cp-color-bg);
  font-family: inherit;
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
}
.cp-liste-picker__input:focus-visible {
  outline: 2px solid var(--cp-color-primary);
  outline-offset: 1px;
}
/* ---- « Enregistrer comme liste », dans le pied du tiroir ---- */
.cp-drawer__save-liste {
  margin-bottom: var(--cp-space-4);
  padding-bottom: var(--cp-space-4);
  border-bottom: 1px solid var(--cp-color-border);
}
.cp-drawer__save-liste[hidden] {
  display: none;
}
.cp-drawer__save-label {
  display: block;
  margin-bottom: var(--cp-space-2);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-semibold);
  color: var(--cp-color-text-heading);
}
.cp-drawer__save-row {
  display: flex;
  gap: var(--cp-space-2);
  align-items: stretch;
}
.cp-drawer__save-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: var(--cp-space-2) var(--cp-space-3);
  border: 1px solid var(--cp-color-border);
  border-radius: var(--cp-radius-sm);
  background: var(--cp-color-bg);
  font-family: inherit;
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
}
.cp-drawer__save-input:focus-visible {
  outline: 2px solid var(--cp-color-primary);
  outline-offset: 1px;
}
.cp-drawer__save-hint {
  margin: var(--cp-space-2) 0 0;
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
}
@media (max-width: 600px) {
  .cp-liste-picker {
    max-width: none;
  }
  .cp-liste-picker__create,
  .cp-drawer__save-row {
    flex-direction: column;
  }
}
/* ---- ./design-system/components/_quote-block.css ---- */
.cp-quote-block {
  margin: var(--cp-space-6) 0 0;
  padding: var(--cp-space-3) var(--cp-space-5);
  border-left: 3px solid var(--cp-color-secondary-light);
  background: transparent;
}
/* ---- Texte de la citation ---- */
.cp-quote-block__text {
  font-family: var(--cp-font-body);
  font-style: italic;
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-relaxed);
  margin: 0 0 var(--cp-space-2);
}
/* ---- Attribution / source ---- */
.cp-quote-block__source {
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  opacity: 0.75;
  font-style: normal;
  display: block;
}
/* ---- Lien de source ---- */
.cp-quote-block__source-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: transparent;
  transition:
    color var(--cp-duration-micro) var(--cp-ease-organic),
    text-decoration-color var(--cp-duration-micro) var(--cp-ease-organic);
}
.cp-quote-block__source-link:hover {
  color: var(--cp-color-primary);
  text-decoration-color: var(--cp-color-primary);
}
@media (prefers-reduced-motion: reduce) {
  .cp-quote-block__source-link { transition: none; }
}
/* ---- ./design-system/components/_popularity-chart.css ---- */
/* ---- Conteneur ---- */
.cp-popularity-chart {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  margin-bottom: var(--cp-space-4);
}
/* ---- SVG ---- */
.cp-popularity-chart__svg {
  display: block;
  width: 100%;
  height: 200px;
  cursor: crosshair;
  overflow: visible;
}
/* ---- Lignes de grille horizontales ---- */
.cp-popularity-chart__grid-line {
  stroke: var(--cp-color-border);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  fill: none;
}
/* ---- Ligne du graphique ---- */
.cp-popularity-chart__line {
  fill: none;
  stroke: var(--cp-color-secondary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* ---- Zone de remplissage ---- */
.cp-popularity-chart__area {
}
/* ---- Marqueur pic (orange) ---- */
.cp-popularity-chart__peak-marker {
  fill: var(--cp-color-primary);
  stroke: white;
  stroke-width: 2;
}
/* ---- Annotation pic ---- */
.cp-popularity-chart__peak-annotation {
  font-family: var(--cp-font-data);
  font-size: 10px;
  fill: var(--cp-color-primary);
  text-anchor: middle;
  pointer-events: none;
}
/* ---- Marqueur année courante (teal) ---- */
.cp-popularity-chart__current-marker {
  fill: var(--cp-color-secondary);
  stroke: white;
  stroke-width: 2;
}
/* ---- Curseur vertical (hover) ---- */
.cp-popularity-chart__cursor {
  stroke: var(--cp-color-text-muted);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  fill: none;
  pointer-events: none;
}
/* ---- Point de survol ---- */
.cp-popularity-chart__hover-dot {
  fill: white;
  stroke: var(--cp-color-secondary);
  stroke-width: 2;
  pointer-events: none;
}
/* ---- Labels axes ---- */
.cp-popularity-chart__x-label {
  font-family: var(--cp-font-data);
  font-size: 10px;
  fill: var(--cp-color-text-muted);
  text-anchor: middle;
  pointer-events: none;
}
.cp-popularity-chart__y-label {
  font-family: var(--cp-font-data);
  font-size: 10px;
  fill: var(--cp-color-text-muted);
  text-anchor: end;
  dominant-baseline: middle;
  pointer-events: none;
}
/* ---- Tooltip ---- */
.cp-popularity-chart__tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--cp-color-text-heading);
  color: white;
  border-radius: var(--cp-radius-md);
  padding: var(--cp-space-2) var(--cp-space-3);
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  white-space: nowrap;
  transform: translateX(-50%);
  z-index: 10;
}
.cp-popularity-chart__tooltip[hidden] {
  display: none;
}
.cp-popularity-chart__tooltip-year {
  font-weight: var(--cp-weight-semibold);
  display: block;
}
.cp-popularity-chart__tooltip-count {
  display: block;
  opacity: 0.8;
}
/* ---- Source INSEE ---- */
.cp-popularity-chart__source {
  margin-top: var(--cp-space-3);
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  opacity: 0.65;
}
.cp-popularity-chart__source a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* ---- Responsive ---- */
@media (max-width: 767px) {
  .cp-popularity-chart__svg {
    height: 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
}
/* ---- ./design-system/components/_stats-grid.css ---- */
.cp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--cp-space-4);
  margin-top: var(--cp-space-6);
}
/* ---- Item ---- */
.cp-stats-grid__item {
  background: var(--cp-color-bg-soft);
  border-radius: var(--cp-radius-md);
  padding: var(--cp-space-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cp-space-1);
}
/* ---- Valeur ---- */
.cp-stats-grid__value {
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-2xl);
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-secondary);
  line-height: 1;
}
.cp-stats-grid__value--primary {
  color: var(--cp-color-primary);
}
.cp-stats-grid__value--positive {
  color: var(--cp-color-secondary);
}
.cp-stats-grid__value--negative {
  color: var(--cp-color-text-muted);
}
/* ---- Label ---- */
.cp-stats-grid__label {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  line-height: var(--cp-leading-normal);
}
/* ---- Responsive ---- */
@media (max-width: 640px) {
  .cp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ---- ./design-system/components/_tabs.css ---- */
/* ---- Barre d'onglets ---- */
.cp-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--cp-color-border);
  margin-bottom: var(--cp-space-6);
  overflow-x: auto;
  scrollbar-width: none;
}
.cp-tabs::-webkit-scrollbar { display: none; }
/* ---- Onglet individuel ----
   Spécificité (0,2,0) pour surpasser .cp-app button { padding:0 } (0,1,1)
   ---- */
.cp-app .cp-tabs .cp-tabs__tab {
  padding: var(--cp-space-3) var(--cp-space-4);
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-medium);
  color: var(--cp-color-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color var(--cp-duration-micro) var(--cp-ease-organic),
    border-color var(--cp-duration-micro) var(--cp-ease-organic);
}
.cp-app .cp-tabs .cp-tabs__tab:hover {
  color: var(--cp-color-text-heading);
}
.cp-app .cp-tabs .cp-tabs__tab:focus-visible {
  outline: 2px solid var(--cp-color-primary);
  outline-offset: -2px;
  border-radius: 2px;
}
.cp-app .cp-tabs .cp-tabs__tab[aria-selected="true"] {
  color: var(--cp-color-text-heading);
  font-weight: var(--cp-weight-semibold);
  border-bottom-color: var(--cp-color-primary);
}
/* ---- Panel ---- */
.cp-tabs__panel[hidden] {
  display: none;
}
/* ---- Responsive ---- */
@media (prefers-reduced-motion: reduce) {
  .cp-tabs__tab { transition: none; }
}
/* ---- ./design-system/components/_personality-card.css ---- */
/* ---- Grille ---- */
.cp-personality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cp-space-4);
}
/* ---- Carte ---- */
.cp-personality-card {
  background: white;
  border-radius: var(--cp-radius-md);
  border: 1px solid var(--cp-color-border);
  padding: var(--cp-space-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cp-space-2);
}
/* ---- Avatar ---- */
.cp-personality-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cp-color-secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-md);
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-secondary-dark);
  flex-shrink: 0;
  user-select: none;
}
/* ---- Nom ---- */
.cp-personality-card__name {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-semibold);
  color: var(--cp-color-text-heading);
  margin: 0;
}
/* ---- Dates ---- */
.cp-personality-card__dates {
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  margin: 0;
}
/* ---- Bio ---- */
.cp-personality-card__bio {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-relaxed);
  margin: 0;
  flex: 1;
}
/* ---- Message vide ---- */
.cp-personality-grid--empty {
  padding: var(--cp-space-4) 0;
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
}
/* ---- Responsive ---- */
@media (max-width: 640px) {
  .cp-personality-grid {
    grid-template-columns: 1fr;
  }
}
/* ---- ./design-system/components/_regard-calepin.css ---- */
/* ---- Section ---- */
.cp-regard-calepin {
  border-left: 4px solid var(--cp-color-primary);
  background: var(--cp-gradient-orange-soft);
  border-radius: var(--cp-radius-xl);
  padding: var(--cp-space-8);
  position: relative;
  overflow: hidden;
  animation: cp-regard-entrance var(--cp-duration-medium) var(--cp-ease-organic) both;
}
/* ---- Ballon décoratif ---- */
.cp-regard-calepin__balloon {
  position: absolute;
  top: var(--cp-space-4);
  right: var(--cp-space-4);
  width: 80px;
  opacity: 0.15;
  pointer-events: none;
  animation: cp-balloon-drift 6s var(--cp-ease-in-out) infinite;
  transform-origin: 50% 100%;
}
/* ---- Titre ---- */
.cp-regard-calepin__title {
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-2xl);
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-text-heading);
  margin-bottom: var(--cp-space-4);
  line-height: var(--cp-leading-tight);
}
/* ---- Texte éditorial ---- */
.cp-regard-calepin__text {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-md);
  font-style: italic;
  line-height: 1.7;
  color: var(--cp-color-text-body);
  max-width: 600px;
  position: relative;
  padding-left: var(--cp-space-10); 
}
.cp-regard-calepin__text::before {
  content: '\201C';
  font-family: var(--cp-font-display);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--cp-color-primary);
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  user-select: none;
}
/* ---- CTA ---- */
.cp-regard-calepin__cta {
  margin-top: var(--cp-space-5);
}
/* ---- Animations ---- */
@keyframes cp-regard-entrance {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cp-balloon-drift {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-10px) rotate(4deg); }
}
/* ---- Responsive ---- */
@media (max-width: 767px) {
  .cp-regard-calepin {
    padding: var(--cp-space-6);
  }
  .cp-regard-calepin__text {
    padding-left: var(--cp-space-5);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cp-regard-calepin         { animation: none; }
  .cp-regard-calepin__balloon { animation: none; }
}
/* ---- ./design-system/components/_prenom-proches.css ---- */
/* ---- Piste de défilement ---- */
.cp-prenom-proches__scroll {
  display: flex;
  gap: var(--cp-space-3);
  overflow-x: auto;
  padding-bottom: var(--cp-space-2);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--cp-color-border) transparent;
}
.cp-prenom-proches__scroll::-webkit-scrollbar { height: 4px; }
.cp-prenom-proches__scroll::-webkit-scrollbar-thumb {
  background: var(--cp-color-border);
  border-radius: var(--cp-radius-pill);
}
/* ---- Carte prénom ---- */
.cp-prenom-proche-card {
  flex-shrink: 0;
  background: white;
  border-radius: var(--cp-radius-lg);
  border: 1px solid var(--cp-color-border);
  box-shadow: var(--cp-shadow-sm);
  padding: var(--cp-space-4) var(--cp-space-5);
  text-align: center;
  min-width: 120px;
  text-decoration: none;
  color: var(--cp-color-text-heading);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cp-space-2);
  scroll-snap-align: start;
  transition:
    transform var(--cp-duration-short) var(--cp-ease-organic),
    box-shadow var(--cp-duration-short) var(--cp-ease-organic);
}
.cp-prenom-proche-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cp-shadow-card-hover);
}
/* ---- Nom ---- */
.cp-prenom-proche-card__name {
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-xl);
  font-weight: var(--cp-weight-bold);
}
/* ---- Responsive ---- */
@media (prefers-reduced-motion: reduce) {
  .cp-prenom-proche-card { transition: none; }
}
/* ---- ./design-system/components/_vote-bar.css ---- */
.cp-vote-bar {
  display: flex;
  flex-direction: column;
  gap: var(--cp-space-3);
  margin-bottom: var(--cp-space-6);
}
.cp-vote-bar__counts {
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
}
.cp-vote-bar__track {
  height: 8px;
  background: var(--cp-color-bg-soft);
  border-radius: var(--cp-radius-pill);
  overflow: hidden;
}
.cp-vote-bar__fill {
  height: 100%;
  background: var(--cp-color-secondary);
  border-radius: var(--cp-radius-pill);
  transition: width var(--cp-duration-short) var(--cp-ease-organic);
}
/* ---- ./design-system/components/_comment.css ---- */
.cp-comment {
  display: flex;
  gap: var(--cp-space-3);
  padding: var(--cp-space-4) 0;
  border-bottom: 1px solid var(--cp-color-border);
}
.cp-comment--reply {
  margin-left: calc(36px + var(--cp-space-3));
}
.cp-comment__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cp-color-secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-semibold);
  color: var(--cp-color-secondary-dark);
  flex-shrink: 0;
}
.cp-comment--reply .cp-comment__avatar {
  background: var(--cp-color-primary-light);
  color: var(--cp-color-primary-dark);
}
.cp-comment__body {
  flex: 1;
  min-width: 0;
}
.cp-comment__meta {
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  margin-bottom: var(--cp-space-1);
}
.cp-comment__text {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-relaxed);
}
/* ---- ./design-system/components/_comment-form.css ---- */
.cp-connect-invite {
  background: var(--cp-color-bg-soft);
  border-radius: var(--cp-radius-lg);
  padding: var(--cp-space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cp-space-3);
}
.cp-connect-invite__text {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
}
.cp-comment-form {
  margin-top: var(--cp-space-6);
}
.cp-comment-form .cp-input-group {
  margin-bottom: var(--cp-space-3);
}
.cp-comment-form .cp-input {
  padding-top: 24px;
  resize: vertical;
}
.cp-comment-form__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cp-comment-form__count {
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
}
/* ---- ./design-system/components/_accordion.css ---- */
.cp-accordion {
  display: flex;
  flex-direction: column;
}
.cp-accordion__item {
  border-bottom: 1px solid var(--cp-color-border);
}
.cp-accordion .cp-accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--cp-space-5) 0;
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-base);
  font-weight: var(--cp-weight-semibold);
  color: var(--cp-color-text-heading);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--cp-space-4);
}
.cp-accordion .cp-accordion__trigger:hover {
  color: var(--cp-color-primary);
}
.cp-accordion__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--cp-duration-short) var(--cp-ease-organic);
  color: var(--cp-color-text-muted);
}
.cp-accordion__item--open .cp-accordion__chevron {
  transform: rotate(180deg);
}
.cp-accordion__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--cp-duration-short) var(--cp-ease-organic);
}
.cp-accordion__item--open .cp-accordion__body {
  max-height: 400px;
}
.cp-accordion__content {
  padding-bottom: var(--cp-space-5);
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-relaxed);
}
/* ---- ./design-system/components/_cta-annuaire.css ---- */
.cp-cta-annuaire {
  background: var(--cp-gradient-teal-soft);
  border-radius: var(--cp-radius-xl);
  padding: var(--cp-space-12) var(--cp-space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cp-cta-annuaire__balloon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  opacity: 0.10;
  pointer-events: none;
}
.cp-cta-annuaire__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}
.cp-cta-annuaire__title {
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-2xl);
  color: var(--cp-color-text-heading);
  margin-bottom: var(--cp-space-3);
}
.cp-cta-annuaire__subtitle {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-md);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-relaxed);
  margin-bottom: var(--cp-space-6);
}
.cp-cta-annuaire__mention {
  margin-top: var(--cp-space-3);
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
}
/* ---- ./design-system/components/_ad-slot.css ---- */
.cp-ad-slot {
  background: var(--cp-color-bg-soft);
  border: 1.5px dashed var(--cp-color-border);
  border-radius: var(--cp-radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--cp-space-2);
  color: var(--cp-color-text-muted);
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  opacity: 0.7;
}
.cp-ad-slot--responsive {
  min-height: 100px;
  padding: var(--cp-space-4);
}
.cp-ad-slot--sidebar {
  min-height: 250px;
  width: 100%;
}
.cp-ad-slot--native {
  border-style: solid;
  opacity: 1;
}
.cp-ad-slot__label {
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
}
.cp-ad-slot__name {
  font-size: 10px;
  opacity: 0.5;
}
/* ---- ./design-system/components/_contextual-products.css ---- */
.cp-contextual-products {
  border-top: 1px solid var(--cp-color-border);
  padding-top: var(--cp-space-8);
}
.cp-contextual-products__label-affilie {
  font-family: var(--cp-font-data);
  font-size: 10px;
  color: var(--cp-color-text-muted);
  opacity: 0.7;
  margin-bottom: var(--cp-space-2);
}
.cp-contextual-products__title {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-base);
  font-weight: var(--cp-weight-semibold);
  color: var(--cp-color-text-heading);
  margin-bottom: var(--cp-space-4);
}
.cp-contextual-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cp-space-4);
}
@media (max-width: 640px) {
  .cp-contextual-products__grid {
    grid-template-columns: 1fr;
  }
}
.cp-contextual-products__card {
  background: white;
  border-radius: var(--cp-radius-md);
  border: 1px solid var(--cp-color-border);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cp-contextual-products__card-affilie {
  position: absolute;
  top: var(--cp-space-2);
  right: var(--cp-space-2);
  font-family: var(--cp-font-data);
  font-size: 9px;
  color: var(--cp-color-text-muted);
  opacity: 0.7;
}
.cp-contextual-products__card-img {
  width: 100%;
  height: 100px;
  background: var(--cp-color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.cp-contextual-products__card-body {
  padding: var(--cp-space-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cp-contextual-products__card-name {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  font-weight: var(--cp-weight-semibold);
  color: var(--cp-color-text-heading);
  margin-bottom: var(--cp-space-1);
}
.cp-contextual-products__card-desc {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  margin-bottom: var(--cp-space-3);
  flex: 1;
}
/* ---- ./design-system/components/_fiche-footer.css ---- */
.cp-fiche-footer {
  border-top: 1px solid var(--cp-color-border);
  margin-top: var(--cp-space-12);
  padding: var(--cp-space-10) 0 var(--cp-space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cp-space-6);
}
.cp-fiche-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--cp-space-2) var(--cp-space-6);
}
.cp-fiche-footer__link {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
  text-decoration: none;
  transition: color var(--cp-duration-micro) var(--cp-ease-organic);
}
.cp-fiche-footer__link:hover {
  color: var(--cp-color-primary);
}
.cp-fiche-footer__signature {
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-lg);
  color: var(--cp-color-text-heading);
  margin: 0;
}
.cp-fiche-footer__meta {
  font-family: var(--cp-font-data);
  font-size: var(--cp-text-xs);
  color: var(--cp-color-text-muted);
  opacity: 0.7;
  margin: 0;
}
/* ---- États et animations ---- */
/* ---- ./design-system/states/_empty.css ---- */
@keyframes cp-empty-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ---- Grille : aucun résultat ---- */
.cp-grid-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--cp-space-16) var(--cp-space-8);
  text-align: center;
  gap: var(--cp-space-4);
  animation: cp-empty-in 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cp-grid-empty__icon {
  font-size: 48px;
  line-height: 1;
}
.cp-grid-empty__title {
  font-family: var(--cp-font-display);
  font-size: var(--cp-text-2xl);
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-text-heading);
  margin: 0;
}
.cp-grid-empty__subtitle {
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
  line-height: var(--cp-leading-relaxed);
  margin: 0;
}
/* ---- Drawer favoris : liste vide ---- */
.cp-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--cp-space-12) var(--cp-space-6);
  text-align: center;
  gap: var(--cp-space-4);
  flex: 1;
}
.cp-drawer__empty-icon {
  font-size: 36px;
  line-height: 1;
  opacity: 0.4;
}
.cp-drawer__empty-text {
  font-size: var(--cp-text-sm);
  color: var(--cp-color-text-muted);
  line-height: var(--cp-leading-relaxed);
  margin: 0;
}
/* ---- ./design-system/states/_loading.css ---- */
.cp-grid--loading {
  pointer-events: none;
  opacity: 0.5;
}
/* ---- ./design-system/animations/_watercolor-reveal.css ---- */
@keyframes cp-watercolor-splash {
  0%   { opacity: 0;    transform: scale(1.4); }
  30%  { opacity: 0.22; transform: scale(1.0); }
  100% { opacity: 0;    transform: scale(1.0); }
}
.cp-prenom-card--in-view .cp-prenom-card__watercolor {
  animation: cp-watercolor-splash 1600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .cp-prenom-card--in-view .cp-prenom-card__watercolor {
    animation: none;
  }
}
.cp-fiche-construction {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cp-space-2);
  margin: 0 0 var(--cp-space-4);
  padding: var(--cp-space-3) var(--cp-space-4);
  background: #FDF5E0;
  border: 1px solid #F0DFA8;
  border-radius: var(--cp-radius-md);
}
.cp-fiche-construction__text {
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-sm);
  color: #7A5A14;
  line-height: 1.5;
}
.cp-popularity-total {
  margin: calc(-1 * var(--cp-space-2)) 0 var(--cp-space-5);
  font-family: var(--cp-font-body);
  font-size: var(--cp-text-lg);
  color: var(--cp-color-text-body);
  line-height: var(--cp-leading-snug);
}
.cp-popularity-total__value {
  font-family: var(--cp-font-data);
  font-weight: var(--cp-weight-bold);
  color: var(--cp-color-primary);
  white-space: nowrap;
}
