/* ===== WEBORA — Styles partagés blog ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0D0B09;
  --bg2: #131109;
  --ink: #F0EDE6;
  --muted: #7A7060;
  --accent: #C8A96A;
  --accent-light: rgba(200,169,106,0.15);
  --line: rgba(200,169,106,0.18);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 60px;
  background: rgba(13,11,9,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  animation: fadeDown 0.8s ease both;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a.nav-link {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s;
}

nav a.nav-link:hover { color: var(--accent); }
nav a.nav-link.active { color: var(--accent); }

nav a.cta-nav {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

nav a.cta-nav:hover { color: var(--accent); }

/* ── BLOG HERO ── */
.blog-hero {
  padding: 180px 60px 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(200,169,106,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.blog-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fadeUp 0.9s 0.2s ease both;
}

.blog-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 900px;
  animation: fadeUp 0.9s 0.35s ease both;
}

.blog-hero h1 em { font-style: italic; color: var(--accent); }

.blog-hero-sub {
  margin-top: 32px;
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
  animation: fadeUp 0.9s 0.5s ease both;
}

/* ── BLOG GRID (liste articles) ── */
.blog-grid-section {
  padding: 100px 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  border: 1px solid var(--line);
  background: var(--bg2);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}

.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, rgba(200,169,106,0.20) 0%, rgba(200,169,106,0.04) 60%, transparent 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  opacity: 0.45;
}

.blog-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.blog-card-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card-meta .dot { color: var(--accent); }

.blog-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.blog-card-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s;
}

.blog-card:hover .blog-card-cta { gap: 16px; }

/* ── ARTICLE ── */
.article {
  padding: 160px 60px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.article-breadcrumb {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.article-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.article-breadcrumb a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.article-breadcrumb .sep { color: var(--accent); margin: 0 10px; opacity: 0.5; }

.article-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.article-meta .dot { color: var(--accent); opacity: 0.5; }

.article h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 56px;
}

.article h1 em { font-style: italic; color: var(--accent); }

.article h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.25;
  margin-top: 64px;
  margin-bottom: 24px;
  color: var(--ink);
}

.article h2 em { font-style: italic; color: var(--accent); }

.article h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--ink);
}

.article p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 22px;
}

.article p strong { color: var(--ink); font-weight: 500; }

.article ul, .article ol {
  margin: 0 0 26px 22px;
  color: var(--ink);
}

.article li {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 10px;
}

.article a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s, color 0.25s;
}

.article a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.article-cta {
  margin-top: 56px;
  padding: 40px;
  border: 1px solid var(--accent);
  background: var(--accent-light);
  text-align: center;
}

.article-cta p {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 24px;
}

.article-cta .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  padding: 18px 36px;
  border: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transition: background 0.3s, color 0.3s;
}

.article-cta .btn-cta:hover {
  background: transparent;
  color: var(--accent);
}

.article-author {
  margin-top: 80px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
}

.article-author strong {
  color: var(--ink);
  font-weight: 500;
}

.article-nav {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.article-nav a {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}

.article-nav a:hover { color: var(--accent); }

/* ── FOOTER ── */
footer {
  padding: 40px 60px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg2);
}

footer p { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-logo span { color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 24px 28px; }
  .nav-links { gap: 18px; }
  nav a.nav-link { font-size: 12px; }

  .blog-hero { padding: 140px 28px 60px; }
  .blog-grid-section { padding: 60px 28px; }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }

  .article { padding: 130px 28px 60px; }
  .article h2 { margin-top: 48px; }
  .article-cta { padding: 28px; }

  footer { padding: 32px 28px; flex-direction: column; gap: 12px; text-align: center; }
}
