/* global React, GamacaPrimitives */
const { RuleEyebrow } = GamacaPrimitives;

function ReferencesSection() {
  const cases = [
    {
      tag: "Retail / Supply",
      title: "Stock Prediction",
      enjeu: "Reduce costly stock-outs across a 500-store retail network.",
      impact: "Custom predictive model deployment. 15% reduction in stock-outs in 3 months.",
    },
    {
      tag: "Customer Service",
      title: "Augmented Support",
      enjeu: "Decongest a level-1 support team saturated with recurring, time-consuming queries.",
      impact: "Design Sprint to validate a hybrid AI assistant. 40% of incoming tickets automated.",
    },
    {
      tag: "Healthcare / Admin",
      title: "Document Analysis",
      enjeu: "Manual processing of thousands of heterogeneous, unstructured medical reports.",
      impact: "Secure RAG architecture to extract and synthesize key data in seconds.",
    },
  ];
  return (
    <section id="references" className="py-24 bg-stone-900 text-white">
      <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
        <div className="mb-16 border-b border-stone-700 pb-6">
          <h2 className="text-3xl font-bold">Strategic Engagements</h2>
          <p className="mt-2 text-stone-400">Concrete examples of business impact.</p>
        </div>
        <div className="grid md:grid-cols-3 gap-12">
          {cases.map((c) => (
            <div key={c.title} className="group">
              <RuleEyebrow tone="dark">{c.tag}</RuleEyebrow>
              <h3 className="text-xl font-bold text-white mb-3 group-hover:text-stone-300 transition-colors">{c.title}</h3>
              <p className="text-stone-400 text-sm leading-relaxed mb-4">
                <strong>Challenge:</strong> {c.enjeu}
              </p>
              <p className="text-stone-300 text-sm border-l-2 border-stone-600 pl-4">
                <strong>Impact:</strong> {c.impact}
              </p>
            </div>
          ))}
        </div>
      </div>
    </section>
  );
}

window.GamacaReferences = ReferencesSection;
