/* Visuels HTML/CSS des décryptages (jauges, entonnoir, règle des 3).
   Données lisibles en texte dans le HTML : rien n'est dessiné en image, les IA et les lecteurs d'écran lisent les mêmes chiffres. */

.guide .dv {
  margin: var(--sp-4w) 0;
  padding: var(--sp-3w);
  background: var(--tint-pale);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.guide .dv-title {
  margin: 0 0 var(--sp-3w);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--klein);
}
.guide .dv figcaption {
  margin-top: var(--sp-3w);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Jauges : zones proportionnelles, seuils écrits sous la barre */
.guide .dv-gauge + .dv-gauge { margin-top: var(--sp-4w); }
.guide .dv-gauge-head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2w);
  flex-wrap: wrap;
  margin: 0 0 var(--sp-2v);
  font-weight: 700;
  color: var(--ink);
}
.guide .dv-gauge-head span { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.guide .dv-track {
  display: flex;
  height: 2.75rem;
  border-radius: var(--r-sm);
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}
.guide .dv-track li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  margin: 0;
}
.guide .dv-z0 { background: #d9dde9; color: var(--ink-soft); }
.guide .dv-z1 { background: #b4c5ff; color: var(--klein-deep); }
.guide .dv-z2 { background: var(--klein); color: #fff; }
.guide .dv-z3 { background: var(--accent); color: var(--ink); }
.guide .dv-ticks {
  position: relative;
  height: 1.4rem;
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.guide .dv-ticks span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.guide .dv-ticks span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.6rem;
  height: 0.45rem;
  border-left: 2px solid var(--ink);
}

/* Entonnoir : du budget au client */
.guide .dv-funnel {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.guide .dv-funnel li {
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2w);
  padding: 0.7rem var(--sp-2w);
  border-radius: var(--r-sm);
  background: var(--klein);
  color: #fff;
  min-width: min(100%, 15rem);
}
.guide .dv-funnel li:nth-child(1) { width: 100%; }
.guide .dv-funnel li:nth-child(2) { width: 88%; }
.guide .dv-funnel li:nth-child(3) { width: 74%; }
.guide .dv-funnel li:nth-child(4) { width: 60%; }
.guide .dv-funnel li.dv-result { width: 60%; background: var(--accent); color: var(--ink); }
.guide .dv-funnel strong { font-size: 1.15rem; white-space: nowrap; }
.guide .dv-funnel span { font-size: 0.85rem; opacity: 0.9; text-align: right; }

/* Règle des 3 : marge client, coût d'acquisition, plafond (marge / 3) */
.guide .dv-ratio + .dv-ratio { margin-top: var(--sp-3w); }
.guide .dv-ratio-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2v) var(--sp-2w);
  margin: 0 0 var(--sp-2v);
  font-weight: 700;
}
.guide .dv-verdict { padding: 0.1rem 0.6rem; border-radius: var(--r-pill); font-size: 0.85rem; }
.guide .dv-verdict.is-ko { background: #ffe1d4; color: #8a2d07; }
.guide .dv-verdict.is-ok { background: var(--klein); color: #fff; }
.guide .dv-bar-zone { position: relative; height: 2.5rem; }
.guide .dv-bar-marge {
  position: absolute;
  inset: 0 auto 0 0;
  background: #b4c5ff;
  border-radius: var(--r-sm);
}
.guide .dv-bar-cac {
  position: absolute;
  inset: 0.45rem auto 0.45rem 0;
  background: var(--accent);
  border-radius: 2px;
}
.guide .dv-bar-cap {
  position: absolute;
  top: -0.3rem;
  bottom: -0.3rem;
  border-left: 2px dashed var(--ink);
}
.guide .dv-ratio-legend {
  margin: var(--sp-2v) 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.guide .dv-keys {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2v) var(--sp-3w);
  margin: var(--sp-3w) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.guide .dv-keys li { display: flex; align-items: center; gap: 0.4rem; margin: 0; }
.guide .dv-key { display: inline-block; width: 1rem; height: 0.75rem; border-radius: 2px; }
.guide .dv-key.k-marge { background: #b4c5ff; }
.guide .dv-key.k-cac { background: var(--accent); }
.guide .dv-key.k-cap { width: 0; height: 1rem; border-left: 2px dashed var(--ink); border-radius: 0; }

@media (max-width: 40em) {
  .guide .dv { padding: var(--sp-2w); }
  .guide .dv-track li { font-size: 0.7rem; }
  .guide .dv-funnel li { width: 100% !important; }
}

/* Bouton de rendez-vous dans le corps d'un décryptage */
.guide .guide-cta { margin: var(--sp-4w) 0; }
.guide .guide-cta .btn { text-decoration: none; }

/* Annule les puces, numéros et marges des listes et paragraphes de .guide (main.css) */
.guide .dv ol, .guide .dv ul { margin: 0; padding: 0; gap: 0; list-style: none; }
.guide .dv li { line-height: 1.2; }
.guide .dv li::before, .guide .dv li::marker { content: none; display: none; }
.guide .dv p { margin-top: 0; line-height: 1.4; }
.guide .dv .dv-funnel { gap: 0.4rem; }
.guide .dv .dv-keys { gap: var(--sp-2v) var(--sp-3w); margin-top: var(--sp-3w); }
.guide .dv .dv-keys li { padding-left: 0; font-size: 0.85rem; }
.guide .dv .dv-ratio-legend, .guide .dv figcaption { font-size: 0.85rem; }
.guide .dv .dv-ticks { margin-top: 0.35rem; font-size: 0.8rem; }
.guide .dv .dv-gauge-head { margin-bottom: var(--sp-2v); }
.guide .dv .dv-ratio-head { margin-bottom: var(--sp-2v); color: var(--ink); }
.guide .dv .dv-title { margin-bottom: var(--sp-3w); color: var(--klein); font-size: 0.8rem; }
.guide .dv-funnel li span { color: inherit; font-size: 0.85rem; }
.guide .dv-funnel li strong { color: inherit; }
.guide .dv-funnel li.dv-result strong { color: var(--ink); }
.guide .dv .dv-ratio-legend { margin-top: 0.75rem; }
.guide .guide-cta .btn { white-space: normal; max-width: 100%; height: auto; min-height: 3rem; padding-top: 0.6rem; padding-bottom: 0.6rem; text-align: center; line-height: 1.3; }
