/* ============================================================
   PyNutsDev — Feuille de style publique
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy-deep:   #111827;
  --navy-mid:    #1a2035;
  --navy-card:   #1e2842;
  --navy-light:  #2b3347;
  --border:      rgba(255,255,255,0.08);
  --gold:        #f5c518;
  --gold-dim:    rgba(245,197,24,0.12);
  --gold-border: rgba(245,197,24,0.35);
  --teal:        #2dd4bf;
  --python-c:    #4db3ff;
  --arduino-c:   #2dd4bf;
  --vb-c:        #f5c518;
  --vba-c:       #f06ba0;
  --text:        #ffffff;
  --text-muted:  #8898bb;
  --text-faint:  #4a5568;
  --font-head:   'Syne', sans-serif;
  --font-mono:   'Space Mono', monospace;
  --font-body:   'DM Sans', sans-serif;
  --radius:      8px;
  --radius-lg:   14px;
  --header-h:    64px;
  --container:   1100px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--navy-deep); color: var(--text); line-height: 1.6; min-height: 100vh; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-gold { color: var(--gold); }
.mono { font-family: var(--font-mono); }

/* ---- HEADER ----------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  background: rgba(17,24,39,0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: height .25s, background .25s, box-shadow .25s;
}
.site-header.scrolled {
  height: 52px;
  background: rgba(12,17,28,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.logo-bar { width: 3px; height: 28px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }
.logo-text { font-family: var(--font-head); font-size: 16px; font-weight: 800; white-space: nowrap; }
.logo-py { color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0 auto;
}
.nav-link {
  display: block; padding: 7px 14px; border-radius: 6px;
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  transition: color .15s, background .15s; position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--gold); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-arrow { font-size: 10px; margin-left: 3px; }
/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%);
  background: var(--navy-card); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 8px; min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  text-decoration: none; transition: background .15s;
}
.dd-item:hover { background: rgba(255,255,255,0.05); }
.dd-icon { font-size: 16px; flex-shrink: 0; }
.dd-name { font-size: 12px; color: var(--text); }
.dd-sub  { font-size: 10px; color: var(--text-muted); }
.dd-sep  { height: 1px; background: var(--border); margin: 4px 0; }
.dd-all  { color: var(--text-muted); font-size: 12px; }
.btn-nav-cta {
  background: var(--gold); color: #1a2035; border-radius: 7px;
  padding: 7px 16px; font-size: 12px; font-weight: 500;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  transition: opacity .15s;
}
.btn-nav-cta:hover { opacity: .9; }
/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 4px; padding: 6px;
  background: none; border: none; cursor: pointer; margin-left: auto;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: #16203a; border-bottom: 1px solid var(--border);
  z-index: 199; overflow: hidden;
  max-height: 0; transition: max-height .3s ease;
}
.mobile-menu.open { display: block; max-height: 400px; }
.mob-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none; font-size: 14px;
  color: var(--text-muted); transition: background .15s;
}
.mob-link.active { color: var(--gold); }
.mob-link:hover { background: rgba(255,255,255,0.04); }
.mob-arrow { color: var(--text-faint); }
.mob-cta {
  display: block; margin: 14px 24px 18px;
  background: var(--gold); color: #1a2035; border-radius: 8px;
  padding: 12px; text-align: center; font-size: 13px; font-weight: 500;
  text-decoration: none;
}

/* ---- BUTTONS ----------------------------------------------- */
.btn-primary {
  display: inline-block; background: var(--gold); color: #1a2035;
  border-radius: var(--radius); padding: 10px 22px; font-size: 13px; font-weight: 500;
  text-decoration: none; transition: opacity .2s; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: .9; }
