/* ============================================
   TECHNOLOGIE.CSS — Technology Page
   ============================================ */

/* ── HERO ── */
.tech-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  background: var(--n900);
  overflow: hidden;
  padding-top: var(--header-h);
}

.tech-hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(26, 111, 240, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 111, 240, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.tech-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tech-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.tech-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(2, 12, 27, 0.75) 0%,
    rgba(2, 12, 27, 0.4) 50%,
    rgba(2, 12, 27, 0.8) 100%
  );
}

.tech-hero__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem var(--pad);
  position: relative;
  z-index: 2;
}

.tech-hero__title {
  font-family: var(--fs);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.tech-hero__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ── CLIENT SOLUTIONS (loupe cards with bg) ── */
.client-solutions {
  position: relative;
  overflow: hidden;
  background: var(--n900);
}

/* Client carousel (same as homepage) */
.clients__carousel {
  position: relative;
  overflow: hidden;
}
.clients__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 3;
}
.clients__arrow--prev {
  left: 8px;
}
.clients__arrow--next {
  right: 8px;
}
.clients__arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--blue2);
}
.clients__arrow svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.clients__track {
  display: flex;
  gap: 1rem;
  touch-action: pan-x pinch-zoom;
}
.client-card {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
  flex-shrink: 0;
}
.client-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.client-card:hover .client-card__image {
  transform: scale(1.06);
}
.client-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2, 12, 27, 0.9) 0%,
    rgba(2, 12, 27, 0.3) 55%,
    transparent 100%
  );
}
.client-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
}
.client-card__tag {
  font-family: var(--fs);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}
.client-card__title {
  font-family: var(--fs);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0;
  transition: margin-bottom 0.3s;
}
.client-card:hover .client-card__title {
  margin-bottom: 0.35rem;
}
.client-card__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.4s,
    opacity 0.3s 0.05s;
}
.client-card:hover .client-card__desc,
.client-card.is-tapped .client-card__desc {
  max-height: 80px;
  opacity: 1;
}

.client-solutions__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/technologie/tech-problem-bg.jpeg") center/cover
    no-repeat;
  opacity: 0.1;
}

.client-solutions__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(2, 12, 27, 0.85) 0%,
    rgba(2, 12, 27, 0.7) 50%,
    rgba(2, 12, 27, 0.85) 100%
  );
}

.client-solutions__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem var(--pad);
  position: relative;
  z-index: 2;
}

.client-solutions__header {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.client-solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.sol-client-card {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  transition: transform 0.4s;
}

.sol-client-card:hover {
  transform: translateY(-4px);
}

.sol-client-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.sol-client-card:hover .sol-client-card__img {
  transform: scale(1.06);
}

.sol-client-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2, 12, 27, 0.85) 0%,
    rgba(2, 12, 27, 0.2) 60%,
    transparent 100%
  );
}

.sol-client-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
}

.sol-client-card__tag {
  font-family: var(--fs);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}

.sol-client-card__text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ── CTA FINAL (tech page) ── */
.cta-final {
  background: linear-gradient(135deg, #0a1628 0%, #0f2247 50%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 50%,
    rgba(26, 111, 240, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-final__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem var(--pad);
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-final__eyebrow {
  justify-content: center;
}

.cta-final__title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.cta-final__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── PROBLEM SECTION ── */
.tech-problem {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
}

.tech-problem__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/technologie/tech-problem-bg.jpeg") center/cover
    no-repeat;
  background-attachment: fixed;
  opacity: 0.15;
}

.tech-problem__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(2, 12, 27, 0.9) 0%,
    rgba(2, 12, 27, 0.75) 50%,
    rgba(2, 12, 27, 0.9) 100%
  );
}

.tech-problem__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

.tech-problem__header {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* bullets removed — integrated into reveal cards */

.tech-problem__punchline {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  background: var(--n800);
  position: relative;
  overflow: hidden;
}

/* ── Holographic background ── */
.how-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Layer 1 — garage, fixed */
.how-bg__layer1 {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: 0.2;
}

/* Layer 2 — wireframe car, appears on scroll */
.how-bg__layer2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  max-width: 700px;
  object-fit: contain;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: opacity, transform;
}

