/* ═══════════════════════════════════════════════
   PANORAMA KREYÒL — Guides éditoriaux SEO
   ═══════════════════════════════════════════════ */

.breadcrumbs {
  padding: 104px 24px 16px;
  background: var(--cream);
}
.breadcrumbs ol {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  color: var(--muted);
  font-size: .78rem;
}
.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--gold);
}
.breadcrumbs a { transition: color .2s; }
.breadcrumbs a:hover { color: var(--teal); }

.editorial-hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.editorial-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,45,45,.18), rgba(0,32,32,.88));
}
.editorial-hero-inner {
  width: min(100% - 48px, 920px);
  margin: 0 auto;
  padding: 96px 0 64px;
  position: relative;
  z-index: 1;
  color: var(--white);
}
.editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.editorial-kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.editorial-hero h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
  text-wrap: balance;
}
.editorial-hero h1 em { color: var(--gold-light); }
.editorial-hero-deck {
  max-width: 720px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}
.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
}

.editorial-section { padding: 84px 24px 104px; background: var(--white); }
.editorial-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 72px;
  align-items: start;
}
.article-content { min-width: 0; }
.article-lead {
  margin-bottom: 38px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.55;
  color: var(--teal-dark);
}
.article-content h2 {
  margin: 64px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  line-height: 1.18;
  color: var(--teal-dark);
  text-wrap: balance;
}
.article-content h3 {
  margin: 36px 0 12px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink-soft);
}
.article-content p { margin-bottom: 20px; color: var(--ink-soft); }
.article-content a:not(.btn-primary):not(.btn-teal):not(.btn-outline) {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-color: rgba(0,127,127,.35);
  text-underline-offset: 3px;
}
.article-content ul,
.article-content ol { margin: 0 0 28px 22px; color: var(--ink-soft); }
.article-content li { margin-bottom: 10px; padding-left: 4px; }

.article-summary,
.article-note {
  margin: 32px 0;
  padding: 26px 28px;
  border-radius: var(--radius-md);
}
.article-summary {
  background: var(--cream);
  border: 1px solid rgba(196,149,106,.3);
}
.article-note {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
}
.article-summary strong,
.article-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
}
.article-summary p:last-child,
.article-note p:last-child { margin-bottom: 0; }

.article-figure { margin: 40px 0; }
.article-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.article-figure figcaption {
  padding: 10px 8px 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

.article-checklist,
.article-steps {
  display: grid;
  gap: 14px;
  margin: 28px 0 36px;
  list-style: none !important;
}
.article-checklist { margin-left: 0 !important; }
.article-checklist li {
  padding: 17px 18px 17px 50px;
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(0,127,127,.08);
  border-radius: var(--radius-sm);
}
.article-checklist li::before {
  content: '✓';
  position: absolute;
  top: 17px;
  left: 18px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
}
.article-steps { counter-reset: editorial-step; margin-left: 0 !important; }
.article-steps li {
  counter-increment: editorial-step;
  padding: 24px 24px 24px 76px;
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-md);
}
.article-steps li::before {
  content: counter(editorial-step);
  position: absolute;
  top: 22px;
  left: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
}
.article-steps strong { display: block; margin-bottom: 4px; color: var(--teal-dark); }

.article-table-wrap { margin: 32px 0; overflow-x: auto; border-radius: var(--radius-md); }
.article-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--cream); }
.article-table th,
.article-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid rgba(0,127,127,.1); }
.article-table th { background: var(--teal-dark); color: var(--white); font-size: .78rem; letter-spacing: .04em; }
.article-table td { color: var(--ink-soft); font-size: .9rem; }

.editorial-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 20px;
}
.sidebar-card {
  padding: 24px;
  background: var(--cream);
  border: 1px solid rgba(0,127,127,.1);
  border-radius: var(--radius-md);
}
.sidebar-card h2,
.sidebar-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--teal-dark);
}
.sidebar-card p { margin-bottom: 16px; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.sidebar-links { list-style: none; display: grid; gap: 10px; }
.sidebar-links a { color: var(--ink-soft); font-size: .84rem; line-height: 1.4; transition: color .2s; }
.sidebar-links a:hover { color: var(--teal); }

.article-cta {
  margin-top: 64px;
  padding: 42px;
  background: linear-gradient(135deg, var(--teal-dark), var(--ink));
  color: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
}
.article-cta h2 { margin: 0 0 12px; color: var(--white); font-size: 2rem; }
.article-cta p { max-width: 560px; margin: 0 auto 24px; color: rgba(255,255,255,.76); }

.related-section { padding: 88px 24px; background: var(--cream); }
.related-header { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.related-grid,
.guide-cluster-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.related-card,
.guide-cluster-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,127,127,.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.related-card:hover,
.guide-cluster-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card img,
.guide-cluster-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.related-card-body,
.guide-cluster-card-body { padding: 24px; flex: 1; }
.related-card small,
.guide-cluster-card small {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.related-card h3,
.guide-cluster-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  color: var(--teal-dark);
  font-size: 1.18rem;
  line-height: 1.3;
}
.related-card p,
.guide-cluster-card p { color: var(--muted); font-size: .86rem; line-height: 1.65; }

.guide-cluster { padding: 88px 24px; background: var(--cream); }
.guide-cluster-intro { max-width: 760px; margin: 0 auto 42px; text-align: center; }

@media (max-width: 960px) {
  .editorial-layout { grid-template-columns: 1fr; gap: 48px; }
  .editorial-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .related-grid,
  .guide-cluster-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .breadcrumbs { padding: 88px 20px 14px; }
  .editorial-hero { min-height: 470px; }
  .editorial-hero-inner { width: min(100% - 40px, 920px); padding: 72px 0 46px; }
  .editorial-section { padding: 64px 20px 76px; }
  .editorial-sidebar { grid-template-columns: 1fr; }
  .article-content h2 { margin-top: 48px; }
  .article-summary,
  .article-note { padding: 22px; }
  .article-cta { padding: 32px 22px; }
  .related-grid,
  .guide-cluster-grid { grid-template-columns: 1fr; }
}