.btn-primary.btn-lg { padding: 13px 28px; font-size: 14px; }
.btn-outline {
  display: inline-block; border: 1px solid rgba(255,255,255,0.2); color: var(--text);
  border-radius: var(--radius); padding: 9px 20px; font-size: 13px;
  text-decoration: none; transition: background .15s;
}
.btn-outline:hover { background: rgba(255,255,255,0.05); }
.btn-ghost {
  display: inline-block; border: 1px solid var(--border); color: var(--text-muted);
  border-radius: var(--radius); padding: 7px 14px; font-size: 12px;
  text-decoration: none; transition: background .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.btn-ghost.btn-sm { padding: 5px 10px; font-size: 11px; }
.btn-download {
  display: inline-block; background: var(--gold); color: #1a2035;
  border-radius: var(--radius); padding: 8px 16px; font-size: 12px; font-weight: 500;
  text-decoration: none; transition: opacity .2s;
}
.btn-download:hover { opacity: .9; }
.btn-text { color: var(--gold); text-decoration: none; font-size: 13px; }
.btn-text:hover { opacity: .8; }
.btn-soon {
  display: inline-block; border: 1px solid var(--border); color: var(--text-faint);
  border-radius: var(--radius); padding: 7px 14px; font-size: 12px;
}

/* ---- MAIN OFFSET ------------------------------------------ */
#main-content { padding-top: var(--header-h); }

/* ---- PAGE HERO -------------------------------------------- */
.page-hero {
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--border);
}
.section-tag {
  display: block; font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 3px; color: var(--gold); margin-bottom: 12px;
}
.page-title {
  font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1.15;
}
.page-sub { font-size: 14px; color: var(--text-muted); margin-top: 10px; max-width: 520px; }

/* ---- HERO SECTION ----------------------------------------- */
.hero {
  padding: 80px 0 60px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-bg2 {
  position: absolute; bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(45,212,191,0.06) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-inner {
  display: flex; align-items: center; gap: 40px; position: relative; z-index: 1;
}
.hero-content { flex: 1; }
.hero-tag {
  display: inline-block;
  background: rgba(245,197,24,0.12); color: var(--gold);
  border: 1px solid rgba(245,197,24,0.25); border-radius: 20px;
  padding: 5px 14px; font-size: 11px; font-family: var(--font-mono);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-head); font-size: clamp(28px,4vw,44px);
  font-weight: 800; line-height: 1.12; margin-bottom: 16px;
}
.hero-sub { font-size: 15px; color: var(--text-muted); line-height: 1.7; max-width: 480px; margin-bottom: 26px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-stats { display: flex; align-items: center; gap: 20px; }
.stat-item { text-align: center; }
.stat-n { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--gold); }
.stat-l { font-size: 10px; color: var(--text-muted); }
.stat-div { width: 1px; height: 32px; background: var(--border); }
.hero-logo-area { text-align: center; flex-shrink: 0; }
.hero-logo-box {
  width: 130px; height: 130px;
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: 24px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.hero-logo-label {
  display: block; font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 2px; color: var(--text-faint); margin-top: 8px;
}

/* ---- LANGS SECTION ---------------------------------------- */
.langs-section { padding: 48px 0; border-bottom: 1px solid var(--border); }
.langs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.lang-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px;
  text-decoration: none; text-align: center;
  transition: border-color .2s, transform .15s;
  display: block;
}
.lang-card:hover { transform: translateY(-2px); }
.lang-card.python:hover  { border-color: rgba(77,179,255,0.4); }
.lang-card.arduino:hover { border-color: rgba(45,212,191,0.4); }
.lang-card.vb:hover      { border-color: rgba(245,197,24,0.4); }
.lang-card.vba:hover     { border-color: rgba(240,107,160,0.4); }
.lang-emoji { display: block; font-size: 28px; margin-bottom: 10px; }
.lang-name { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.lang-desc { font-size: 11px; color: var(--text-muted); }

/* ---- RECENT / PROGRAMS SECTION ---------------------------- */
.recent-section, .programs-section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.section-title { font-family: var(--font-head); font-size: 24px; font-weight: 800; margin-top: 6px; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.project-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: border-color .2s, transform .15s;
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-2px); }
.project-card.python:hover  { border-color: rgba(77,179,255,0.3); }
.project-card.arduino:hover { border-color: rgba(45,212,191,0.3); }
.project-card.vb:hover      { border-color: rgba(245,197,24,0.3); }
.project-card.vba:hover     { border-color: rgba(240,107,160,0.3); }
.project-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.proj-lang-badge {
  border-radius: 20px; padding: 2px 10px;
  font-size: 9px; font-family: var(--font-mono);
}
.proj-lang-badge.python  { background: rgba(77,179,255,0.15); color: var(--python-c); }
.proj-lang-badge.arduino { background: rgba(45,212,191,0.15); color: var(--arduino-c); }
.proj-lang-badge.vb      { background: rgba(245,197,24,0.15); color: var(--vb-c); }
.proj-lang-badge.vba     { background: rgba(240,107,160,0.15); color: var(--vba-c); }
.proj-status-badge.beta {
  background: rgba(245,197,24,0.12); color: var(--gold);
  border-radius: 20px; padding: 2px 8px; font-size: 9px; font-family: var(--font-mono);
}
.proj-ver { margin-left: auto; font-size: 9px; color: var(--text-faint); font-family: var(--font-mono); }
.project-screenshot {
  margin: 0 -20px 14px; overflow: hidden; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); max-height: 160px;
}
.project-screenshot img { width: 100%; object-fit: cover; display: block; }
.project-name { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.project-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 10px; }
.project-prereq { font-size: 10px; color: var(--text-faint); font-family: var(--font-mono); margin-bottom: 8px; }
.project-meta { display: flex; gap: 10px; margin-bottom: 14px; }
.proj-date, .proj-size { font-size: 10px; color: var(--text-faint); font-family: var(--font-mono); }
.project-actions { display: flex; gap: 8px; align-items: center; }

