/* ═══ SECTEURS — Bento grid text-only (Pencil design) ═══ */

.secteurs--dark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 64px var(--section-px);
  background: var(--section-bg);
}

/* ── Header ── */

.secteurs__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.secteurs__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--brume);
}

.secteurs__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.secteurs__title-l1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
  color: var(--noir);
  text-align: center;
}

.secteurs__title-l2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-text);
  text-align: center;
}

/* ── Bento grid ── */

.secteurs__bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
}

.secteurs__bento-row {
  display: contents;
}

.secteurs__bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  min-height: 160px;
  background: var(--blanc);
  border: 1px solid var(--brume-pale);
  border-radius: 16px;
  transition:
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.secteurs__bento-card:hover {
  border-color: rgba(184, 150, 90, 0.5);
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(184, 150, 90, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Tag pill */

.secteurs__bento-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--brume-deep);
  background: rgba(107, 125, 142, 0.07);
  padding: 6px 14px;
  border-radius: 100px;
  align-self: flex-start;
}

/* Title */

.secteurs__bento-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0;
}

/* Description */

.secteurs__bento-desc {
  display: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Arrow button */

.secteurs__bento-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--section-bg);
  flex-shrink: 0;
  transition: background 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.secteurs__bento-card:hover .secteurs__bento-arrow {
  background: var(--accent-bg);
  transform: translateX(4px);
}

/* ── Tech chips marquee ── */

.secteurs__chips {
  width: 100%;
  overflow: hidden;
  margin-top: 16px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.secteurs__chips-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: secteurs-chips-scroll 35s linear infinite;
}

@keyframes secteurs-chips-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.secteurs__chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gris-500);
  padding: 8px 16px;
  border: 1px solid rgba(184, 150, 90, 0.3);
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.secteurs__chip--filled {
  background: var(--tag-bg);
  color: var(--accent-text);
  border-color: rgba(184, 150, 90, 0.5);
}

/* ── Tablet ── */

@media (min-width: 768px) {
  .secteurs--dark {
    padding: 96px var(--section-px);
    gap: 48px;
  }

  .secteurs__title-l1 {
    font-size: 40px;
    letter-spacing: 0.5px;
  }

  .secteurs__title-l2 {
    font-size: 36px;
  }

  .secteurs__bento {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .secteurs__bento-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .secteurs__bento-card {
    flex: 1;
    min-height: 280px;
    padding: 36px;
    gap: 20px;
    justify-content: flex-end;
  }

  .secteurs__bento-desc {
    display: block;
  }

  .secteurs__bento-title {
    font-size: 24px;
  }
}

/* ── Desktop ── */

@media (min-width: 1024px) {
  .secteurs--dark {
    padding: 96px 120px;
  }

  .secteurs__title-l1 {
    font-size: 44px;
  }

  .secteurs__title-l2 {
    font-size: 40px;
  }
}
