/* Styles communs du blog Immerseo IA (liste + articles). Mêmes couleurs que la page d'accueil. */
:root{
  --bg: #070A11;
  --panel: rgba(15, 23, 42, 0.65);
  --line: #1E293B;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #F3F4F6;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --cyan: #22D3EE;
  --cyan-strong: #06B6D4;
}

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

body{
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a{ color: var(--cyan); }
img{ display:block; max-width:100%; height:auto; }
.wrap{ max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* ---------- En-tête ---------- */
header.nav{
  position: sticky; top:0; z-index: 50;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between; gap: 12px;
  max-width: 1280px; margin: 0 auto; padding: 14px 24px;
}
.brand{ display:flex; align-items:center; gap: 10px; text-decoration:none; }
.brand svg{ width: 36px; height: 36px; flex-shrink: 0; }
.brand-name{ font-size: 1.35rem; font-weight: 800; letter-spacing: 0.06em; color: #fff; line-height: 1; }
.brand-name span{ color: var(--cyan); }
.nav-cta{
  background: var(--cyan-strong); color: #020617; text-decoration:none;
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 10px 20px -8px rgba(6, 182, 212, 0.35);
}
.nav-cta:hover{ background: var(--cyan); }
@media (max-width: 640px){
  .nav-inner{ padding: 12px 16px; }
  .brand svg{ width: 30px; height: 30px; }
  .brand-name{ font-size: 1.1rem; }
  .nav-cta{ font-size: 0.65rem; padding: 8px 12px; }
}

/* ---------- Contenu ---------- */
main{ padding: 48px 0 72px; position: relative; }
.eyebrow{
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.eyebrow a{ text-decoration: none; }
h1{ font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.lead{ margin-top: 16px; color: var(--text-muted); font-size: 1.08rem; }

/* Liste des articles */
.posts{ list-style:none; margin-top: 40px; display:grid; gap: 16px; }
.post-card a{
  display:block; text-decoration:none; color: inherit;
  background: var(--panel); border: 1px solid var(--line-soft);
  backdrop-filter: blur(12px); border-radius: 18px; padding: 20px 22px;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.post-card a:hover{
  border-color: rgba(6, 182, 212, 0.4); transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(6, 182, 212, 0.15);
}
.post-card h2{ font-size: 1.22rem; font-weight: 700; line-height: 1.3; color: #fff; }
.post-card p{ margin-top: 8px; color: var(--text-muted); font-size: 0.95rem; }
.post-meta{ margin-top: 12px; font-size: 0.8rem; color: var(--text-dim); }
.empty{
  margin-top: 40px; padding: 24px; border: 1px dashed var(--line);
  border-radius: 18px; color: var(--text-muted); text-align:center;
}

/* Article */
.article-meta{ margin-top: 14px; font-size: 0.85rem; color: var(--text-dim); }
.article-body{ margin-top: 36px; }
.article-body h2{ font-size: 1.45rem; font-weight: 800; line-height: 1.3; margin: 40px 0 12px; color: #fff; }
.article-body h3{ font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; color: #fff; }
.article-body p, .article-body li{ color: var(--text-body); font-size: 1.04rem; }
.article-body p{ margin-bottom: 16px; }
.article-body ul, .article-body ol{ margin: 0 0 16px 22px; }
.article-body li{ margin-bottom: 8px; }
.article-body strong{ color: #fff; }
.article-body blockquote{
  margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--cyan-strong);
  background: var(--panel); border-radius: 0 12px 12px 0; color: var(--text-body);
}

/* Encart d'appel à l'action en fin d'article */
.cta-box{
  margin-top: 48px; padding: 26px 24px; border-radius: 20px;
  background: var(--panel); border: 1px solid rgba(6, 182, 212, 0.3);
}
.cta-box h2{ font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.cta-box p{ color: var(--text-muted); margin-bottom: 18px; }
.btn-primary{
  display:inline-block; background: var(--cyan-strong); color: #020617; text-decoration:none;
  font-weight: 700; font-size: 0.9rem; padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 16px 30px -12px rgba(6, 182, 212, 0.4);
}
.btn-primary:hover{ background: var(--cyan); }
.back{ display:inline-block; margin-top: 40px; font-size: 0.9rem; text-decoration:none; }

/* ---------- Pied de page ---------- */
footer{ border-top: 1px solid var(--line); padding: 28px 0; font-size: 0.78rem; color: var(--text-dim); }
footer .wrap{ display:flex; justify-content: space-between; align-items:center; flex-wrap:wrap; gap: 12px; }
.footer-links{ display:flex; flex-wrap:wrap; gap: 6px 18px; }
.footer-links a{ color: var(--text-muted); text-decoration: underline; font-size: 0.8rem; }
.footer-links a:hover{ color: var(--cyan); }
