/* ─────────────────────────────────────────
   styleChangelog.css — Évolutions · Segly
───────────────────────────────────────── */

:root {
  --bg:     #0a0a14;
  --bg2:    #0f0e1a;
  --vp:     #764ba2;
  --vb:     #667eea;
  --vc:     #c4b5fd;
  --g:      linear-gradient(135deg, #764ba2, #667eea);
  --text:   #ffffff;
  --muted:  rgba(255,255,255,.5);
  --border: rgba(255,255,255,.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(10,10,20,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .08em;
  color: #fff;
  text-decoration: none;
}

.logo img { height: 28px; }

nav { display: flex; gap: 24px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}
nav a:hover { color: #fff; }

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ── Lang switcher ── */
.lang-switcher { position: relative; }

.lang-switcher-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 5px 10px;
  color: var(--text);
  font-size: .8rem;
  cursor: pointer;
  transition: background .2s;
}

.lang-switcher-toggle:hover { background: rgba(255,255,255,.12); }

.lang-switcher-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  min-width: 80px;
  z-index: 200;
  flex-direction: column;
  gap: 2px;
}

.lang-switcher-menu.open { display: flex; }

.lang-btn {
  display: block;
  padding: 5px 12px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: .8rem;
  transition: background .15s, color .15s;
}

.lang-btn:hover, .lang-btn.active { background: rgba(118,75,162,.2); color: var(--vc); }

/* ── Hero ── */
.cl-hero {
  padding: 72px 24px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cl-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(118,75,162,.16) 0%, transparent 70%);
  pointer-events: none;
}

.cl-hero-label {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--vc);
  margin-bottom: 18px;
}

.cl-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 18px;
}

.cl-hero h1 .accent {
  background: var(--g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cl-hero-sub {
  font-size: .95rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Wrapper ── */
.cl-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Timeline ── */
.cl-timeline {
  position: relative;
  padding-left: 28px;
}

.cl-timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(118,75,162,.7) 0%,
    rgba(102,126,234,.4) 60%,
    transparent 100%);
}

/* ── Entrée ── */
.cl-entry {
  position: relative;
  margin-bottom: 44px;
}

.cl-entry::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--g);
  border: 2px solid var(--bg);
  z-index: 1;
}

/* ── Meta (date + catégorie) ── */
.cl-entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.cl-date {
  font-family: 'DM Mono', monospace;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cl-cat {
  font-family: 'DM Mono', monospace;
  font-size: .48rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid;
}

.cl-cat--new     { background: rgba(34,197,94,.1);   border-color: rgba(34,197,94,.3);   color: #4ade80; }
.cl-cat--improve { background: rgba(96,165,250,.1);  border-color: rgba(96,165,250,.3);  color: #93c5fd; }
.cl-cat--launch  { background: rgba(118,75,162,.15); border-color: rgba(118,75,162,.35); color: var(--vc); }

/* ── Card ── */
.cl-entry-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color .2s, background .2s;
}

.cl-entry-card:hover {
  border-color: rgba(118,75,162,.28);
  background: rgba(118,75,162,.04);
}

.cl-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: .06em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 10px;
}

.cl-desc {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Crédit référent ── */
.cl-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.cl-credit-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(118,75,162,.45);
  flex-shrink: 0;
}

.cl-credit-text {
  font-family: 'DM Mono', monospace;
  font-size: .58rem;
  letter-spacing: .04em;
  color: var(--vc);
  line-height: 1.4;
}

.cl-credit-text strong { color: #fff; font-weight: 500; }

/* ── Lien retour ── */
.cl-back {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--vc);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color .2s;
}

.cl-back:hover { color: #fff; }

/* ── Footer ── */
.footer {
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}

.footer-content {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .8rem;
  transition: color .2s;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: .72rem;
  color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .header { padding: 12px 16px; }
  nav { display: none; }
  .hamburger-btn { display: block; }
  .cl-hero { padding: 56px 20px 36px; }
  .cl-wrap { padding: 36px 20px 60px; }
  .cl-timeline { padding-left: 22px; }
  .cl-entry::before { left: -22px; width: 8px; height: 8px; }
}
