'use client';
import Link from 'next/link';
import { NavBar } from '@/components/layout/NavBar';

// ==========================================
// SVG Icons
// ==========================================

function IconTarget({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/>
    </svg>
  );
}

function IconBook({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20"/>
    </svg>
  );
}

function IconUsers({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>
    </svg>
  );
}

function IconStar({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/>
    </svg>
  );
}

function IconHeart({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/>
    </svg>
  );
}

function IconLeaf({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <path d="M11 20A7 7 0 0 1 9.8 6.9C15.5 4.9 17 3.5 19 2c1 2 2 4.5 2 8 0 5.5-4.78 10-10 10Z"/><path d="M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12"/>
    </svg>
  );
}

function IconLightbulb({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <path d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5"/><path d="M9 18h6"/><path d="M10 22h4"/>
    </svg>
  );
}

function IconGraduationCap({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <path d="M22 10v6M2 10l10-5 10 5-10 5z"/><path d="M6 12v5c0 1.1 2.7 3 6 3s6-1.9 6-3v-5"/>
    </svg>
  );
}

function IconGlobe({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <circle cx="12" cy="12" r="10"/><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"/><path d="M2 12h20"/>
    </svg>
  );
}

function IconEye({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z"/><circle cx="12" cy="12" r="3"/>
    </svg>
  );
}

function IconHandshake({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <path d="m11 17 2 2a1 1 0 1 0 3-3"/><path d="m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4"/><path d="m21 3 1 11h-2"/><path d="M3 3 2 14h2"/><path d="m3 4 7.29 7.29a2.41 2.41 0 0 1 0 3.41 2.41 2.41 0 0 1-3.41 0L4.5 12.4"/>
    </svg>
  );
}

function IconUser({ size = 24, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
      <path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/>
    </svg>
  );
}

function IconArrowRight({ size = 16, color = 'currentColor' }: { size?: number; color?: string }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
      <path d="M5 12h14"/><path d="m12 5 7 7-7 7"/>
    </svg>
  );
}

// ==========================================
// Data
// ==========================================

const TEAM = [
  { role: 'Fondateur', name: 'Robin P.', desc: 'Vision, direction et coordination du projet Ombres & Lumières et de la Permathèque.', icon: IconStar },
  { role: 'Développeur', name: 'À recruter', desc: 'Architecture technique, développement fullstack, intégration des systèmes de jeu.', icon: IconLightbulb },
  { role: 'Game Designer', name: 'À recruter', desc: 'Conception des mécaniques, équilibrage des systèmes, narration interactive.', icon: IconTarget },
  { role: 'Community Manager', name: 'À recruter', desc: 'Animation de la communauté, réseaux sociaux, relations avec les joueurs.', icon: IconUsers },
];

const VALUES = [
  { label: 'Innovation', desc: 'Repousser les limites du jeu web éducatif', icon: IconLightbulb, color: 'var(--color-gold)' },
  { label: 'Éducation', desc: 'Apprendre en jouant, comprendre en expérimentant', icon: IconGraduationCap, color: '#60a5fa' },
  { label: 'Communauté', desc: 'Construire ensemble un monde virtuel vivant', icon: IconUsers, color: '#22c55e' },
  { label: 'Écologie', desc: 'Sensibiliser à la permaculture et au développement durable', icon: IconLeaf, color: '#4ade80' },
  { label: 'Transparence', desc: 'Un projet ouvert, des décisions partagées', icon: IconEye, color: '#a78bfa' },
  { label: 'Inclusion', desc: 'Un jeu accessible à tous, sans discrimination', icon: IconGlobe, color: '#f472b6' },
];

// ==========================================
// Page
// ==========================================

