/* ============================================================
   TECHNIQUE §3 — Quantic Lift
   /wp-content/themes/quantic-child/css/technique.css
   v2.10 — fix spécificité : border-left écrasé via #technique
   ============================================================ */

.ql-name { font-weight: 700; text-transform: uppercase; }
.ql-lift  { font-weight: 300; text-transform: uppercase; }
.ql-tm {
  font-size: 0.45em;
  vertical-align: super;
  font-weight: 400;
  color: #4A6B61;
  margin-left: 0.05em;
  letter-spacing: 0;
}

#technique {
  background: #2A3836;
  color: #FFFFFF;
  padding: 72px 0 72px;
  position: relative;
}

.tech-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}

.tech-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4A6B61;
  margin: 0 0 24px;
  opacity: 0;
}

.tech-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin: 0 0 18px;
  opacity: 0;
}

.tech-intro {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: #CAD5D3;
  max-width: 600px;
  margin: 0 0 40px;
  opacity: 0;
}

.tech-intro .ql-tm { color: rgba(202, 213, 211, 0.45); }

.tech-line-wrap {
  margin-bottom: 36px;
  opacity: 0;
}

.tech-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #4A6B61 0%, rgba(74, 107, 97, 0.1) 100%);
  transform-origin: left;
  transform: scaleX(0);
}

/* ── Desktop grid ── */
.tech-actes--desktop {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.tech-acte {
  padding: 40px 48px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
}

.tech-acte + .tech-acte {
  border-left: 1px solid rgba(74, 107, 97, 0.25);
  padding-left: 48px;
  padding-right: 40px;
}

.tech-acte:last-child { padding-right: 0; }

.tech-acte-num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}

.tech-num-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4A6B61;
}

.tech-num-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
}

.tech-acte-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4A6B61;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tech-acte-tag::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: #4A6B61;
  flex-shrink: 0;
}

.tech-acte-verb {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.0;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.tech-acte-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 400;
  line-height: 1.65;
  color: #CAD5D3;
  flex: 1;
}

.tech-acte-desc .ql-tm { color: rgba(202, 213, 211, 0.45); }

.tech-acte-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s ease, gap 0.3s ease;
}

.tech-acte-cta::after { content: '→'; }
.tech-acte-cta:hover { opacity: 1; gap: 14px; }
.tech-acte:hover .tech-num-val { color: rgba(255, 255, 255, 0.13); }

.tech-sep-bottom {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #4A6B61 0%, rgba(74, 107, 97, 0.1) 100%);
  margin-top: 40px;
  opacity: 0;
}

/* ── Mobile stack — même pattern que .ql-benefices__mobile-stack ── */
.tech-actes-stack {
  position: relative;
  /* hauteur fixée par JS */
}

.tech-acte--mobile {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0;
  border: none;
  opacity: 0;
}

/* ── Visibilité selon breakpoint ── */
@media (min-width: 769px) {
  .tech-actes-stack { display: none; }
}

@media (max-width: 768px) {
  #technique { padding: 80px 0 100px; }
  .tech-inner { padding: 0 24px; }

  .tech-actes--desktop { display: none; }
  .tech-line-wrap      { display: none; }
  .tech-sep-bottom     { display: none; }

  .tech-intro { margin-bottom: 40px; }

  .tech-actes-stack { overflow: hidden; }

  /* Spécificité renforcée via #technique pour écraser
     .tech-acte + .tech-acte qui ajoute le border-left */
  #technique .tech-acte--mobile {
    border-left: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 480px) {
  #technique { padding: 64px 0 80px; }
  .tech-inner { padding: 0 20px; }
}