/* ---- CTA SECTION ------------------------------------------ */
.cta-section { padding: 64px 0; border-top: 1px solid var(--border); }
.cta-inner {
  text-align: center; max-width: 480px; margin: 0 auto;
}
.cta-title { font-family: var(--font-head); font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.cta-sub { color: var(--text-muted); margin-bottom: 24px; }

/* ---- FILTER BAR PUBLIC ------------------------------------ */
.filter-bar-pub {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin-bottom: 28px;
}
.filter-search-wrap {
  position: relative; display: flex; align-items: center;
}
.filter-icon { position: absolute; left: 12px; color: var(--text-faint); font-size: 14px; pointer-events: none; }
.filter-search-pub {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 9px 14px 9px 36px;
  color: var(--text); font-size: 12px; font-family: var(--font-body);
  width: 240px; outline: none;
}
.filter-search-pub:focus { border-color: var(--gold-border); }
.filter-chips-pub { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-pub {
  border-radius: 20px; padding: 5px 14px; font-size: 10px; font-family: var(--font-mono);
  border: 1px solid var(--border); color: var(--text-muted); text-decoration: none;
  transition: all .15s;
}
.chip-pub:hover, .chip-pub.on { background: var(--gold-dim); color: var(--gold); border-color: var(--gold-border); }
.chip-pub.python.on  { background: rgba(77,179,255,0.1); color: var(--python-c); border-color: rgba(77,179,255,0.3); }
.chip-pub.arduino.on { background: rgba(45,212,191,0.1); color: var(--arduino-c); border-color: rgba(45,212,191,0.3); }
.chip-pub.vb.on      { background: rgba(245,197,24,0.1); color: var(--vb-c); border-color: rgba(245,197,24,0.3); }
.chip-pub.vba.on     { background: rgba(240,107,160,0.1); color: var(--vba-c); border-color: rgba(240,107,160,0.3); }

/* ---- DOWNLOADS PAGE --------------------------------------- */
.dl-section { padding: 40px 0 56px; }
.dl-total-badge {
  display: inline-block; margin-top: 14px;
  background: var(--gold-dim); color: var(--gold);
  border: 1px solid var(--gold-border); border-radius: 20px;
  padding: 5px 14px; font-size: 11px; font-family: var(--font-mono);
}
.dl-tabs { display: flex; gap: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.dl-tab {
  padding: 8px 18px; border-radius: 8px; font-size: 11px; font-family: var(--font-mono);
  text-decoration: none; color: var(--text-muted); border: 1px solid var(--border);
  transition: all .15s; display: flex; align-items: center; gap: 7px;
}
.dl-tab:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.dl-tab.active { background: var(--gold); color: #1a2035; border-color: var(--gold); }
.tab-count {
  background: rgba(0,0,0,0.15); border-radius: 10px;
  padding: 1px 6px; font-size: 9px;
}
.dl-panel { display: none; }
.dl-panel.active { display: block; }
.dl-list { display: flex; flex-direction: column; gap: 10px; }
.dl-item {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: border-color .2s;
}
.dl-item:hover { border-color: rgba(255,255,255,0.14); }
.dl-item-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.dl-item-icon.python  { background: rgba(77,179,255,0.12); }
.dl-item-icon.arduino { background: rgba(45,212,191,0.12); }
.dl-item-icon.vb      { background: rgba(245,197,24,0.12); }
.dl-item-icon.vba     { background: rgba(240,107,160,0.12); }
.dl-item-info { flex: 1; min-width: 0; }
.dl-item-name { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dl-ver { background: rgba(255,255,255,0.06); border-radius: 4px; padding: 1px 7px; font-size: 10px; font-family: var(--font-mono); color: var(--text-muted); }
.dl-beta { background: rgba(245,197,24,0.12); color: var(--gold); border-radius: 4px; padding: 1px 6px; font-size: 9px; font-family: var(--font-mono); }
.dl-item-meta { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); margin-bottom: 4px; }
.dl-item-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.dl-item-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.dl-legal {
  margin-top: 32px; padding: 16px 20px;
  background: rgba(245,197,24,0.05); border: 1px solid rgba(245,197,24,0.15);
  border-radius: var(--radius-lg);
}
.dl-legal-title { font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; color: var(--gold); margin-bottom: 6px; }
.dl-legal p { font-size: 11px; color: var(--text-muted); line-height: 1.6; }

/* ---- ABOUT PAGE ------------------------------------------- */
.about-section { padding: 48px 0 64px; }
.about-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.prose { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.prose p { margin-bottom: 14px; }
.prose h2 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.prose h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--text); margin: 16px 0 8px; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--gold); }
.prose code { background: rgba(0,0,0,0.3); padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 13px; }
.skills-card, .cta-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; margin-bottom: 14px;
}
.skills-title, .cta-card-title {
  font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 14px;
}
.skills-list { display: flex; flex-direction: column; gap: 8px; }
.skill-item {
  padding: 8px 12px; border-radius: var(--radius); font-size: 12px;
  border: 1px solid var(--border); display: flex; align-items: center; gap: 8px;
}
.skill-item.python  { color: var(--python-c); border-color: rgba(77,179,255,0.2); background: rgba(77,179,255,0.06); }
.skill-item.arduino { color: var(--arduino-c); border-color: rgba(45,212,191,0.2); background: rgba(45,212,191,0.06); }
.skill-item.vb      { color: var(--vb-c); border-color: rgba(245,197,24,0.2); background: rgba(245,197,24,0.06); }
.skill-item.vba     { color: var(--vba-c); border-color: rgba(240,107,160,0.2); background: rgba(240,107,160,0.06); }
.cta-card-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; }

