/* ============================================================
   NPA – Nouvelle Pensée Africaine | Styles Frontend
   Thème : Ébène & Or Africain — élégance éditoriale
   ============================================================ */

/* ── Imports & Variables ─────────────────────────────────── */
:root {
  --ebony:       #0B0400;
  --brown-deep:  #1E0900;
  --brown-mid:   #3D1400;
  --terracotta:  #7A2E0A;
  --rust:        #A84215;
  --gold:        #C48C10;
  --gold-light:  #E8B84B;
  --gold-pale:   #F5D98A;
  --cream:       #F2DFC0;
  --cream-light: #FBF4E8;
  --white:       #FFFFFF;
  --text-dark:   #1A0800;
  --text-mid:    #4A2800;
  --text-muted:  #8A6040;

  --ff-display:  'Playfair Display', Georgia, serif;
  --ff-body:     'Lora', 'Times New Roman', serif;
  --ff-ui:       'Josefin Sans', sans-serif;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.15);
  --shadow-md:   0 6px 24px rgba(0,0,0,.25);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.35);
  --radius:      4px;
  --radius-lg:   8px;
  --transition:  .25s ease;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--cream-light);
  color: var(--text-dark);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-ui); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-ui); font-size: .85rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 28px; border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary   { background: var(--terracotta); color: var(--cream-light); border-color: var(--terracotta); }
.btn-primary:hover { background: var(--rust); color: #fff; border-color: var(--rust); }
.btn-secondary { background: transparent; color: var(--terracotta); border-color: var(--terracotta); }
.btn-secondary:hover { background: var(--terracotta); color: var(--cream-light); }
.btn-outline   { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--text-dark); }
.btn-gold      { background: var(--gold); color: var(--ebony); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-sm        { padding: 8px 18px; font-size: .78rem; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--ebony);
  box-shadow: 0 2px 20px rgba(0,0,0,.6);
}

.header-top {
  background: var(--brown-deep);
  border-bottom: 1px solid rgba(196,140,16,.2);
  padding: 6px 0;
  font-family: var(--ff-ui);
  font-size: .75rem;
  color: var(--text-muted);
}
.header-top-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.header-info { display: flex; gap: 16px; align-items: center; }
.header-info .sep { opacity: .4; }
.header-links { display: flex; gap: 16px; }
.header-links a { color: var(--text-muted); }
.header-links a:hover { color: var(--gold-light); }
.header-links .admin-link { color: var(--gold); }