/* Scan line — sweeps when car appears */
.how-bg__scanline {
  position: absolute;
  top: 10%;
  left: 0;
  width: 3px;
  height: 80%;
  background: linear-gradient(
    180deg,
    rgba(93, 163, 255, 0) 0%,
    rgba(93, 163, 255, 0.7) 25%,
    rgba(93, 163, 255, 1) 50%,
    rgba(93, 163, 255, 0.7) 75%,
    rgba(93, 163, 255, 0) 100%
  );
  box-shadow: 0 0 16px 4px rgba(93, 163, 255, 0.3);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

/* Overlay to darken for readability */
.how-bg__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 22, 36, 0.85) 0%,
    rgba(15, 22, 36, 0.7) 50%,
    rgba(15, 22, 36, 0.85) 100%
  );
}

.how-it-works__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem var(--pad);
  position: relative;
  z-index: 2;
}

.how-it-works__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.how-it-works__header .eyebrow {
  justify-content: center;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.how-it-works__grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(93, 163, 255, 0.2),
    rgba(93, 163, 255, 0.4),
    rgba(93, 163, 255, 0.2)
  );
  z-index: 0;
}

.how-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
  cursor: pointer;
  outline: none;
}

.how-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(26, 111, 240, 0.12);
  border: 1px solid rgba(93, 163, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--fs);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  position: relative;
  background: var(--n800);
}

.how-step__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.how-step__title {
  font-family: var(--fs);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0;
}

.how-step__hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(93, 163, 255, 0.12);
  border: 1px solid rgba(93, 163, 255, 0.3);
  font-family: var(--fs);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--blue3);
  flex-shrink: 0;
  transition:
    background 0.3s,
    transform 0.3s;
}

.how-step:hover .how-step__hint,
.how-step.is-open .how-step__hint {
  background: rgba(93, 163, 255, 0.25);
  transform: scale(1.15);
}

.how-step__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s 0.05s;
}

/* Desktop: hover reveal */
.how-step:hover .how-step__text,
.how-step.is-open .how-step__text {
  max-height: 120px;
  opacity: 1;
}

/* ── BENEFITS ── */
.tech-benefits {
  background: var(--g50);
}

.tech-benefits__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.tech-benefits__content .section-title {
  color: var(--g700);
  margin-bottom: 1.5rem;
}

.tech-benefits__text {
  font-size: 0.95rem;
  color: var(--g500);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-sm);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

/* Scan sweep on hover */
.benefit-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(26, 111, 240, 0.05),
    transparent
  );
  pointer-events: none;
}

.benefit-item:hover::before {
  animation: benefitScan 0.6s ease forwards;
}

@keyframes benefitScan {
  0% {
    left: -60%;
  }
  100% {
    left: 120%;
  }
}

.benefit-item:hover {
  border-color: var(--blue3);
  box-shadow: 0 0 0 4px rgba(59, 139, 245, 0.06);
  transform: translateX(6px);
}

/* Icon */
.benefit-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.benefit-item__icon svg {
  width: 100%;
  height: 100%;
}

/* SVG styles — unified blue */
.benefit-ring,
.benefit-hand,
.benefit-bars,
.benefit-check,
.benefit-chart {
  fill: none;
  stroke: var(--blue2);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-ring {
  stroke-width: 1.5;
  stroke: rgba(26, 111, 240, 0.25);
  transition:
    stroke 0.4s,
    filter 0.4s;
}

.benefit-hand {
  stroke-width: 2;
  stroke-dasharray: 25;
  stroke-dashoffset: 25;
}
.benefit-bars {
  stroke-width: 3;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
.benefit-check {
  stroke-width: 2.5;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
.benefit-chart {
  stroke-width: 2;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}

/* Draw SVGs when visible */
.benefit-anim.is-visible .benefit-bars,
.benefit-anim.is-visible .benefit-check,
.benefit-anim.is-visible .benefit-chart,
.benefit-anim.is-visible .benefit-hand {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-anim:nth-child(1).is-visible .benefit-hand {
  transition-delay: 0s;
}
.benefit-anim:nth-child(2).is-visible .benefit-bars {
  transition-delay: 0.15s;
}
.benefit-anim:nth-child(3).is-visible .benefit-check {
  transition-delay: 0.3s;
}
.benefit-anim:nth-child(4).is-visible .benefit-chart {
  transition-delay: 0.45s;
}

.benefit-anim.is-visible .benefit-ring {
  stroke: rgba(26, 111, 240, 0.45);
}

/* Hover glow */
.benefit-item:hover .benefit-ring {
  stroke: rgba(26, 111, 240, 0.6);
  filter: drop-shadow(0 0 8px rgba(26, 111, 240, 0.25));
}

/* Title */
.benefit-item__title {
  font-family: var(--fs);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--g700);
  flex: 1;
}

/* bar removed */

.tech-benefits__visual {
  position: relative;
}

.tech-benefits__img-wrapper {
  border-radius: var(--r-md);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

.tech-benefits__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-benefits__img.is-scanned {
  clip-path: inset(0 0% 0 0);
}

/* Scan line over image */
.tech-benefits__img-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(93, 163, 255, 0) 0%,
    rgba(93, 163, 255, 0.8) 25%,
    rgba(93, 163, 255, 1) 50%,
    rgba(93, 163, 255, 0.8) 75%,
    rgba(93, 163, 255, 0) 100%
  );
  box-shadow: 0 0 14px 4px rgba(93, 163, 255, 0.3);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

/* ── INTEGRATION ── */
.tech-integration {
  position: relative;
  overflow: hidden;
}

.tech-integration__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/technologie/tech-integration-bg.png") center/cover
    no-repeat;
  background-attachment: fixed;
  opacity: 0.15;
}

.tech-integration__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(2, 12, 27, 0.9) 0%,
    rgba(2, 12, 27, 0.75) 50%,
    rgba(2, 12, 27, 0.9) 100%
  );
}

