/* ═══════════════════════════════════════════════════════════════════
   MOHAMED BAYA — PORTFOLIO · style.css
   "Tasteful Terminal" — cyan accent on near-black
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Palette */
  --bg: #0a0e14;
  --bg-elevated: #0f141c;
  --bg-card: #131a23;
  --border: #1f2937;
  --border-hover: #334155;

  --fg: #e6edf3;
  --fg-muted: #94a3b8;
  --fg-dim: #64748b;

  --accent: #7dd3fc;       /* cyan principal */
  --accent-bright: #22d3ee;
  --accent-glow: #7dd3fc40;

  --ok: #4ade80;
  --warn: #fbbf24;
  --danger: #f87171;

  /* Type */
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --max-width: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ───── Reset ───── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-bright); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
code { font-family: var(--font-mono); }

::selection { background: var(--accent); color: var(--bg); }

/* Subtle scanlines on body for atmosphere */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(125, 211, 252, 0.015) 2px,
    rgba(125, 211, 252, 0.015) 3px
  );
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

/* ═══════════════════════════════════════════════════════════════════
   BOOT SEQUENCE
   ═══════════════════════════════════════════════════════════════════ */
.boot {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--gutter);
  font-family: var(--font-mono);
  opacity: 1;
  transition: opacity 0.4s var(--ease);
}
.boot--gone { opacity: 0; pointer-events: none; }
.boot__output {
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.8;
  white-space: pre-wrap;
  max-width: 600px;
}
.boot__output .ok { color: var(--ok); }
.boot__output .info { color: var(--fg-muted); }
.boot__skip {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  opacity: 0.6;
}
.boot__skip:hover { opacity: 1; color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  color: var(--fg);
}
.logo__prompt { color: var(--accent); }
.logo__name { color: var(--fg); }
.logo__cursor {
  color: var(--accent);
  animation: blink 1.2s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

.nav {
  display: flex;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.nav a {
  color: var(--fg-muted);
  position: relative;
  padding: 0.25rem 0;
}
.nav a::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::before { width: 100%; }

.header__actions { display: flex; gap: 1rem; align-items: center; }
.lang-toggle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: var(--accent); }
.lang-toggle__active { color: var(--accent); }
.lang-toggle__inactive { color: var(--fg-dim); }
.lang-toggle__sep { color: var(--fg-dim); margin: 0 0.3rem; }

.menu-burger { display: none; flex-direction: column; gap: 4px; padding: 0.5rem; }
.menu-burger span { width: 22px; height: 2px; background: var(--fg); transition: 0.3s; }

@media (max-width: 768px) {
  .nav { display: none; position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; padding: 2rem var(--gutter); background: var(--bg-elevated);
    border-bottom: 1px solid var(--border); gap: 1.5rem; }
  .nav--open { display: flex; }
  .menu-burger { display: flex; }
  .menu-burger--open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-burger--open span:nth-child(2) { opacity: 0; }
  .menu-burger--open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem var(--gutter) 4rem;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  z-index: 2;
}

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-muted);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--bg-elevated);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s var(--ease) forwards;
}
.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fg-dim);
}
.dot--live {
  background: var(--ok);
  box-shadow: 0 0 12px var(--ok);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero__title {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s var(--ease) forwards;
}
.hero__prompt {
  color: var(--accent);
  margin-right: 0.5rem;
}
.typed::after {
  content: '_';
  color: var(--accent);
  animation: blink 1s infinite;
  margin-left: 4px;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 700px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.6s var(--ease) forwards;
}
.hero__subtitle2 {
  font-size: 1.15rem;
  color: var(--fg-dim);
  margin-top: -1.2rem;
  margin-bottom: 2rem;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.6s 0.7s var(--ease) forwards;
}
.accent { color: var(--accent); }

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.8s var(--ease) forwards;
}
.btn {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}
.btn--primary:hover {
  background: var(--accent-bright);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn--ghost {
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  opacity: 0;
  animation: fadeUp 0.6s 1s var(--ease) forwards;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
}
.hero__stats strong {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero__stats span {
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--fg-dim);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 2px;
  height: 8px;
  background: var(--accent);
  border-radius: 1px;
  animation: scroll 2s infinite var(--ease);
}
@keyframes scroll { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS COMMUNES
   ═══════════════════════════════════════════════════════════════════ */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem var(--gutter);
  position: relative;
  z-index: 2;
}
.section__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.section__num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
}
.section__title {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fg);
  white-space: nowrap;
}
.section__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════════ */
.about {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

.about__text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--fg-muted);
  text-align: justify;
}
.about__text strong { color: var(--fg); font-weight: 600; }