.header-main {
  padding: 16px 24px;
  display: flex; align-items: center;
}
.header-brand {
  display: flex; align-items: center; gap: 16px;
  color: var(--cream); text-decoration: none;
}
.logo-cerdotola { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-abbr {
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 900;
  color: var(--gold); letter-spacing: .12em;
}
.brand-title {
  font-family: var(--ff-display); font-size: 1.2rem; font-weight: 700;
  color: var(--cream); line-height: 1.1;
}
.brand-tagline {
  font-family: var(--ff-ui); font-size: .7rem; color: var(--text-muted);
  letter-spacing: .06em; margin-top: 2px;
}

/* ── Navigation ──────────────────────────────────────────── */
.main-nav {
  background: var(--brown-mid);
  border-top: 1px solid rgba(196,140,16,.15);
}
.main-nav .container { position: relative; }
.nav-menu {
  display: flex; flex-wrap: wrap; align-items: center;
  padding: 0; gap: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 14px 16px;
  font-family: var(--ff-ui); font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--cream); white-space: nowrap;
  transition: all var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--gold-light);
  background: rgba(196,140,16,.1);
}
.nav-menu > li > a svg { opacity: .6; transition: transform var(--transition); }
.nav-menu > li:hover > a svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 240px;
  background: var(--brown-deep);
  border: 1px solid rgba(196,140,16,.2);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 10px 20px;
  font-family: var(--ff-ui); font-size: .78rem; color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: all var(--transition);
}
.dropdown li a:hover { background: rgba(196,140,16,.1); color: var(--gold-light); padding-left: 26px; }
.dropdown .dropdown-all a { color: var(--gold); font-weight: 600; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 10px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--cream); transition: all var(--transition);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; height: 92vh; min-height: 580px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,4,0,.92) 0%, rgba(30,9,0,.75) 50%, rgba(122,46,10,.4) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.hero-eyebrow {
  font-family: var(--ff-ui); font-size: .8rem; font-weight: 600;
  color: var(--gold); letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--ff-display); font-size: clamp(3rem,7vw,6rem);
  font-weight: 900; color: var(--cream); line-height: 1.0;
  margin-bottom: 16px;
}
.hero-title em { color: var(--gold-light); font-style: italic; }
.hero-sub {
  font-family: var(--ff-ui); font-size: 1rem; color: rgba(242,223,192,.7);
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 40px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(242,223,192,.5); font-size: .75rem;
  font-family: var(--ff-ui); letter-spacing: .1em;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ── Stats Band ──────────────────────────────────────────── */
.stats-band { background: var(--terracotta); padding: 28px 0; }
.stats-inner {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 0;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 40px;
}
.stat-num {
  font-family: var(--ff-display); font-size: 2.5rem; font-weight: 900;
  color: var(--cream); line-height: 1;
}
.stat-label { font-family: var(--ff-ui); font-size: .75rem; color: rgba(242,223,192,.75); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.stat-sep { width: 1px; height: 50px; background: rgba(255,255,255,.2); }

/* ── Sections génériques ─────────────────────────────────── */
.section-label {
  font-family: var(--ff-ui); font-size: .75rem; font-weight: 700;
  color: var(--gold); letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--ff-display); font-size: clamp(1.8rem,3.5vw,2.8rem);
  font-weight: 700; color: var(--text-dark); line-height: 1.15;
  margin-bottom: 28px;
}
.section-title em { color: var(--terracotta); font-style: italic; }
.section-cta { text-align: center; margin-top: 40px; }

/* ── About section ───────────────────────────────────────── */
.section-about { padding: 80px 0; background: var(--cream-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-lead { font-size: 1.1rem; font-weight: 500; margin-bottom: 16px; }
.about-lead strong { color: var(--terracotta); }
.about-text p { color: var(--text-mid); margin-bottom: 16px; }
.about-text .btn { margin-top: 8px; }
.about-img-frame { position: relative; }
.about-img-frame img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  filter: sepia(15%);
}
.about-img-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--terracotta); color: var(--cream);
  padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center;
}
.badge-num { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 900; }
.badge-date { font-family: var(--ff-ui); font-size: .7rem; letter-spacing: .05em; opacity: .85; }