.tech-integration__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem var(--pad);
  position: relative;
  z-index: 2;
}

.tech-integration__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.tech-integration__header .eyebrow {
  justify-content: center;
}

.tech-integration__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.integration-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm);
  padding: 2rem;
  text-align: center;
  transition: all var(--t-base);
}

.integration-card:hover {
  background: rgba(26, 111, 240, 0.06);
  border-color: rgba(93, 163, 255, 0.15);
  transform: translateY(-4px);
}

.integration-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26, 111, 240, 0.12);
  border: 1px solid rgba(26, 111, 240, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.integration-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue3);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.integration-card__title {
  font-family: var(--fs);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.integration-card__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* ── CASE STUDY ── */
.tech-case {
  background: var(--n800);
}

.tech-case__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem var(--pad);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.tech-case__label {
  font-family: var(--fs);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.tech-case__headline {
  font-family: var(--fs);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--white);
  line-height: 0.95;
}

.tech-case__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tech-result {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-sm);
  padding: 1.5rem;
  text-align: center;
}

.tech-result__num {
  font-family: var(--fs);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.tech-result__num em {
  color: var(--accent);
  font-style: normal;
}

.tech-result__label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── CLIENT TYPES ── */
.tech-clients {
  background: var(--g50);
}

.tech-clients__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem var(--pad);
}

.tech-clients__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.tech-clients__header .eyebrow {
  justify-content: center;
}

.tech-clients__header .section-title {
  color: var(--g700);
}

.tech-clients__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.tech-client-card {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-sm);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--t-base);
}

.tech-client-card:hover {
  border-color: var(--blue3);
  transform: translateY(-3px);
}

.tech-client-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-xs);
  background: var(--off);
  border: 1px solid var(--g100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-client-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-client-card__type {
  font-family: var(--fs);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}

.tech-client-card__title {
  font-family: var(--fs);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--g700);
  margin-bottom: 0.5rem;
}

.tech-client-card__text {
  font-size: 0.85rem;
  color: var(--g500);
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tech-benefits__inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .how-it-works__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-it-works__grid::before {
    display: none;
  }

  .tech-integration__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-case__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .tech-clients__grid {
    grid-template-columns: 1fr;
  }
}

/* ── REVEAL CARDS — Problem / Solution ── */
.reveal-hint {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-family: var(--fi);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.reveal-hint--mobile {
  display: none;
}

/* ── REVEAL CARD GRID ── */
.reveal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

/* ── REVEAL CARD ── */
.reveal-card {
  position: relative;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: border-color 0.5s;
  /* Grid stacking: both layers occupy the same cell */
  display: grid;
}

.reveal-card > .reveal-card__layer {
  grid-area: 1 / 1;
  padding: 2rem;
}

/* Neon scan line */
.reveal-card__scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(93, 163, 255, 0) 0%,
    rgba(93, 163, 255, 0.9) 30%,
    rgba(93, 163, 255, 0.9) 70%,
    rgba(93, 163, 255, 0) 100%
  );
  box-shadow:
    0 0 12px 3px rgba(93, 163, 255, 0.4),
    0 0 30px 6px rgba(93, 163, 255, 0.15);
  opacity: 0;
  transform: translateX(-4px);
  transition: none;
  pointer-events: none;
  z-index: 3;
}

