/* ==========================================================================
   Single intervenant (CPT) — single-intervenant.php.
   Loaded only on that single view (see functions.php), after main.css.
   ========================================================================== */

/* ---- Hero --------------------------------------------------------------- */
.dt-hero-section {
  background: #111;
  padding: clamp(32px, 4vw, 64px) clamp(20px, 4vw, 30px) clamp(32px, 4vw, 56px);
}

.dt-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #8a8a8a;
  text-decoration: none;
  margin-bottom: clamp(20px, 2.6vw, 36px);
  transition: color 0.25s ease;
}

.dt-back:hover {
  color: #c3ff74;
}

.dt-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: stretch;
  background: #161616;
  border: 1px solid #575757;
  border-top: 8px solid #c3ff74;
  padding: clamp(22px, 2.8vw, 44px);
}

.dt-por {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #111;
  overflow: hidden;
}

.dt-por img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dt-por-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--pays, #c3ff74);
  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 8px 14px;
}

.dt-hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 22px);
}

.dt-hero-eyebrow {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #c3ff74;
}

.dt-hero-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 5.4vw, 76px);
  line-height: 0.92;
  letter-spacing: -2.6px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  color: #fff;
}

.dt-hero-rule {
  height: 8px;
  background: #c3ff74;
  max-width: 180px;
}

.dt-hero-role {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 150%;
  color: #fff;
  max-width: 560px;
}

.dt-linkedin {
  white-space: nowrap;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #c3ff74;
  color: #c3ff74;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 14px 24px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.dt-linkedin:hover {
  background: #0082fe;
  border-color: #0082fe;
  color: #fff;
}

.dt-linkedin svg,
.dt-card-btn svg,
.dt-send svg {
  flex: none;
}

/* ---- Biography ---------------------------------------------------------- */
.dt-bio {
  background: #161616;
  padding: clamp(40px, 5vw, 80px) clamp(20px, 4vw, 30px);
}

.dt-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.32fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
}

.dt-article {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 20px);
  max-width: 820px;
}

.dt-bio-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.08;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #fff;
}

.dt-bio-title--spaced {
  margin-top: clamp(14px, 1.8vw, 26px);
}

.dt-bio-text,
.dt-bio-body p {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 170%;
  color: #c9c9c9;
}

/* the_content / wysiwyg emit their own paragraphs — space them, and keep the
   whole block flowing with the article's gap. */
.dt-bio-body p + p {
  margin-top: clamp(14px, 1.6vw, 20px);
}

.dt-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 28px);
}

.dt-meta {
  display: flex;
  flex-direction: column;
}

.dt-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #333;
  padding: 14px 0;
}

.dt-meta-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a8a8a;
}

.dt-meta-value {
  font-size: 17px;
  font-weight: 500;
  line-height: 135%;
  color: #fff;
}

/* ---- Autres intervenants ------------------------------------------------ */
.dt-others {
  background: #111;
  padding: clamp(36px, 4.5vw, 72px) clamp(20px, 4vw, 30px) clamp(40px, 5vw, 72px);
}

.dt-others-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  border-top: 1px solid #575757;
  padding-top: 18px;
  margin-bottom: clamp(20px, 2.6vw, 36px);
}

.dt-others-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: #fff;
}

.dt-others-all {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #c3ff74;
  text-decoration: none;
}

.dt-others-all:hover {
  text-decoration: underline;
}

.dt-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.dt-card {
  display: flex;
  flex-direction: column;
  background: #161616;
  border: 1px solid #575757;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.22, 0.7, 0.2, 1),
    border-color 0.35s ease;
}

.dt-card:hover {
  transform: translateY(-6px);
  border-color: var(--ac);
}

.dt-card-por {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #111;
  overflow: hidden;
}

.dt-card-por img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.45s ease;
}

.dt-card:hover .dt-card-por img {
  filter: none;
}

.dt-card-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
}

.dt-card-badge {
  background: var(--pays, var(--ac));
  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 8px 14px;
}

.dt-card-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ac);
  color: #111;
  margin-bottom: 33px;
  transition: background 0.25s ease;
}

.dt-card:hover .dt-card-btn {
  background: #fff;
}

.dt-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 2vw, 26px);
  flex: 1;
}

.dt-card-name {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.06;
  letter-spacing: -0.6px;
  color: #fff;
}

.dt-card-role {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  color: #8a8a8a;
  flex: 1;
}

/* ---- CTA ---------------------------------------------------------------- */
.dt-cta-section {
  padding: 0 clamp(20px, 4vw, 30px) clamp(48px, 6vw, 90px);
  background: #111;
}

.dt-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  background: #c3ff74;
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
}

.dt-cta-text {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.6px;
  text-transform: uppercase;
  color: #111;
  max-width: 760px;
}

.dt-send {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #c3ff74;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 16px 28px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.dt-send:hover {
  background: #0082fe;
  color: #fff;
}

/* ---- Scroll reveal ------------------------------------------------------ */
.dt-reveal.js-armed {
  opacity: 0;
  transform: translateY(28px);
}

.dt-reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
  .dt-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .dt-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 760px) {
  .dt-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .dt-por {
    max-width: 320px;
  }

  .dt-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .dt-rail::-webkit-scrollbar {
    display: none;
  }

  .dt-rail > .dt-card {
    flex: 0 0 76%;
    scroll-snap-align: start;
  }
}
