/* ==========================================================================
   CROSSHAIR PLACEMENT (maquette client « crosshair-placement »)

   Page jumelle du mode triche. Elle réutilise donc trois feuilles déjà en
   place : agent.css pour le reset et le fil d'Ariane, guide.css pour le
   bandeau, la mise en page à deux colonnes, le sommaire et le bloc « Pour
   aller plus loin », et mode-triche.css pour la barre de progression, les
   encadrés et la FAQ en questions ouvertes.

   Ne restent ici que les blocs propres à cette page : la définition, les
   étapes numérotées, la démonstration de réticule, les cartes de routines,
   les erreurs et les repères de mental.
   ========================================================================== */

  /* ===== DÉFINITION ===== */
  .defbox {
    margin: 24px 0; padding: 24px 28px; border-radius: 16px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0e0a14, #241832);
  }
  .defbox::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 82% 50%, rgba(232,99,126,0.2) 0%, transparent 62%);
  }
  .defbox > * { position: relative; z-index: 2; }
  .defbox .d-t {
    font-family: 'Bebas Neue', sans-serif; font-size: 0.7rem; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--coral); margin-bottom: 9px;
  }
  .crosshair-page .defbox p {
    margin: 0; color: rgba(255,255,255,0.82) !important;
    font-size: 0.98rem !important; line-height: 1.72 !important;
  }

  /* ===== ÉTAPES NUMÉROTÉES ===== */
  .steps { position: relative; margin: 22px 0; padding-left: 44px; }
  .steps::before { content: ''; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 2px; background: #ececec; }
  .step { position: relative; margin-bottom: 26px; }
  .step:last-child { margin-bottom: 0; }
  .step::before {
    content: attr(data-n); position: absolute; left: -44px; top: 0; width: 32px; height: 32px;
    border-radius: 10px; background: var(--coral); color: white;
    font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem;
    display: flex; align-items: center; justify-content: center; letter-spacing: 0.5px;
    box-shadow: 0 0 0 4px var(--bg);
  }
  .step h3 { margin: 4px 0 10px; }
  .crosshair-page .step p { margin-bottom: 12px; }
  .crosshair-page .step p:last-child { margin-bottom: 0; }
  .step figure { margin: 16px 0 0; }

  /* ===== FIGURES ===== */
  .crosshair-page figure { margin: 0 0 26px; }
  .crosshair-page figure img {
    width: 100%; height: auto; display: block; border-radius: 16px;
    border: 1px solid #ececec; background: var(--white);
  }
  .crosshair-page figcaption { font-size: 0.73rem; color: #b0b0b0; font-style: italic; text-align: center; margin-top: 10px; }

  /* ===== DÉMONSTRATION DE RÉTICULE =====
     Entièrement dessinée en CSS, aucune image : c'est le réticule conseillé
     par la page, quatre traits fins sans point central. */
  .cross-demo {
    display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: center;
    margin: 22px 0; padding: 24px; background: var(--white); border: 1px solid #ececec; border-radius: 16px;
  }
  .cross-view {
    aspect-ratio: 1; border-radius: 14px; background: linear-gradient(150deg, #1d2b25, #3d5245);
    display: flex; align-items: center; justify-content: center; position: relative;
  }
  .cross { position: relative; width: 40px; height: 40px; }
  .cross i { position: absolute; background: #00ffcc; box-shadow: 0 0 0 1px rgba(0,0,0,0.85); display: block; }
  .cross i.t { width: 2px; height: 9px; left: 19px; top: 3px; }
  .cross i.b { width: 2px; height: 9px; left: 19px; bottom: 3px; }
  .cross i.l { width: 9px; height: 2px; top: 19px; left: 3px; }
  .cross i.r { width: 9px; height: 2px; top: 19px; right: 3px; }
  .cross-set { display: grid; gap: 8px; }
  .cs-row {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding-bottom: 8px; border-bottom: 1px solid #f4f4f4; font-size: 0.82rem;
  }
  .cs-row:last-child { border-bottom: none; padding-bottom: 0; }
  .cs-row span { color: var(--text-light); }
  .cs-row b { color: var(--dark); font-weight: 700; white-space: nowrap; }

  /* ===== CARTES DE ROUTINES =====
     Les emojis des pastilles sont retirés, aucun visuel du projet ne dit ces
     sujets et le titre porte le sens. Le filet de couleur reste. */
  .cards { display: grid; gap: 14px; margin-top: 20px; }
  .card {
    background: var(--white); border: 1px solid #ececec; border-radius: 14px; padding: 20px 22px;
    position: relative; overflow: hidden; transition: all 0.22s;
  }
  .card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: #5c8ee6; }
  .card:hover { transform: translateX(3px); box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
  .card .c-top { margin-bottom: 8px; }
  .card h3 { margin: 0; font-size: 0.94rem; }
  .crosshair-page .card p { margin: 0; font-size: 0.87rem !important; line-height: 1.8 !important; }
  .crosshair-page .card p + p { margin-top: 9px !important; }

  /* ===== ERREURS ===== */
  .errs { display: grid; gap: 12px; margin-top: 20px; }
  .err {
    display: flex; align-items: flex-start; gap: 14px; padding: 17px 20px; background: var(--white);
    border: 1px solid #ececec; border-radius: 13px; transition: all 0.22s;
  }
  .err:hover { transform: translateX(3px); box-shadow: 0 8px 22px rgba(0,0,0,0.04); }
  .err .e-x {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: #fdeceb; color: #b83c37;
    font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  }
  .err strong { display: block; font-size: 0.88rem; color: var(--dark); margin-bottom: 4px; }
  .err span span, .err > span > span { font-size: 0.84rem; color: var(--text-light); line-height: 1.7; }

  /* ===== REPÈRES DE MENTAL ===== */
  .mind { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 20px; }
  .mind div {
    display: flex; align-items: flex-start; gap: 11px; padding: 16px 18px; background: var(--white);
    border: 1px solid #ececec; border-radius: 13px; font-size: 0.85rem; color: var(--text-light); line-height: 1.7;
  }
  .mind div::before { content: '✓'; flex-shrink: 0; color: #38a892; font-weight: 700; }

  @media (max-width: 768px) {
    .cross-demo { grid-template-columns: 1fr; }
    .cross-view { max-width: 190px; margin: 0 auto; }
    .mind { grid-template-columns: 1fr; }
  }

  @media (prefers-reduced-motion: reduce) {
    .card, .err { transition: none; }
  }