/* Layers */
.reveal-card__layer {
  transition:
    opacity 0.4s 0.25s,
    transform 0.4s 0.25s;
}

.reveal-card__problem {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

.reveal-card__solution {
  opacity: 0;
  transform: translateY(8px);
  z-index: 2;
}

/* ── ACTIVE STATE (hover desktop / .is-active mobile) ── */
.reveal-card:hover,
.reveal-card.is-active {
  border-color: rgba(26, 111, 240, 0.3);
  background: #0c1a35;
}

.reveal-card:hover .reveal-card__problem,
.reveal-card.is-active .reveal-card__problem {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.reveal-card:hover .reveal-card__solution,
.reveal-card.is-active .reveal-card__solution {
  opacity: 1;
  transform: translateY(0);
}

/* Scan line animation on hover */
.reveal-card:hover .reveal-card__scan,
.reveal-card.is-active .reveal-card__scan {
  animation: scanReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scanReveal {
  0% {
    left: 0;
    opacity: 1;
    transform: translateX(-4px);
  }
  100% {
    left: 100%;
    opacity: 0;
    transform: translateX(0);
  }
}

/* ── CARD TYPOGRAPHY ── */
.reveal-card__label {
  font-family: var(--fs);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.reveal-card__label--red {
  color: var(--error);
}
.reveal-card__label--blue {
  color: var(--blue3);
}

/* Pictograms inside reveal cards */
.reveal-card__picto {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
}

.reveal-card__picto svg {
  width: 100%;
  height: 100%;
}

/* Problem side — red tones */
.rp-ring {
  fill: none;
  stroke: rgba(239, 68, 68, 0.3);
  stroke-width: 1.2;
  transition: stroke 0.4s;
}

.rp-icon {
  fill: none;
  stroke: #ef4444;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: rpDraw 1.2s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rpDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Solution side — blue tones */
.rs-ring {
  fill: none;
  stroke: rgba(93, 163, 255, 0.3);
  stroke-width: 1.2;
  transition: stroke 0.4s;
}

.rs-icon {
  fill: none;
  stroke: var(--blue3);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
}

/* Draw solution icons only when revealed (hover/tap) */
.reveal-card:hover .rs-icon,
.reveal-card.is-active .rs-icon {
  animation: rsDraw 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-card:hover .rs-ring,
.reveal-card.is-active .rs-ring {
  stroke: rgba(93, 163, 255, 0.6);
  filter: drop-shadow(0 0 8px rgba(93, 163, 255, 0.2));
}

@keyframes rsDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.reveal-card__title {
  font-family: var(--fs);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.reveal-card__text {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.reveal-card__solution .reveal-card__text {
  color: rgba(255, 255, 255, 0.65);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .reveal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Fix background-attachment: fixed on mobile (iOS doesn't support it) */
  .tech-problem__bg,
  .tech-integration__bg {
    background-attachment: scroll;
  }

  /* Holographic bg — disable sticky on mobile */
  .how-bg__layer1 {
    position: absolute;
    height: 100%;
  }

  .how-bg__layer2 {
    width: 85%;
  }

  .how-it-works__grid {
    grid-template-columns: 1fr;
  }

  .tech-integration__grid {
    grid-template-columns: 1fr;
  }

  .tech-case__results {
    grid-template-columns: 1fr;
  }

  .reveal-grid {
    grid-template-columns: 1fr;
  }

  .client-solutions__grid {
    grid-template-columns: 1fr;
  }

  .reveal-hint--desktop {
    display: none;
  }
  .reveal-hint--mobile {
    display: inline;
  }

  /* Mobile: no hover on how-steps, use tap (.is-open) */
  .how-step:hover .how-step__text {
    max-height: 0;
    opacity: 0;
  }
  .how-step.is-open .how-step__text {
    max-height: 120px;
    opacity: 1;
  }

  /* Mobile: no hover, use tap (.is-active) */
  .reveal-card:hover .reveal-card__problem {
    opacity: 1;
    transform: none;
  }
  .reveal-card:hover .reveal-card__solution {
    opacity: 0;
    transform: translateY(8px);
  }
  .reveal-card:hover .reveal-card__scan {
    animation: none;
  }
  .reveal-card:hover {
    border-color: rgba(255, 255, 255, 0.07);
    background: #111827;
  }
}
