/* ═══════════════════════════════════════════════════════════════════
   Le bloc comptabilité de la page d'accueil.

   Il ne réutilise pas les classes ft-* des pages /features : celles-ci
   posent une colonne de texte, et c'est justement ce qu'on ne veut pas
   ici. Un visiteur de la page d'accueil ne lit pas, il regarde.
   ═══════════════════════════════════════════════════════════════════ */

.cpt { padding: 96px 0; border-top: 1px solid var(--line); }
.cpt-head { max-width: 680px; margin-bottom: 46px; }
.cpt-eyebrow {
  display: block; font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--teal-700); margin-bottom: 12px;
}
.cpt-head h2 {
  font-size: clamp(30px, 4vw, 46px); line-height: 1.08;
  letter-spacing: -.028em; font-weight: 600; margin-bottom: 16px;
}
.cpt-head p { font-size: 18px; color: var(--fg-2); line-height: 1.55; }

/* ─── Le troc : ce qu'on remplace, et par quoi ─────────────────── */
.cpt-troc {
  display: grid; grid-template-columns: 1fr 54px 1fr;
  gap: 0; align-items: stretch;
}
.cpt-col {
  border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 28px; background: #fff;
}
.cpt-col--avant { background: var(--bg-2); }
.cpt-col--apres { border-color: #c4c1fb; background: var(--teal-50); }
.cpt-lbl {
  display: block; font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--fg-muted); margin-bottom: 18px;
}
.cpt-col--apres .cpt-lbl { color: var(--teal-700); }

.cpt-col--avant ul { list-style: none; padding: 0; margin: 0; }
.cpt-col--avant li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line-2);
}
.cpt-col--avant li:last-child { border-bottom: 0; padding-bottom: 0; }
.cpt-col--avant b {
  font-weight: 500; font-size: 16px; color: var(--fg-muted);
  text-decoration: line-through; text-decoration-color: rgba(225, 29, 72, .55);
  text-decoration-thickness: 1.5px;
}
.cpt-col--avant em {
  font-style: normal; font-size: 14px; color: var(--fg-muted);
  white-space: nowrap;
}
.cpt-note { margin-top: 18px; font-size: 12.5px; color: var(--fg-muted); }

/* La flèche, discrète, et qui se couche sur mobile */
.cpt-fleche {
  display: flex; align-items: center; justify-content: center;
  color: var(--line-2);
}
.cpt-fleche svg { width: 26px; height: 26px; }

.cpt-prix { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.cpt-prix strong {
  font-size: 62px; font-weight: 600; letter-spacing: -.035em;
  line-height: 1; color: var(--fg);
}
.cpt-prix span { font-size: 16px; color: var(--fg-2); }
.cpt-col--apres > p { font-size: 15.5px; color: var(--fg-2); line-height: 1.55; margin-bottom: 18px; }
.cpt-inclus { list-style: none; padding: 0; margin: 0; }
.cpt-inclus li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 15px; color: var(--fg);
}
.cpt-inclus i { color: var(--teal-700); font-size: 15px; line-height: 1.5; }

/* ─── Le trajet d'une consultation, en quatre vignettes ────────── */
.cpt-flux {
  list-style: none; padding: 0; margin: 46px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  counter-reset: etape;
}
.cpt-flux li {
  position: relative; padding: 22px 20px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
/* La flèche entre deux vignettes, dessinée en CSS plutôt qu'en image */
.cpt-flux li + li::before {
  content: ''; position: absolute; left: -11px; top: 50%;
  width: 8px; height: 8px; margin-top: -4px;
  border-top: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2);
  transform: rotate(45deg);
}
.cpt-flux-ico {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--teal-50); color: var(--teal-700);
  font-size: 18px; margin-bottom: 14px;
}
/* Nommer plutôt que viser « span » : .cpt-flux span visait aussi la
   pastille de l'icône, avec une spécificité supérieure à .cpt-flux-ico et
   une déclaration plus tardive. La pastille perdait son display:flex, et
   l'icône se retrouvait collée en haut à gauche. */
.cpt-flux b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.cpt-flux-txt { display: block; font-size: 13.5px; color: var(--fg-muted); line-height: 1.45; }

/* Le lien vers la page qui détaille la comptabilité. */
.cpt-suite { margin-top: 36px; }

/* ─── Les experts-comptables ───────────────────────────────────── */
.cpt-exp { padding: 96px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.cpt-exp-grid {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 54px; align-items: start;
}
.cpt-exp-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1;
  letter-spacing: -.026em; font-weight: 600; margin-bottom: 16px;
}
.cpt-exp-copy p { font-size: 17px; color: var(--fg-2); line-height: 1.6; margin-bottom: 26px; }
.cpt-exp-cartes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cpt-exp-cartes li {
  display: grid; grid-template-columns: 46px 1fr; gap: 18px;
  align-items: start; padding: 22px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
}
.cpt-exp-ico {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--teal-50); color: var(--teal-700); font-size: 20px;
}
.cpt-exp-txt b { display: block; font-size: 16.5px; margin-bottom: 5px; }
.cpt-exp-txt span { display: block; font-size: 15px; color: var(--fg-2); line-height: 1.55; }

@media (max-width: 980px) {
  .cpt, .cpt-exp { padding: 64px 0; }
  .cpt-troc { grid-template-columns: 1fr; gap: 14px; }
  .cpt-fleche { transform: rotate(90deg); height: 30px; }
  .cpt-flux { grid-template-columns: 1fr 1fr; }
  .cpt-flux li + li::before { display: none; }
  .cpt-exp-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .cpt-flux { grid-template-columns: 1fr; }
  .cpt-prix strong { font-size: 52px; }
  /* Le nom du poste et son montant côte à côte tenaient sur un écran de
     bureau. Dans 340 px, « Un logiciel de comptabilité » se cassait en trois
     lignes pendant que le montant gardait la sienne : ils s'empilent. */
  .cpt-col--avant li { flex-direction: column; align-items: flex-start; gap: 3px; }
  .cpt-col--avant em { white-space: normal; }
}
