/* ================================================================
   Mon Salon — Blog Styles
   ================================================================ */

/* ── Blog Navbar (white bg) ──────────────────────────────────── */
.blog-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  padding: 14px 0; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.blog-navbar .nav-logo { color: var(--brand-600); }
.blog-navbar .logo-img, .blog-navbar .nav-logo img { content: url("../images/icone.png"); }
.blog-navbar .nav-links a { color: var(--slate-500); }
.blog-navbar .nav-links a:hover { color: var(--slate-900); }
.blog-navbar .nav-cta {
  background: var(--brand-600); border: none; color: white;
}
.blog-navbar .nav-cta:hover { background: var(--brand-700); }

/* ── Blog Hero ───────────────────────────────────────────────── */
.blog-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--brand-950) 0%, var(--brand-800) 100%);
}
.blog-hero-inner { max-width: 760px; }
.blog-category-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15); color: white;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 20px;
}
.blog-hero h1 {
  font-size: clamp(28px, 5vw, 48px); color: white;
  line-height: 1.15; margin-bottom: 16px;
}
.blog-hero-meta {
  display: flex; align-items: center; gap: 16px;
  color: rgba(255,255,255,0.7); font-size: 13px; flex-wrap: wrap;
}
.blog-hero-meta span { display: flex; align-items: center; gap: 5px; }

/* ── Blog Featured Image ─────────────────────────────────────── */
.blog-featured-img {
  width: 100%; max-height: 480px; object-fit: cover;
  border-radius: var(--radius-lg); margin: -30px 0 0;
  box-shadow: var(--shadow-xl);
}
.blog-featured-img-wrap {
  padding: 40px 0 48px;
  background: white;
}

/* ── Blog Layout ─────────────────────────────────────────────── */
.blog-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px;
  align-items: start; padding: 48px 0 80px;
}
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
}

/* ── Article Content ─────────────────────────────────────────── */
.blog-article {
  background: white; border-radius: var(--radius-xl);
  padding: 40px 48px; box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .blog-article { padding: 24px 20px; }
  .blog-featured-img { border-radius: 0; margin-top: 0; box-shadow: none; }
  .blog-featured-img-wrap { padding: 0 0 32px; }
}
.blog-article p {
  font-size: 16px; line-height: 1.8; color: var(--slate-700);
  margin-bottom: 20px;
}
.blog-article h2 {
  font-size: 24px; color: var(--slate-900);
  margin: 40px 0 16px; padding-top: 8px;
  border-top: 2px solid var(--brand-100);
}
.blog-article h3 {
  font-size: 18px; color: var(--slate-800);
  margin: 28px 0 12px; font-family: 'Inter', sans-serif; font-weight: 700;
}
.blog-article ul, .blog-article ol {
  padding-left: 24px; margin-bottom: 20px;
}
.blog-article li {
  font-size: 15px; line-height: 1.7; color: var(--slate-700);
  margin-bottom: 8px;
}
.blog-article strong { color: var(--slate-900); }
.blog-article a {
  color: var(--brand-600); text-decoration: underline;
  text-decoration-color: var(--brand-200); transition: all 0.2s;
}
.blog-article a:hover {
  color: var(--brand-700); text-decoration-color: var(--brand-400);
}

/* Highlight box */
.blog-highlight {
  background: var(--brand-50); border-left: 4px solid var(--brand-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px; margin: 24px 0;
}
.blog-highlight p { margin: 0; color: var(--brand-800); font-size: 15px; }

/* CTA box */
.blog-cta-box {
  background: linear-gradient(135deg, var(--brand-950), var(--brand-700));
  border-radius: var(--radius-xl); padding: 32px 36px;
  text-align: center; margin: 40px 0;
}
.blog-cta-box h3 {
  color: white; font-size: 20px; margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.blog-cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 20px; font-size: 14px; }
.blog-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: white; color: var(--brand-700);
  border-radius: var(--radius-full); font-weight: 700; font-size: 14px;
  transition: all 0.2s; text-decoration: none !important;
}
.blog-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* FAQ */
.blog-faq { margin-top: 40px; }
.blog-faq h2 { border-top: 2px solid var(--brand-100); padding-top: 8px; }
.faq-item {
  border: 1px solid var(--slate-200); border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  padding: 16px 20px; font-weight: 600; font-size: 15px;
  color: var(--slate-800); cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  background: var(--slate-50); user-select: none;
}
.faq-question:hover { background: var(--brand-50); color: var(--brand-700); }
.faq-answer {
  padding: 0 20px; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px; color: var(--slate-600); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 16px 20px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s; font-style: normal; flex-shrink: 0; }