.about__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--font-mono);
  align-self: start;
}
.about__cardHeader {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.about__cardHeader .dot { width: 10px; height: 10px; }
.about__cardHeader .dot:nth-child(1) { background: #ff5f57; }
.about__cardHeader .dot:nth-child(2) { background: #febc2e; }
.about__cardHeader .dot:nth-child(3) { background: #28c840; }
.about__cardTitle {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-right: 40px;
}
.about__cardBody {
  padding: 1.1rem 1.3rem;
  font-size: 0.75rem;
  line-height: 1.65;
  display: grid;
  gap: 0.6rem;
  font-family: var(--font-mono);
}
.info-line {
  display: grid;
  grid-template-columns: minmax(8.5rem, 10.5rem) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}
.about__cardBody .k {
  color: var(--accent);
  font-weight: 600;
}
.about__cardBody .v {
  color: var(--fg);
  word-break: break-word;
}
.about__cardBody .v.ok {
  color: var(--ok);
}

@media (max-width: 640px) {
  .info-line {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* Progression */
.progression {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}
.progression__title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  font-weight: 500;
}
.progression__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.progression__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 140px;
  text-align: center;
}
.progression__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg-card);
  margin-bottom: 0.8rem;
}
.progression__step--current .progression__dot {
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}
.progression__year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-bottom: 0.3rem;
}
.progression__note {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.3rem;
}
.progression__step--current .progression__note { color: var(--accent); }
.progression__label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.progression__line {
  flex: 0.5;
  height: 1px;
  background: linear-gradient(to right, var(--border), var(--accent), var(--border));
  margin-top: -2.5rem;
}
@media (max-width: 700px) {
  .progression__line { display: none; }
  .progression__bar { flex-direction: column; align-items: stretch; }
  .progression__step { flex-direction: row; text-align: left; gap: 1rem; }
  .progression__step > * { margin: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   PARCOURS ACADÉMIQUE
   ═══════════════════════════════════════════════════════════════════ */
.parcours__intro {
  color: var(--fg-muted);
  margin-bottom: 2rem;
  max-width: 800px;
  font-size: 1.02rem;
}
.parcours__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.parcours__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.4rem;
  transition: border-color 0.3s, transform 0.3s;
}
.parcours__card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.parcours__header {
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.parcours__meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.parcours__title-card {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--fg);
  font-weight: 700;
}
.parcours__summary {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin: 0;
}
.parcours__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.parcours__item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-muted);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  line-height: 1.6;
}
.parcours__prefix {
  color: var(--accent);
  white-space: nowrap;
}
.parcours__label {
  flex: 1;
}
.parcours__item--spotlight .parcours__label,
.parcours__item--spotlight-2 .parcours__label {
  color: var(--fg);
}
.parcours__star {
  color: var(--accent);
  font-size: 0.85rem;
  white-space: nowrap;
}
.parcours__item--spotlight-2 .parcours__star {
  color: var(--accent-bright);
}

/* ═══════════════════════════════════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════════════════════════════════ */
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.skill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.8rem;
  transition: border-color 0.3s, transform 0.3s;
}
.skill:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.skill__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.skill__title {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--fg);
  font-weight: 600;
}
.skill__level {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.skill__level--advanced {
  background: rgba(74, 222, 128, 0.1);
  color: var(--ok);
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.skill__level--intermediate {
  background: rgba(125, 211, 252, 0.1);
  color: var(--accent);
  border: 1px solid rgba(125, 211, 252, 0.2);
}
.skill__list li {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  color: var(--fg-muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.skill__list li code {
  color: var(--accent);
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════════════════ */
.projects {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.project {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.3s;
  position: relative;
}
.project:hover { border-color: var(--border-hover); }
.project--featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(125, 211, 252, 0.04) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) { .project--featured { grid-template-columns: 1fr; } }
.project--featured:hover { border-color: var(--accent-bright); }

.project__badge {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.project__header { margin-bottom: 1rem; }
.project__title {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--fg);
}
.project__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg-muted);
}

.project__desc {
  color: var(--fg-muted);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.project__desc strong { color: var(--fg); }

.project__stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.project__stats code { color: var(--accent); }

.project__links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.project__link {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.project__link:hover {
  color: var(--accent-bright);
  border-bottom-color: var(--accent-bright);
}

.project__visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  overflow-x: auto;
}
.project__code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--fg);
  white-space: pre;
}
.project__code .c { color: var(--fg-dim); font-style: italic; }
.project__code .kw { color: #c084fc; }
.project__code .fn { color: var(--accent); }
.project__code .ty { color: var(--warn); }
.project__code .s { color: var(--ok); }
.project__code .n { color: #fb7185; }

/* ═══════════════════════════════════════════════════════════════════
   CERTIFICATIONS
   ═══════════════════════════════════════════════════════════════════ */
.certifs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.certif {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.3s;
}
.certif:hover { border-color: var(--accent); }
.certif--soon { opacity: 0.65; }
.certif__title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}
.certif__org { color: var(--fg-muted); font-size: 0.85rem; }
.certif__score {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 0.3rem;
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 4px;
}
.certif--soon .certif__score { color: var(--warn); background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.2); }

.regul {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 8px;
}
.regul__title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-bottom: 1.2rem;
}
.regul__tags { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.regul__tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg);
  transition: all 0.2s;
}
.regul__tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════ */
.contact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem;
}
@media (max-width: 600px) { .contact { padding: 2rem 1.5rem; } }

.contact__intro { 
  margin-bottom: 2rem;
  max-width: max-content; 
}
.contact__intro h3 {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--fg);
}
.contact__intro p { color: var(--fg-muted); font-size: 1.05rem; }
.contact__intro strong { color: var(--accent); }

.contact__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact__link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s var(--ease);
  color: var(--fg);
}
.contact__link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--fg);
}
.contact__linkLabel {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact__linkValue {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem var(--gutter);
  background: var(--bg-elevated);
  position: relative;
  z-index: 2;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer__line {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.footer__prompt { color: var(--accent); margin-right: 0.5rem; }
.footer__meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-dim);
  flex-wrap: wrap;
}
.footer__meta a { color: var(--fg-muted); }
.footer__meta a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════
   ACCESSIBILITY · prefers-reduced-motion
   ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__grid, body::before { display: none; }
  .hero__tagline, .hero__title, .hero__subtitle, .hero__cta, .hero__stats {
    opacity: 1; animation: none;
  }
}

/* Focus visible (accessibilité) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
