/* =============================================================================
   DRIMBOT — Page « Le concept / Comment ça marche »
   Composants spécifiques : duo Vous/Drimbot dans la timeline,
   carte de positionnement 2×2, hero teinté.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   HERO
--------------------------------------------------------------------------- */
.concept-hero {
  background:
    radial-gradient(760px 420px at 92% -12%, var(--cobalt-tint) 0%, transparent 60%),
    radial-gradient(620px 380px at -6% 110%, var(--accent-tint) 0%, transparent 55%);
}
.concept-hero .tag-row { margin-top: 1.8rem; }

/* ---------------------------------------------------------------------------
   TIMELINE — panneaux « Vous » / « Drimbot » sous chaque étape
--------------------------------------------------------------------------- */
.step-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: .95rem;
  max-width: 680px;
}
@media (max-width: 720px) { .step-duo { grid-template-columns: 1fr; } }

.step-duo__col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .9rem 1.05rem;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.step-duo__col p { margin: 0; }
.step-duo__tag {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}
.step-duo__tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.step-duo__col--you .step-duo__tag { color: var(--cobalt); }
.step-duo__col--us {
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-tint) 45%, var(--surface)), var(--surface));
}
.step-duo__col--us .step-duo__tag { color: var(--accent); }

/* ---------------------------------------------------------------------------
   CARTE DE POSITIONNEMENT 2×2 (section sombre)
--------------------------------------------------------------------------- */
.pos-map {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  padding: 3rem 3.4rem;
}
.pos-map__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  border: 1px dashed rgb(255 255 255 / .22);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pos-map__cell {
  min-height: 170px;
  padding: 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .35rem;
  text-align: center;
  background: rgb(255 255 255 / .025);
}
.pos-map__cell:nth-child(odd) { border-right: 1px dashed rgb(255 255 255 / .22); }
.pos-map__cell:nth-child(-n+2) { border-bottom: 1px dashed rgb(255 255 255 / .22); }
.pos-map__who {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: #E7EAF0;
  line-height: 1.25;
}
.pos-map__hint {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: #7B8290;
  max-width: 24ch;
}
.pos-map__cell--us {
  background:
    radial-gradient(220px 140px at 50% 50%, rgb(0 155 97 / .22), transparent 75%),
    rgb(0 155 97 / .06);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.pos-map__cell--us .pos-map__who { color: #fff; font-size: 1.3rem; }
.pos-map__cell--us .pos-map__hint { color: #FCBFa2; color: color-mix(in srgb, var(--accent) 45%, #fff); }

.pos-map__axis {
  position: absolute;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .55);
  white-space: nowrap;
}
.pos-map__axis--top { top: .8rem; left: 50%; translate: -50% 0; }
.pos-map__axis--bottom { bottom: .8rem; left: 50%; translate: -50% 0; }
.pos-map__axis--left {
  left: .9rem;
  top: 50%;
  writing-mode: vertical-rl;
  rotate: 180deg;
  translate: 0 -50%;
}
.pos-map__axis--right {
  right: .9rem;
  top: 50%;
  writing-mode: vertical-rl;
  translate: 0 -50%;
}
@media (max-width: 640px) {
  .pos-map { padding: 2.4rem 2rem; }
  .pos-map__cell { min-height: 130px; padding: .9rem .6rem; }
  .pos-map__who { font-size: .9rem; }
  .pos-map__cell--us .pos-map__who { font-size: 1.05rem; }
  .pos-map__hint { font-size: .62rem; }
  .pos-map__axis { font-size: .56rem; }
  .pos-map__axis--left { left: .35rem; }
  .pos-map__axis--right { right: .35rem; }
}

/* ---------------------------------------------------------------------------
   TABLEAU COMPARATIF — colonne Drimbot mise en avant
--------------------------------------------------------------------------- */
.compare-table th.col-us, .compare-table td.col-us {
  background: color-mix(in srgb, var(--accent-tint) 38%, var(--surface));
  border-left: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
}
.compare-table th.col-us { color: var(--accent-strong); }
.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .compare-table td:first-child { white-space: normal; }
}