/* Related articles */
.blog-related { margin-top: 48px; }
.blog-related h2 { font-size: 20px; margin-bottom: 20px; border: none !important; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 540px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 16px; transition: all 0.2s; display: block;
  text-decoration: none !important;
}
.related-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card-label {
  font-size: 11px; font-weight: 600; color: var(--brand-600);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px;
}
.related-card h4 {
  font-size: 14px; font-weight: 600; color: var(--slate-800);
  font-family: 'Inter', sans-serif; line-height: 1.4;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-widget {
  background: white; border-radius: var(--radius-xl);
  padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.sidebar-widget h3 {
  font-size: 14px; font-weight: 700; color: var(--slate-900);
  font-family: 'Inter', sans-serif; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.sidebar-links { display: flex; flex-direction: column; gap: 10px; }
.sidebar-links a {
  font-size: 13px; color: var(--slate-600); display: flex;
  align-items: center; gap: 8px; transition: color 0.2s;
}
.sidebar-links a::before { content: '→'; color: var(--brand-500); font-size: 12px; }
.sidebar-links a:hover { color: var(--brand-600); }
.sidebar-cta {
  background: linear-gradient(135deg, var(--brand-950), var(--brand-700));
  border-radius: var(--radius-xl); padding: 24px; text-align: center;
}
.sidebar-cta h3 { color: white; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.75); font-size: 13px; margin-bottom: 16px; }
.sidebar-cta a {
  display: block; padding: 10px 20px; background: white;
  color: var(--brand-700); border-radius: var(--radius-full);
  font-weight: 700; font-size: 13px; transition: all 0.2s;
  text-decoration: none !important;
}
.sidebar-cta a:hover { transform: translateY(-2px); }

/* ── Blog Index Page ─────────────────────────────────────────── */
.blog-index-hero {
  padding: 120px 0 64px;
  background: linear-gradient(135deg, var(--brand-950) 0%, var(--brand-800) 100%);
  text-align: center;
}
.blog-index-hero h1 { color: white; font-size: clamp(32px, 5vw, 52px); margin-bottom: 14px; }
.blog-index-hero p { color: rgba(255,255,255,0.75); font-size: 18px; max-width: 560px; margin: 0 auto; }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; padding: 60px 0 80px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: white; border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all 0.25s; display: flex; flex-direction: column;
  text-decoration: none !important; color: inherit;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  width: 100%; height: 200px; object-fit: cover; background: var(--brand-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-300); font-size: 40px;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  font-size: 11px; font-weight: 700; color: var(--brand-600);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px;
}
.blog-card h2 {
  font-size: 17px; color: var(--slate-900); line-height: 1.35;
  margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 700;
}
.blog-card p {
  font-size: 13px; color: var(--slate-500); line-height: 1.6;
  flex: 1; margin-bottom: 16px;
}
.blog-card-meta {
  font-size: 12px; color: var(--slate-400); display: flex;
  align-items: center; gap: 12px;
}
.blog-card-read {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--brand-600);
  margin-top: 12px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.blog-footer {
  background: var(--slate-900); padding: 40px 0; text-align: center;
}
.blog-footer p { color: var(--slate-400); font-size: 13px; }
.blog-footer a { color: var(--brand-400); }
.blog-footer a:hover { color: var(--brand-300); }