/* ── Editions section ────────────────────────────────────── */
.section-editions { padding: 80px 0; background: var(--brown-deep); }
.section-editions .section-label { color: var(--gold); }
.section-editions .section-title { color: var(--cream); }
.section-editions .section-title em { color: var(--gold-light); }
.editions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.edition-card {
  background: var(--brown-mid); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.edition-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.edition-cover { aspect-ratio: 3/4; overflow: hidden; }
.edition-cover img { width: 100%; height: 100%; object-fit: cover; filter: sepia(20%); transition: transform .4s ease; }
.edition-card:hover .edition-cover img { transform: scale(1.05); }
.edition-cover-placeholder {
  width: 100%; height: 100%; background: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
}
.cover-num { font-family: var(--ff-display); font-size: 2rem; font-weight: 900; color: rgba(255,255,255,.3); }
.edition-info { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.edition-num { font-family: var(--ff-ui); font-size: .7rem; font-weight: 700; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }
.edition-title { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; color: var(--cream); line-height: 1.2; }
.edition-thematic { font-size: .82rem; color: rgba(242,223,192,.65); font-style: italic; }
.edition-date { font-family: var(--ff-ui); font-size: .75rem; color: var(--text-muted); margin-top: auto; padding-top: 8px; }
.edition-link { font-family: var(--ff-ui); font-size: .78rem; font-weight: 600; color: var(--gold); margin-top: 8px; }

/* ── CFP Section ─────────────────────────────────────────── */
.section-cfp { position: relative; padding: 80px 0; overflow: hidden; }
.cfp-bg { position: absolute; inset: 0; }
.cfp-bg-img { width: 100%; height: 100%; object-fit: cover; }
.cfp-overlay { position: absolute; inset: 0; background: rgba(11,4,0,.88); }
.cfp-content { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.cfp-box {
  max-width: 560px; background: rgba(30,9,0,.85);
  border: 1px solid rgba(196,140,16,.3);
  border-left: 4px solid var(--gold);
  padding: 48px 40px; border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
}
.cfp-label { font-family: var(--ff-ui); font-size: .75rem; font-weight: 700; color: var(--gold); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; }
.cfp-title { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 700; color: var(--cream); margin-bottom: 12px; }
.cfp-thematic { font-style: italic; color: rgba(242,223,192,.75); margin-bottom: 20px; }
.cfp-deadline {
  display: flex; align-items: center; gap: 10px;
  background: rgba(196,140,16,.12); color: var(--gold-light);
  padding: 12px 16px; border-radius: var(--radius);
  font-family: var(--ff-ui); font-size: .85rem; margin-bottom: 24px;
}

/* ── News section ────────────────────────────────────────── */
.section-news { padding: 80px 0; background: var(--cream-light); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.news-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-img { aspect-ratio: 16/9; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px 24px; }
.news-cat { font-family: var(--ff-ui); font-size: .7rem; font-weight: 700; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }
.news-title { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin: 8px 0; line-height: 1.3; }
.news-title a:hover { color: var(--terracotta); }
.news-excerpt { font-size: .88rem; color: var(--text-mid); margin-bottom: 12px; }
.news-meta { display: flex; gap: 12px; flex-wrap: wrap; font-family: var(--ff-ui); font-size: .75rem; color: var(--text-muted); }

/* ── Team preview ────────────────────────────────────────── */
.section-team-preview { padding: 80px 0; background: var(--brown-deep); }
.section-team-preview .section-label { color: var(--gold); }
.section-team-preview .section-title { color: var(--cream); }
.section-team-preview .section-title em { color: var(--gold-light); }
.team-preview-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.team-card-mini {
  display: flex; align-items: center; gap: 16px;
  background: var(--brown-mid); padding: 16px 20px;
  border-radius: var(--radius-lg); flex: 0 0 auto; max-width: 300px;
}
.team-avatar { flex-shrink: 0; }
.team-avatar img, .avatar-initials {
  width: 52px; height: 52px; border-radius: 50%;
}
.avatar-initials {
  background: var(--terracotta); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700;
}
.avatar-initials.large { width: 72px; height: 72px; font-size: 1.4rem; }
.team-info-mini { display: flex; flex-direction: column; gap: 2px; }
.team-info-mini strong { font-family: var(--ff-display); font-size: .9rem; font-weight: 700; color: var(--cream); }
.team-info-mini span { font-family: var(--ff-ui); font-size: .72rem; color: rgba(242,223,192,.6); }
.team-role-badge {
  display: inline-block; margin-top: 4px;
  font-family: var(--ff-ui); font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px;
}
.team-role-badge.direction        { background: rgba(196,140,16,.3); color: var(--gold-light); }
.team-role-badge.conseil_scientifique { background: rgba(122,46,10,.4); color: var(--cream); }
.team-role-badge.comite_editorial { background: rgba(61,20,0,.5); color: var(--cream); }

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero {
  background: var(--brown-deep);
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(196,140,16,.15);
}
.page-hero-title {
  font-family: var(--ff-display); font-size: clamp(2rem,4vw,3rem);
  font-weight: 900; color: var(--cream); margin-top: 12px;
}
.page-hero-title em { color: var(--gold-light); font-style: italic; }
.page-hero-sub { font-family: var(--ff-ui); font-size: .85rem; color: var(--text-muted); margin-top: 8px; }
.page-hero--cfp { min-height: 240px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--ff-ui); font-size: .78rem; color: var(--text-muted); }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ── Static content ──────────────────────────────────────── */
.section-static { padding: 64px 0; }
.prose-content { max-width: 800px; }
.prose-content h1,.prose-content h2,.prose-content h3 { font-family: var(--ff-display); color: var(--text-dark); margin: 1.5em 0 .5em; }
.prose-content p { margin-bottom: 1em; line-height: 1.85; }
.prose-content ul,.prose-content ol { padding-left: 1.5em; margin-bottom: 1em; }
.prose-content li { margin-bottom: .4em; }
.prose-content strong { color: var(--terracotta); }
.prose-content blockquote {
  border-left: 4px solid var(--gold); padding-left: 20px;
  font-style: italic; color: var(--text-mid); margin: 1.5em 0;
}

/* ── Team page ───────────────────────────────────────────── */
.section-team { padding: 64px 0; }
.team-tabs { display: flex; gap: 0; border-bottom: 2px solid rgba(196,140,16,.2); margin-bottom: 40px; }
.team-tab {
  background: none; border: none; padding: 12px 24px;
  font-family: var(--ff-ui); font-size: .82rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: .05em; text-transform: uppercase;
  position: relative; transition: all var(--transition);
}
.team-tab.active { color: var(--terracotta); }
.team-tab.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--terracotta);
}
.team-tab-panel { display: none; }
.team-tab-panel.active { display: block; }
.team-section-title {
  font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 28px;
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card-avatar { display: flex; justify-content: center; }
.team-card-avatar img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.team-card-body { text-align: center; }
.team-name { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.team-title-acad { font-size: .82rem; color: var(--terracotta); font-weight: 500; }
.team-institution { font-size: .8rem; color: var(--text-muted); }
.team-country { font-size: .78rem; color: var(--text-muted); }
.team-bio { font-size: .82rem; color: var(--text-mid); margin-top: 8px; }
.team-email { font-size: .8rem; color: var(--gold); }

/* ── Editions full ───────────────────────────────────────── */
.section-editions-full { padding: 64px 0; }
.editions-full-list { display: flex; flex-direction: column; gap: 48px; }
.edition-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px;
  padding: 32px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--terracotta);
}
.edition-row-cover { flex-shrink: 0; }
.edition-row-cover img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.edition-cover-placeholder.large {
  width: 100%; aspect-ratio: 3/4; background: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: rgba(255,255,255,.3);
  font-family: var(--ff-display); font-size: 1.5rem; font-weight: 900;
}
.edition-cover-placeholder.xl {
  width: 220px; height: 300px; background: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg); color: rgba(255,255,255,.3);
  font-family: var(--ff-display); font-size: 2rem; font-weight: 900;
}
.edition-row-info { display: flex; flex-direction: column; gap: 10px; }
.edition-row-title { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.edition-subtitle { font-style: italic; color: var(--text-mid); }
.edition-thematic { font-size: .9rem; color: var(--text-mid); }
.edition-date { font-family: var(--ff-ui); font-size: .82rem; color: var(--text-muted); }
.edition-desc { font-size: .9rem; color: var(--text-mid); line-height: 1.7; }

/* ── Edition hero ────────────────────────────────────────── */
.page-hero--edition { padding: 48px 0 56px; background: var(--brown-deep); }
.edition-hero-inner { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; margin-top: 20px; }
.edition-hero-cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.edition-hero-info { display: flex; flex-direction: column; gap: 12px; }
.edition-hero-title { font-family: var(--ff-display); font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 900; color: var(--cream); }
.edition-hero-subtitle { font-style: italic; color: rgba(242,223,192,.7); font-size: 1rem; }
.edition-meta-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { background: rgba(196,140,16,.15); color: var(--gold-light); padding: 4px 12px; border-radius: 100px; font-family: var(--ff-ui); font-size: .75rem; border: 1px solid rgba(196,140,16,.3); }
.edition-thematic-big { font-size: .95rem; color: rgba(242,223,192,.8); }
.edition-description { font-size: .9rem; color: rgba(242,223,192,.65); line-height: 1.75; max-width: 600px; }

/* ── Sommaire ────────────────────────────────────────────── */
.section-sommaire { padding: 64px 0; }
.section-sommaire .section-title { font-family: var(--ff-display); font-size: 2rem; color: var(--text-dark); margin-bottom: 32px; }
.articles-list { display: flex; flex-direction: column; gap: 0; counter-reset: article; }
.article-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid rgba(196,140,16,.1);
}
.article-item-num {
  font-family: var(--ff-display); font-size: 1.5rem; font-weight: 900;
  color: rgba(196,140,16,.3); line-height: 1;
}
.article-item-title { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.article-authors { font-size: .88rem; color: var(--terracotta); font-weight: 500; margin-bottom: 6px; }
.article-abstract { font-size: .85rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 8px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.article-keywords { font-size: .78rem; font-style: italic; color: var(--text-muted); }
.article-pages { font-family: var(--ff-ui); font-size: .78rem; color: var(--text-muted); }
.article-download { font-family: var(--ff-ui); font-size: .78rem; font-weight: 600; color: var(--terracotta); }

/* ── CFP detail ──────────────────────────────────────────── */
.section-cfp-detail { padding: 64px 0; }
.cfp-block { margin-bottom: 56px; }
.cfp-block-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-display); font-size: 1.8rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 2px solid rgba(196,140,16,.2);
}
.cfp-content-box {
  background: var(--white); padding: 40px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--terracotta);
}
.cfp-content-box--dark { background: var(--brown-deep); border-top-color: var(--gold); }
.cfp-content-box--dark h3,.cfp-content-box--dark .cfp-thematic,.cfp-content-box--dark .cfp-description,.cfp-content-box--dark .cfp-edition { color: var(--cream); }
.cfp-content-box h3 { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.cfp-thematic { font-size: 1rem; font-style: italic; color: var(--text-mid); margin-bottom: 16px; }
.cfp-description { font-size: .92rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.cfp-edition { font-family: var(--ff-ui); font-size: .8rem; font-weight: 600; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.cfp-deadline-banner {
  background: rgba(196,140,16,.1); border: 1px solid rgba(196,140,16,.3);
  color: var(--text-dark); padding: 12px 20px; border-radius: var(--radius);
  margin-bottom: 24px; font-family: var(--ff-ui); font-size: .88rem;
}
.cfp-deadline-banner.deadline-urgent { background: rgba(122,46,10,.15); border-color: var(--terracotta); color: var(--cream); }
.cfp-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.cfp-instructions-quick {
  background: var(--cream-light); border-radius: var(--radius-lg);
  padding: 32px 40px; border-left: 4px solid var(--gold);
}
.cfp-instructions-quick h3 { font-family: var(--ff-display); font-size: 1.3rem; margin-bottom: 16px; }
.cfp-instructions-quick ul { list-style: disc; padding-left: 24px; }
.cfp-instructions-quick li { font-size: .88rem; color: var(--text-mid); margin-bottom: 6px; }
.cfp-instructions-quick .btn { margin-top: 16px; }

/* ── À la Une ────────────────────────────────────────────── */
.section-une { padding: 48px 0; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-tab {
  font-family: var(--ff-ui); font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 20px; border-radius: 100px;
  background: rgba(196,140,16,.08); color: var(--text-mid);
  border: 1px solid rgba(196,140,16,.2); transition: all var(--transition);
}
.filter-tab:hover,.filter-tab.active { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }
.une-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.une-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow var(--transition), transform var(--transition); }
.une-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.une-img { aspect-ratio: 16/9; overflow: hidden; }
.une-img img { width: 100%; height: 100%; object-fit: cover; }
.une-body { padding: 20px 24px 24px; }
.une-cat { font-family: var(--ff-ui); font-size: .7rem; font-weight: 700; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }
.une-title { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin: 8px 0 10px; line-height: 1.3; }
.une-title a:hover { color: var(--terracotta); }
.une-excerpt { font-size: .85rem; color: var(--text-mid); margin-bottom: 12px; }
.une-meta { display: flex; gap: 12px; font-family: var(--ff-ui); font-size: .73rem; color: var(--text-muted); margin-bottom: 12px; }
.une-readmore { font-family: var(--ff-ui); font-size: .78rem; font-weight: 600; color: var(--terracotta); }

/* ── Article single ──────────────────────────────────────── */
.article-single { padding: 56px 0; }
.article-layout { max-width: 820px; }
.article-header { margin-bottom: 32px; }
.article-cat { font-family: var(--ff-ui); font-size: .72rem; font-weight: 700; color: var(--gold); letter-spacing: .15em; text-transform: uppercase; }
.article-title { font-family: var(--ff-display); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 900; color: var(--text-dark); margin: 12px 0; line-height: 1.15; }
.article-byline { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--ff-ui); font-size: .82rem; color: var(--text-muted); margin-bottom: 20px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-top: 20px; }
.article-cover img { width: 100%; max-height: 480px; object-fit: cover; }
.article-content { font-size: 1.02rem; line-height: 1.85; }
.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--cream-light); padding: 24px; border-radius: var(--radius-lg);
  margin-top: 48px; border: 1px solid rgba(196,140,16,.15);
}
.author-box strong { font-family: var(--ff-display); font-size: 1rem; }
.author-box p { font-size: .85rem; color: var(--text-mid); margin-top: 4px; }

