/* =============================================================
   Solmateria — POUR QUI
   A breather in the narrative: sober, calm, editorial. After the
   interactive gamme cards, this section slows down — an icon +
   sector + benefit list with hairline rules. Warm palette kept,
   but no glows, no lift, no hover affordance (rows are not links).
   ============================================================= */

.pourqui {
  position: relative;
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #43404e 0%, #473f48 100%);
}

.pourqui__head {
  max-width: 44rem;
  margin: 0 auto var(--space-16);
  text-align: center;
}
.pourqui__title { font-size: var(--text-3xl); margin-top: var(--space-4); }

.secteurs {
  max-width: 56rem;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

/* ---- Glow card --------------------------------------------- */
/* Each family is a premium card: a cool, faintly-lifted surface that lights up
   with a soft orange spotlight + illuminated border on hover. The card stays
   COLD at rest (this is a neutral/cold narrative beat, §4); orange is kept to
   the icon and the hover glow only. */
.secteur {
  position: relative;
  isolation: isolate;   /* own stacking context so the -1 glow layers cleanly */
  overflow: hidden;     /* contains the blurred glow -> no horizontal overflow */
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.035); /* one notch lighter than the section */
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out);
}

/* Soft orange spotlight, anchored under the icon. A blurred radial -> diffuse
   glow (a spotlight, not a neon edge). Decorative; z-index:-1 paints it above
   the card surface but below the in-flow content, so no z-index juggling on the
   icon/body is needed. */
.secteur::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2.75rem;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    var(--brand-orange) 0%,
    var(--brand-orange-red) 45%,
    transparent 72%);
  filter: blur(38px);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out);
}

.secteur__icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(246, 140, 56, 0.10);
  color: #ECA877; /* calm warm tint — palette stays warm without shouting */
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.secteur__icon svg { width: 26px; height: 26px; }

.secteur__body { display: grid; gap: var(--space-1); }
.secteur__name {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}
.secteur__benefit {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ---- Hover: spotlight + illuminated border + lift (fine pointer) ---- */
@media (hover: hover) and (pointer: fine) {
  .secteur:hover {
    transform: translateY(-4px);
    border-color: rgba(246, 140, 56, 0.45);
    box-shadow: 0 20px 42px -26px rgba(246, 140, 56, 0.5);
    background: rgba(255, 255, 255, 0.05);
  }
  .secteur:hover::before { opacity: 0.2; }
  .secteur:hover .secteur__icon {
    background: rgba(246, 140, 56, 0.16);
    color: var(--brand-orange);
  }
}

/* ---- Reduced motion: freeze lift, glow and transitions ---- */
@media (prefers-reduced-motion: reduce) {
  .secteur { transition: none; }
  .secteur:hover { transform: none; box-shadow: none; }
  .secteur:hover::before { opacity: 0; }
}

/* ---- Desktop: a touch more air inside each card ---- */
@media (min-width: 720px) {
  .secteur { gap: var(--space-8); padding: var(--space-8); }
  .secteur::before { left: 3.5rem; }
}