export default function AssociationPage() {
  return (
    <div className="min-h-screen" style={{ background: 'var(--bg-primary)' }}>
      <NavBar />

      {/* ═══ HERO ═══ */}
      <section className="relative overflow-hidden">
        <div
          className="absolute inset-0"
          style={{
            background: 'radial-gradient(ellipse at center top, rgba(196,30,30,0.12) 0%, transparent 60%)',
            pointerEvents: 'none',
          }}
        />
        <div className="max-w-[1100px] mx-auto px-4 py-16 md:py-24 text-center relative">
          <h1 className="font-gothic text-4xl md:text-5xl text-gold-gradient mb-4">
            L&apos;Association
          </h1>
          <p className="font-impact text-lg md:text-xl uppercase tracking-wide mb-4" style={{ color: 'var(--text-secondary)' }}>
            Ombres &amp; Lumières / La Permathèque
          </p>
          <p className="max-w-2xl mx-auto text-sm leading-relaxed" style={{ color: 'var(--text-muted)' }}>
            Derrière Mafiaz.World se cache une association loi 1901 animée par la conviction
            que le jeu vidéo peut être un vecteur puissant d&apos;éducation, de réflexion et de changement.
          </p>
        </div>
      </section>

      <div className="max-w-[1100px] mx-auto px-4 pb-16 space-y-16">

        {/* ═══ NOTRE MISSION ═══ */}
        <section>
          <div className="flex items-center gap-3 mb-6">
            <div
              className="w-10 h-10 rounded-lg flex items-center justify-center"
              style={{ background: 'rgba(196,30,30,0.12)' }}
            >
              <IconTarget size={20} color="var(--color-red)" />
            </div>
            <h2 className="font-impact text-xl uppercase tracking-wide" style={{ color: 'var(--color-gold)' }}>
              Notre Mission
            </h2>
          </div>
          <div
            className="rounded-xl p-6 md:p-8 space-y-4 text-sm leading-relaxed"
            style={{ background: 'rgba(255,255,255,0.02)', border: '1px solid var(--border-dark)', color: 'var(--text-secondary)' }}
          >
            <p>
              L&apos;Association Permathèque entreprend le projet <strong style={{ color: 'var(--text-primary)' }}>Ombres &amp; Lumières</strong> pour
              créer un jeu web immersif qui mélange divertissement et éducation autour de l&apos;économie, de la politique, de l&apos;écologie et des dynamiques sociales.
            </p>
            <p>
              Mafiaz.World invite le joueur à découvrir de nombreux sujets culturels, à ouvrir de nouvelles perspectives au fil de la partie,
              et à développer sa conscience éthique &mdash; favorisant la transition vers une société plus écologique et coopérative.
            </p>
            <p>
              En confrontant le joueur aux conséquences de ses choix (criminalité, corruption, exploitation) et en lui offrant
              toujours une voie de rédemption (associations, projets écologiques, permaculture), le jeu crée un miroir interactif
              qui pousse à la réflexion.
            </p>
            <div className="grid grid-cols-1 sm:grid-cols-3 gap-4 pt-4">
              {[
                { number: '22', label: 'Axes de personnalité' },
                { number: '100+', label: 'Mécaniques de jeu' },
                { number: '1', label: 'Vision commune' },
              ].map((stat) => (
                <div
                  key={stat.label}
                  className="text-center p-4 rounded-lg"
                  style={{ background: 'rgba(255,255,255,0.03)', border: '1px solid var(--border-dark)' }}
                >
                  <div className="font-gothic text-2xl text-gold-gradient">{stat.number}</div>
                  <div className="text-xs mt-1" style={{ color: 'var(--text-muted)' }}>{stat.label}</div>
                </div>
              ))}
            </div>
          </div>
        </section>

        {/* ═══ LA PERMATHEQUE ═══ */}
        <section>
          <div className="flex items-center gap-3 mb-6">
            <div
              className="w-10 h-10 rounded-lg flex items-center justify-center"
              style={{ background: 'rgba(34,197,94,0.12)' }}
            >
              <IconBook size={20} color="#22c55e" />
            </div>
            <h2 className="font-impact text-xl uppercase tracking-wide" style={{ color: 'var(--color-gold)' }}>
              La Permathèque
            </h2>
          </div>
          <div
            className="rounded-xl overflow-hidden"
            style={{ border: '1px solid var(--border-dark)' }}
          >
            <div
              className="p-6 md:p-8"
              style={{
                background: 'linear-gradient(135deg, rgba(34,197,94,0.06) 0%, rgba(255,255,255,0.02) 100%)',
              }}
            >
              <p className="text-sm leading-relaxed mb-4" style={{ color: 'var(--text-secondary)' }}>
                Permathèque est un webmedia et une plateforme de ressources dédiée à faciliter l&apos;accès
                à la <strong style={{ color: '#22c55e' }}>Permaculture</strong> et à sa mise en pratique concrète.
                Intégrée dans l&apos;univers du jeu, elle constitue une bibliothèque numérique vivante sur l&apos;écologie et la durabilité.
              </p>
              <p className="text-sm leading-relaxed mb-6" style={{ color: 'var(--text-secondary)' }}>
                Nous développons divers projets permettant d&apos;introduire le public à la Permaculture, chacun avec une approche unique :
              </p>
              <div className="grid grid-cols-1 md:grid-cols-3 gap-3">
                {[
                  { title: 'permathèque.fr', desc: 'Le webmedia principal avec articles, fiches pratiques et ressources', color: '#22c55e' },
                  { title: 'Ombres & Lumières', desc: 'Le jeu qui sensibilise par l\'expérience interactive', color: 'var(--color-gold)' },
                  { title: 'Projets à venir', desc: 'D\'autres initiatives en cours de développement...', color: '#a78bfa' },
                ].map((project) => (
                  <div
                    key={project.title}
                    className="p-4 rounded-lg"
                    style={{ background: 'rgba(255,255,255,0.03)', border: '1px solid var(--border-dark)' }}
                  >
                    <h4 className="text-sm font-bold mb-1" style={{ color: project.color }}>{project.title}</h4>
                    <p className="text-xs leading-relaxed" style={{ color: 'var(--text-muted)' }}>{project.desc}</p>
                  </div>
                ))}
              </div>
              <div className="mt-6">
                <a
                  href="https://permatheque.fr"
                  target="_blank"
                  rel="noopener"
                  className="inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-all hover:scale-105"
                  style={{ background: 'rgba(34,197,94,0.12)', color: '#22c55e', border: '1px solid rgba(34,197,94,0.25)' }}
                >
                  Visiter permatheque.fr
                  <IconArrowRight size={14} color="#22c55e" />
                </a>
              </div>
            </div>
          </div>
        </section>

        {/* ═══ L'EQUIPE ═══ */}
        <section>
          <div className="flex items-center gap-3 mb-6">
            <div
              className="w-10 h-10 rounded-lg flex items-center justify-center"
              style={{ background: 'rgba(196,30,30,0.12)' }}
            >
              <IconUsers size={20} color="var(--color-red)" />
            </div>
            <h2 className="font-impact text-xl uppercase tracking-wide" style={{ color: 'var(--color-gold)' }}>
              L&apos;Équipe
            </h2>
          </div>
          <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
            {TEAM.map((member) => {
              const Icon = member.icon;
              return (
                <div
                  key={member.role}
                  className="rounded-xl p-5 text-center transition-all hover:translate-y-[-2px]"
                  style={{ background: 'rgba(255,255,255,0.02)', border: '1px solid var(--border-dark)' }}
                >
                  <div
                    className="w-16 h-16 rounded-full mx-auto mb-4 flex items-center justify-center"
                    style={{ background: 'rgba(255,255,255,0.05)', border: '1px solid var(--border-dark)' }}
                  >
                    <Icon size={28} color="var(--color-gold)" />
                  </div>
                  <h3 className="font-gothic text-base text-gold-gradient mb-1">{member.name}</h3>
                  <p
                    className="text-[10px] uppercase tracking-widest font-bold mb-3"
                    style={{ color: 'var(--color-red)' }}
                  >
                    {member.role}
                  </p>
                  <p className="text-xs leading-relaxed" style={{ color: 'var(--text-muted)' }}>
                    {member.desc}
                  </p>
                </div>
              );
            })}
          </div>
        </section>

        {/* ═══ NOS VALEURS ═══ */}
        <section>
          <div className="flex items-center gap-3 mb-6">
            <div
              className="w-10 h-10 rounded-lg flex items-center justify-center"
              style={{ background: 'rgba(167,139,250,0.12)' }}
            >
              <IconHeart size={20} color="#a78bfa" />
            </div>
            <h2 className="font-impact text-xl uppercase tracking-wide" style={{ color: 'var(--color-gold)' }}>
              Nos Valeurs
            </h2>
          </div>
          <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
            {VALUES.map((value) => {
              const Icon = value.icon;
              return (
                <div
                  key={value.label}
                  className="rounded-xl p-5 transition-all hover:translate-y-[-2px]"
                  style={{ background: 'rgba(255,255,255,0.02)', border: '1px solid var(--border-dark)' }}
                >
                  <div className="flex items-center gap-3 mb-3">
                    <div
                      className="w-9 h-9 rounded-lg flex items-center justify-center flex-shrink-0"
                      style={{ background: value.color + '15' }}
                    >
                      <Icon size={18} color={value.color} />
                    </div>
                    <h3 className="text-sm font-bold" style={{ color: 'var(--text-primary)' }}>{value.label}</h3>
                  </div>
                  <p className="text-xs leading-relaxed" style={{ color: 'var(--text-muted)' }}>{value.desc}</p>
                </div>
              );
            })}
          </div>
        </section>

        {/* ═══ SOUTENIR L'ASSOCIATION ═══ */}
        <section>
          <div className="flex items-center gap-3 mb-6">
            <div
              className="w-10 h-10 rounded-lg flex items-center justify-center"
              style={{ background: 'rgba(34,197,94,0.12)' }}
            >
              <IconHeart size={20} color="#22c55e" />
            </div>
            <h2 className="font-impact text-xl uppercase tracking-wide" style={{ color: 'var(--color-gold)' }}>
              Soutenir l&apos;Association
            </h2>
          </div>
          <div className="panel-glass rounded-xl p-6 md:p-8 text-center">
            <h3 className="font-gothic text-2xl text-gold-gradient mb-3">Faire un don</h3>
            <p className="text-xs mb-6 max-w-md mx-auto" style={{ color: 'var(--text-muted)' }}>
              Permathèque est une association à but non lucratif. Chaque contribution compte.
              100% des dons sont utilisés pour les projets de l&apos;association.
            </p>
            <div className="flex gap-3 justify-center mb-4 flex-wrap">
              {[5, 10, 20, 50].map(amount => (
                <button key={amount}
                  className="px-5 py-2.5 rounded-lg text-sm font-bold transition-all hover:scale-105"
                  style={{ background: 'var(--bg-tertiary)', color: 'var(--color-gold)', border: '1px solid var(--border-gold)' }}>
                  {amount}&nbsp;&euro;
                </button>
              ))}
            </div>
            <div className="flex items-center gap-2 max-w-xs mx-auto mb-5">
              <input
                type="number"
                min="1"
                placeholder="Autre montant"
                className="flex-1 px-3 py-2 rounded-lg text-sm outline-none"
                style={{ background: 'var(--bg-tertiary)', color: 'var(--text-primary)', border: '1px solid var(--border-dark)' }}
              />
              <span className="text-sm" style={{ color: 'var(--text-muted)' }}>&euro;</span>
            </div>
            <button
              className="px-8 py-3 rounded-lg font-bold text-sm transition-all hover:scale-105"
              style={{ background: 'linear-gradient(135deg, #22c55e, #16a34a)', color: 'white', boxShadow: '0 4px 20px rgba(34,197,94,0.3)' }}
            >
              Faire un don via Stripe
            </button>
            <p className="text-[10px] mt-3" style={{ color: 'var(--text-muted)' }}>
              Paiement sécurisé par Stripe &bull; Association Permathèque
            </p>
          </div>
        </section>

        {/* ═══ NOUS REJOINDRE ═══ */}
        <section>
          <div className="flex items-center gap-3 mb-6">
            <div
              className="w-10 h-10 rounded-lg flex items-center justify-center"
              style={{ background: 'rgba(196,30,30,0.12)' }}
            >
              <IconHandshake size={20} color="var(--color-red)" />
            </div>
            <h2 className="font-impact text-xl uppercase tracking-wide" style={{ color: 'var(--color-gold)' }}>
              Nous Rejoindre
            </h2>
          </div>
          <div
            className="rounded-xl overflow-hidden"
            style={{
              background: 'linear-gradient(135deg, rgba(196,30,30,0.08), rgba(196,30,30,0.02))',
              border: '1px solid rgba(196,30,30,0.2)',
            }}
          >
            <div className="p-6 md:p-8">
              <p className="text-sm leading-relaxed mb-6" style={{ color: 'var(--text-secondary)' }}>
                Le projet Ombres &amp; Lumières est ambitieux et nous avons besoin de personnes motivées pour le faire grandir.
                Que vous soyez développeur, designer, rédacteur ou simplement passionné, il y a une place pour vous.
              </p>
              <div className="grid grid-cols-1 sm:grid-cols-3 gap-4 mb-6">
                {[
                  { title: 'Bénévole', desc: 'Participez à la vie de l\'association : événements, communication, tests', icon: IconHeart, color: '#f472b6' },
                  { title: 'Contributeur', desc: 'Apportez vos compétences : code, design, rédaction, game design', icon: IconLightbulb, color: 'var(--color-gold)' },
                  { title: 'Soutien', desc: 'Soutenez financièrement ou partagez le projet autour de vous', icon: IconStar, color: '#22c55e' },
                ].map((role) => {
                  const Icon = role.icon;
                  return (
                    <div
                      key={role.title}
                      className="p-4 rounded-lg text-center"
                      style={{ background: 'rgba(255,255,255,0.03)', border: '1px solid var(--border-dark)' }}
                    >
                      <div
                        className="w-12 h-12 rounded-full mx-auto mb-3 flex items-center justify-center"
                        style={{ background: role.color + '15' }}
                      >
                        <Icon size={22} color={role.color} />
                      </div>
                      <h4 className="text-sm font-bold mb-1" style={{ color: 'var(--text-primary)' }}>{role.title}</h4>
                      <p className="text-xs leading-relaxed" style={{ color: 'var(--text-muted)' }}>{role.desc}</p>
                    </div>
                  );
                })}
              </div>
              <div className="text-center">
                <Link
                  href="/contact"
                  className="inline-flex items-center gap-2 px-6 py-3 rounded-lg text-sm font-bold transition-all hover:scale-105"
                  style={{
                    background: 'linear-gradient(135deg, var(--color-red-dark), var(--color-red))',
                    color: 'white',
                    boxShadow: '0 4px 20px rgba(196,30,30,0.3)',
                  }}
                >
                  Nous contacter
                  <IconArrowRight size={16} color="white" />
                </Link>
              </div>
            </div>
          </div>
        </section>

        {/* ═══ NOUS SUIVRE ═══ */}
        <section>
          <div className="flex items-center gap-3 mb-4">
            <h2 className="font-impact text-lg uppercase tracking-wide" style={{ color: 'var(--color-gold)' }}>
              Nous Suivre
            </h2>
          </div>
          <div className="flex gap-3 flex-wrap">
            {[
              { label: 'Facebook', url: 'https://facebook.com/Permatheque' },
              { label: 'Instagram', url: 'https://instagram.com/permatheque' },
              { label: 'X (Twitter)', url: 'https://x.com/permatheque' },
            ].map((social) => (
              <a
                key={social.label}
                href={social.url}
                target="_blank"
                rel="noopener"
                className="px-4 py-2 rounded-lg text-sm transition-all hover:scale-105"
                style={{ background: 'rgba(255,255,255,0.03)', border: '1px solid var(--border-dark)', color: 'var(--text-secondary)' }}
              >
                {social.label}
              </a>
            ))}
          </div>
        </section>

        {/* ═══ MENTIONS LEGALES ═══ */}
        <section
          className="rounded-xl p-6"
          style={{ background: 'rgba(255,255,255,0.02)', border: '1px solid var(--border-dark)' }}
        >
          <h2 className="font-impact text-lg uppercase tracking-wide mb-4" style={{ color: 'var(--color-gold)' }}>
            Mentions Légales
          </h2>
          <div className="space-y-2 text-xs" style={{ color: 'var(--text-muted)' }}>
            <p><strong style={{ color: 'var(--text-secondary)' }}>Dénomination :</strong> Association Permathèque</p>
            <p><strong style={{ color: 'var(--text-secondary)' }}>Statut juridique :</strong> Association loi 1901 à but non lucratif</p>
            <p><strong style={{ color: 'var(--text-secondary)' }}>Siège social :</strong> 6 rue de la Mairie, 06260 La Rochette, France</p>
            <p><strong style={{ color: 'var(--text-secondary)' }}>Représentant légal :</strong> Robin Prevent</p>
            <p><strong style={{ color: 'var(--text-secondary)' }}>Objet :</strong> Webmedia et ressources sur la Permaculture &mdash; Développement du jeu Ombres &amp; Lumières</p>
            <p><strong style={{ color: 'var(--text-secondary)' }}>Contact :</strong> contact@permatheque.fr &bull; 07 81 42 88 71</p>
            <p><strong style={{ color: 'var(--text-secondary)' }}>Hébergement :</strong> O2switch &mdash; Vercel Inc. &mdash; 340 S Lemon Ave #4133, Walnut, CA 91789, USA</p>
          </div>
        </section>

      </div>
    </div>
  );
}