/* ---- EMPTY STATE ------------------------------------------ */
.empty-pub { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 40px; margin-bottom: 14px; }
.empty-pub h2 { font-family: var(--font-head); font-size: 18px; margin-bottom: 16px; }

/* ---- FOOTER ----------------------------------------------- */
.site-footer {
  background: #0a0f1a; border-top: 1px solid var(--border);
  padding: 48px 0 0;
  margin-top: auto;
}
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-logo { margin-bottom: 12px; display: inline-flex; }
.footer-tagline { font-size: 12px; color: var(--text-faint); line-height: 1.7; }
.footer-col-title { font-family: var(--font-head); font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.footer-link {
  display: block; font-size: 12px; color: var(--text-faint);
  text-decoration: none; margin-bottom: 7px; transition: color .15s;
}
.footer-link:hover { color: var(--text-muted); }
.footer-link.lang-link.python:hover  { color: var(--python-c); }
.footer-link.lang-link.arduino:hover { color: var(--arduino-c); }
.footer-link.lang-link.vb:hover      { color: var(--vb-c); }
.footer-link.lang-link.vba:hover     { color: var(--vba-c); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal-link { font-size: 10px; color: var(--text-faint); text-decoration: none; }
.footer-legal-link:hover { color: var(--text-muted); }

/* ---- RESPONSIVE ------------------------------------------- */
@media (max-width: 900px) {
  .nav-links, .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .langs-grid { grid-template-columns: repeat(2,1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-logo-area { display: none; }
  .about-layout { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 26px; }
  .langs-grid { grid-template-columns: repeat(2,1fr); }
  .footer-cols { grid-template-columns: 1fr; }
  .filter-search-pub { width: 100%; }
  .dl-item { flex-direction: column; }
  .dl-item-actions { width: 100%; }
}

/* ── Réseaux sociaux footer ─────────────────────────────── */
.footer-social {
  margin-top: 16px;
}
.footer-social-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: .06em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text-muted);
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.footer-social-link:hover {
  background: rgba(245,197,24,.12);
  border-color: rgba(245,197,24,.35);
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