/* ── Contacts ────────────────────────────────────────────── */
.section-contacts { padding: 64px 0; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.contact-info h2,.contact-form-area h2 { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700; color: var(--text-dark); margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.contact-item svg { flex-shrink: 0; color: var(--terracotta); margin-top: 2px; }
.contact-item a { color: var(--terracotta); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--ff-ui); font-size: .8rem; font-weight: 600; color: var(--text-mid); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.form-group input,.form-group textarea,.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(196,140,16,.25); border-radius: var(--radius);
  font-family: var(--ff-body); font-size: .92rem; color: var(--text-dark);
  background: var(--white); transition: border-color var(--transition);
}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(122,46,10,.1);
}
.form-group textarea { resize: vertical; }

/* ── Pagination ──────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pag-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-family: var(--ff-ui); font-size: .82rem; font-weight: 600;
  background: var(--white); color: var(--text-mid); border: 1.5px solid rgba(196,140,16,.2);
  transition: all var(--transition);
}
.pag-btn:hover,.pag-btn.active { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }

/* ── Alerts ──────────────────────────────────────────────── */
.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 16px; font-size: .9rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── Empty state ─────────────────────────────────────────── */
.empty-state { font-style: italic; color: var(--text-muted); padding: 24px 0; }

/* ── Error page ──────────────────────────────────────────── */
.error-page { padding: 120px 0; text-align: center; }
.error-code { font-family: var(--ff-display); font-size: 8rem; font-weight: 900; color: rgba(196,140,16,.15); display: block; }
.error-page h1 { font-family: var(--ff-display); font-size: 2rem; color: var(--text-dark); margin-bottom: 12px; }
.error-page p { color: var(--text-mid); margin-bottom: 24px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--ebony); position: relative; overflow: hidden; margin-top: 0; }
.footer-pattern {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 8px, var(--terracotta) 8px, var(--terracotta) 16px, var(--brown-mid) 16px, var(--brown-mid) 24px);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px; padding: 56px 24px 48px;
}
.footer-brand { display: flex; gap: 20px; align-items: flex-start; }
.footer-logo { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
.footer-title { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 700; color: var(--cream); margin-bottom: 6px; }
.footer-tagline { font-family: var(--ff-ui); font-size: .75rem; color: var(--text-muted); margin-bottom: 6px; }
.footer-publisher { font-size: .8rem; color: var(--text-muted); }
.footer-publisher strong { color: var(--gold); }
.site-footer h4 { font-family: var(--ff-ui); font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links a { font-size: .85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--cream); }
.footer-contact p { font-size: .85rem; color: var(--text-muted); margin-bottom: 6px; }
.footer-contact a { color: var(--gold); }
.footer-issn { font-family: var(--ff-ui); font-size: .75rem; margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 16px 24px;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-family: var(--ff-ui); font-size: .75rem; color: var(--text-muted); }
.footer-bottom a { color: var(--gold); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid       { grid-template-columns: 1fr; }
  .about-image      { order: -1; }
  .about-img-frame img { aspect-ratio: 16/9; }
  .edition-row      { grid-template-columns: 1fr; }
  .contacts-grid    { grid-template-columns: 1fr; }
  .edition-hero-inner { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; gap: 32px; }
  .stat-item        { padding: 0 20px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--brown-deep);
    border-top: 2px solid var(--gold); padding-bottom: 16px;
    box-shadow: var(--shadow-lg); z-index: 200;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { padding: 12px 20px; width: 100%; }
  .dropdown { position: static; display: none; border: none; box-shadow: none; background: rgba(196,140,16,.05); padding-left: 16px; }
  .has-dropdown.open .dropdown { display: block; }
  .hero { height: 75vh; }
  .hero-title { font-size: 2.5rem; }
  .cfp-content { justify-content: flex-start; }
  .cfp-box { padding: 32px 24px; }
  .header-top { display: none; }
}

@media (max-width: 480px) {
  .stats-band .stats-inner { flex-direction: column; gap: 16px; }
  .stat-sep { width: 80px; height: 1px; }
  .editions-grid { grid-template-columns: 1fr; }
  .team-preview-grid { flex-direction: column; }
  .team-card-mini { max-width: 100%; }
}
