/* ==========================================================================
   C mon Bébé — Design system
   ========================================================================== */

:root {
  /* Colors */
  --color-bg: #F7F1E8;
  --color-bg-alt: #FDFAF5;
  --color-text: #2D2A26;
  --color-text-muted: #6B6258;
  --color-primary: #C47E5E;
  --color-primary-dark: #A8684B;
  --color-accent: #D9A679;
  --color-border: #E8DDCB;
  --color-white: #FFFFFF;

  /* Playful accents */
  --color-coral: #E85D75;
  --color-coral-soft: #FADCE3;
  --color-mint: #A8D5BA;
  --color-peach: #F5D5AE;
  --color-sky: #BCD4DE;

  /* Typography */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 760px;
  --radius: 8px;
  --radius-lg: 16px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-dark); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--color-primary); }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.8rem, 1.6rem); }
p { margin-bottom: 1em; }

/* Layout */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-md); }
.section { padding: var(--space-xl) 0; }
.section--alt { background: var(--color-bg-alt); }

/* Header */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(247, 241, 232, 0.92);
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1;
}
.logo::before {
  content: '';
  width: 36px;
  height: 36px;
  background-image: url('/assets/img/favicon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.logo:hover { color: var(--color-primary-dark); }
.logo:hover::before { transform: rotate(-6deg) scale(1.06); }
.logo span { color: var(--color-coral); }
/* Variante footer : le SVG a un fond charbon qui disparaît sur fond sombre,
   on réduit légèrement la taille et on conserve les couleurs */
.site-footer .logo::before { width: 32px; height: 32px; }

.main-nav ul {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}
.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  position: relative;
}
.main-nav a:hover { color: var(--color-primary-dark); }
.main-nav a[aria-current="page"] { color: var(--color-primary-dark); }
.main-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--color-text); }

/* Hero */
.hero {
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
}
.hero-image {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  border-radius: 0;
  overflow: hidden;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,42,38,0.25) 0%, rgba(45,42,38,0.65) 100%);
}
.hero-image .container-narrow { position: relative; z-index: 2; }
.hero-image h1, .hero-image .lead { color: var(--color-white); }
.hero-image .lead { color: rgba(255,255,255,0.92); }
.hero-image .eyebrow { color: var(--color-accent); }

.hub-hero {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-md);
  border: 1px solid var(--color-border);
}
.hub-hero__img {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}
@media (max-width: 768px) {
  .hub-hero { grid-template-columns: 1fr; padding: var(--space-md); }
}
.hero-narrow { max-width: 800px; margin: 0 auto; }
.hero h1 {
  margin-bottom: var(--space-sm);
}
.hero .lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto var(--space-md);
}
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: block;
}

/* Breadcrumb */
.breadcrumb {
  padding: var(--space-sm) 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.breadcrumb ol { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb li::after { content: '›'; margin-left: 0.5rem; color: var(--color-accent); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary-dark); }

/* Hub grid (5 thematic hubs on homepage) */
.hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.hub-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  color: var(--color-text);
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(45, 42, 38, 0.08);
  color: var(--color-text);
}
.hub-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.6rem;
}
.hub-card h3 { margin-bottom: var(--space-xs); }
.hub-card p { color: var(--color-text-muted); font-size: 0.95rem; margin: 0; }
.hub-card__link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--color-primary-dark);
  font-weight: 500;
  font-size: 0.9rem;
}
.hub-card__link::after { content: ' →'; transition: transform 0.2s; }

/* Sub-hubs list (inside a hub page) */
.subhubs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.subhub-card {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  display: block;
  color: var(--color-text);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.subhub-card::before {
  content: '';
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.subhub-card:nth-child(5n+1)::before { background: var(--color-coral); }
.subhub-card:nth-child(5n+2)::before { background: var(--color-mint); }
.subhub-card:nth-child(5n+3)::before { background: var(--color-peach); }
.subhub-card:nth-child(5n+4)::before { background: var(--color-sky); }
.subhub-card:nth-child(5n+5)::before { background: var(--color-coral); }
.subhub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(45,42,38,0.08);
  color: var(--color-text);
}
.subhub-card h3 { font-size: 1.25rem; margin-bottom: var(--space-xs); padding-right: var(--space-md); }
.subhub-card p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }

/* Hub-hero gets a softer shape and accent */
.hub-hero { border-radius: 28px; position: relative; }
.hub-hero__img { border-radius: 20px; }

/* ==========================================================================
   Rich content — comparison tables, callouts, checklists, scenarios
   ========================================================================== */

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--space-md) 0 var(--space-lg);
  font-size: 0.95rem;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.comparison-table thead th {
  background: var(--color-text);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 600;
  text-align: left;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.comparison-table tbody td {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--color-border);
  vertical-align: top;
}
.comparison-table tbody tr:nth-child(even) td { background: var(--color-bg); }
.comparison-table tbody tr:hover td { background: var(--color-coral-soft); }
.comparison-table strong { color: var(--color-primary-dark); }
@media (max-width: 640px) {
  .comparison-table { font-size: 0.85rem; }
  .comparison-table thead th, .comparison-table tbody td { padding: 0.6rem 0.7rem; }
}

/* Callout boxes — warning, tip, info */
.callout {
  border-radius: 14px;
  padding: var(--space-md);
  margin: var(--space-md) 0;
  position: relative;
  padding-left: calc(var(--space-md) + 40px);
}
.callout::before {
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  font-size: 1.4rem;
  line-height: 1;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: inherit; }
.callout--warning { background: #FEF3E2; border-left: 4px solid #E08900; color: #7A4E00; }
.callout--warning::before { content: '⚠'; color: #E08900; }
.callout--tip { background: var(--color-coral-soft); border-left: 4px solid var(--color-coral); color: #8B2A40; }
.callout--tip::before { content: '💡'; }
.callout--info { background: #E0F0F5; border-left: 4px solid #4A8FA6; color: #1F4A5A; }
.callout--info::before { content: 'ℹ'; color: #4A8FA6; font-weight: 700; }
.callout--danger { background: #FBE4E6; border-left: 4px solid #D24A5C; color: #7A1F2B; }
.callout--danger::before { content: '✕'; color: #D24A5C; font-weight: 700; }

/* Checklist */
.checklist {
  background: var(--color-bg-alt);
  padding: var(--space-md);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  margin: var(--space-md) 0;
  list-style: none !important;
}
.checklist li {
  padding: 0.55rem 0 0.55rem 2.4rem !important;
  position: relative;
  font-size: 1rem;
  line-height: 1.55;
  border-bottom: 1px dashed var(--color-border);
  list-style: none;
  margin-bottom: 0 !important;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.75rem;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-coral);
  border-radius: 6px;
}
.checklist li::after {
  content: '✓';
  position: absolute;
  left: 0.4rem;
  top: 0.55rem;
  color: var(--color-coral);
  font-weight: 700;
  font-size: 1rem;
}

/* Budget tiers */
.budget-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}
.budget-tier {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  position: relative;
}
.budget-tier--recommended {
  border-color: var(--color-coral);
  border-width: 2px;
}
.budget-tier__badge {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--color-coral);
  color: var(--color-white);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.budget-tier__range {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  display: block;
  margin-bottom: var(--space-xs);
}
.budget-tier__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.budget-tier p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }

/* Decision scenarios */
.scenarios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin: var(--space-md) 0;
}
.scenario {
  background: var(--color-bg-alt);
  padding: var(--space-md);
  border-radius: 16px;
  border-left: 4px solid var(--color-mint);
}
.scenario--alt { border-left-color: var(--color-peach); }
.scenario--third { border-left-color: var(--color-sky); }
.scenario h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}
.scenario p { font-size: 0.93rem; margin: 0; color: var(--color-text-muted); }
.scenario strong { color: var(--color-primary-dark); }

/* Mistakes to avoid */
.mistakes {
  background: #FBE4E6;
  padding: var(--space-md);
  border-radius: 16px;
  margin: var(--space-md) 0;
  list-style: none !important;
}
.mistakes li {
  padding: 0.5rem 0 0.5rem 2.2rem !important;
  position: relative;
  font-size: 0.97rem;
  color: #5A1822;
  list-style: none;
  margin-bottom: 0 !important;
}
.mistakes li::before {
  content: '✕';
  position: absolute;
  left: 0.3rem;
  top: 0.5rem;
  color: #D24A5C;
  font-weight: 700;
  font-size: 1.1rem;
}
.mistakes li strong { color: #7A1F2B; }

/* Pros/Cons two columns */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-md) 0;
}
.pros-cons > div {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: 14px;
  border: 1px solid var(--color-border);
}
.pros-cons__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid;
}
.pros-cons .pros .pros-cons__title { color: #2E7D5F; border-color: var(--color-mint); }
.pros-cons .cons .pros-cons__title { color: #B04055; border-color: #F5C4CC; }
.pros-cons ul { list-style: none !important; margin: 0 !important; }
.pros-cons li {
  padding: 0.4rem 0 0.4rem 1.6rem !important;
  position: relative;
  font-size: 0.95rem;
  list-style: none;
  margin-bottom: 0 !important;
}
.pros-cons .pros li::before {
  content: '+'; color: #2E7D5F; font-weight: 700; font-size: 1.2rem;
  position: absolute; left: 0; top: 0.2rem;
}
.pros-cons .cons li::before {
  content: '−'; color: #B04055; font-weight: 700; font-size: 1.2rem;
  position: absolute; left: 0; top: 0.2rem;
}
@media (max-width: 640px) {
  .pros-cons { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Article layout — content + sticky sidebar (TOC + siblings)
   ========================================================================== */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  align-items: start;
}
.article-layout > .article-body { order: 1; }
.article-layout > .article-sidebar { order: 2; }
.article-body { min-width: 0; }
.article-body .prose { max-width: 100%; }

.article-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-bottom: var(--space-md);
}
.article-sidebar::-webkit-scrollbar { width: 4px; }
.article-sidebar::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

.sidebar-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-md);
}
.sidebar-block__title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-coral);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
}

/* TOC */
.toc__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0;
  font-size: 0.93rem;
  line-height: 1.45;
}
.toc__list li { margin-bottom: 0.55rem; padding-left: 0 !important; list-style: none; }
.toc__list li::before { display: none !important; }
.toc__list a {
  color: var(--color-text-muted);
  display: block;
  padding: 0.3rem 0.6rem 0.3rem 0.8rem;
  border-left: 2px solid transparent;
  transition: all 0.15s;
  border-radius: 0 4px 4px 0;
}
.toc__list a:hover {
  color: var(--color-primary-dark);
  background: var(--color-bg);
  border-left-color: var(--color-coral);
}
.toc__list a.is-active {
  color: var(--color-primary-dark);
  border-left-color: var(--color-coral);
  background: var(--color-coral-soft);
  font-weight: 600;
}

/* Siblings (pages sœurs) */
.siblings__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0;
  font-size: 0.92rem;
}
.siblings__list li { margin-bottom: 0.55rem; padding-left: 0 !important; list-style: none; }
.siblings__list li::before { display: none !important; }
.siblings__list a {
  color: var(--color-text);
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: background 0.15s;
  position: relative;
  padding-left: 1.6rem;
}
.siblings__list a::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-coral);
}
.siblings__list a:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
}
.siblings__list a.is-current {
  background: var(--color-coral-soft);
  font-weight: 600;
  cursor: default;
}
.siblings__list a.is-current::before { background: var(--color-mint); }

/* Compact CTA in sidebar */
.sidebar-cta {
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-md);
  border-radius: 16px;
  text-align: center;
}
.sidebar-cta h4 { font-family: var(--font-serif); color: var(--color-bg); font-size: 1.1rem; margin-bottom: var(--space-xs); }
.sidebar-cta p { color: rgba(247, 241, 232, 0.8); font-size: 0.88rem; margin-bottom: var(--space-sm); }
.sidebar-cta .btn {
  display: block;
  width: 100%;
  padding: 0.7rem;
  font-size: 0.9rem;
  box-shadow: none;
}

@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: var(--space-md); max-width: 780px; }
  .article-layout > .article-sidebar { order: 0; }
  .article-layout > .article-body { order: 1; }
  .article-sidebar { position: static; max-height: none; flex-direction: row; overflow-x: auto; padding-bottom: 0.5rem; }
  .article-sidebar .sidebar-block { flex: 1 0 260px; }
  .sidebar-cta { display: none; }
}
@media (max-width: 640px) {
  .article-sidebar { flex-direction: column; }
  .article-sidebar .sidebar-block { flex: 1 1 auto; }
}

/* ==========================================================================
   Homepage — magazine layout (split hero, featured editorial, image hubs)
   ========================================================================== */

/* Split hero : text left, image right */
.hero-split {
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
}
.hero-split__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
}
.hero-split__content { position: relative; z-index: 2; }
.hero-split__eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-coral);
  margin-bottom: var(--space-md);
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--color-coral-soft);
  border-radius: 999px;
}
.hero-split h1 {
  font-size: clamp(2.2rem, 4vw + 1rem, 4rem);
  line-height: 1.05;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}
.hero-split h1 em { font-style: italic; color: var(--color-coral); }
.hero-split__lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: var(--space-lg);
}
.hero-split__ctas { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.hero-split__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero-split__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(45,42,38,0.15) 100%);
}
.hero-split__tag {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: var(--color-white);
  color: var(--color-text);
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(45,42,38,0.15);
  max-width: 260px;
  z-index: 3;
}
.hero-split__tag strong { color: var(--color-coral); display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.hero-split__decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-split__decor--1 { width: 240px; height: 240px; background: var(--color-coral-soft); top: -60px; right: 30%; opacity: 0.55; z-index: 0; }
.hero-split__decor--2 { width: 140px; height: 140px; background: var(--color-mint); bottom: 20%; left: 40%; opacity: 0.35; z-index: 0; }

@media (max-width: 900px) {
  .hero-split__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hero-split__visual { aspect-ratio: 16/10; max-height: 400px; }
  .hero-split__lead { font-size: 1.08rem; }
}

/* Featured editorial block */
.featured {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
  transition: transform 0.2s;
  color: var(--color-text);
}
.featured:hover { transform: translateY(-2px); color: var(--color-text); }
.featured__img {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.featured__body { padding: var(--space-lg); display: flex; flex-direction: column; justify-content: center; }
.featured__meta {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--color-coral);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.featured h3 {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.2rem);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}
.featured__excerpt { color: var(--color-text-muted); font-size: 1.02rem; margin-bottom: var(--space-md); }
.featured__footer { display: flex; align-items: center; gap: var(--space-sm); font-size: 0.88rem; color: var(--color-text-muted); }
.featured__author {
  width: 36px; height: 36px; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 2px solid var(--color-bg);
}
@media (max-width: 780px) {
  .featured { grid-template-columns: 1fr; }
  .featured__img { min-height: 240px; aspect-ratio: 16/9; }
}

/* Hub cards with image background (homepage version) */
.hubs-grid--magazine { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hub-card--image {
  padding: 0;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  border: none;
}
.hub-card--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,42,38,0.15) 0%, rgba(45,42,38,0.75) 100%);
  transition: opacity 0.2s;
}
.hub-card--image:hover::before { background: linear-gradient(180deg, rgba(45,42,38,0.2) 0%, rgba(196,126,94,0.82) 100%); }
.hub-card--image:hover { color: var(--color-white); transform: translateY(-4px); }
.hub-card--image__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
}
.hub-card--image__tag {
  align-self: flex-start;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: auto;
}
.hub-card--image h3 { color: var(--color-white); font-size: 1.5rem; margin: 0; }
.hub-card--image p { color: rgba(255,255,255,0.88); font-size: 0.92rem; margin: 0; }
.hub-card--image .hub-card__link { color: var(--color-white); opacity: 0.95; font-weight: 500; margin-top: 0.3rem; display: inline-block; }

/* Stats — variante, texte blanc sur coral */
.stats--refined .stat-item__number { color: var(--color-white); }
.stats--refined .stat-item__label { color: rgba(255, 255, 255, 0.92); font-weight: 500; letter-spacing: 0.06em; }
.stats--refined .stat-item + .stat-item::before { background: rgba(255, 255, 255, 0.28); }

/* Pull quote (big editorial testimonial) */
.pull-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-md) 0;
  position: relative;
}
.pull-quote::before {
  content: '“';
  font-family: var(--font-serif);
  font-size: 8rem;
  line-height: 1;
  color: var(--color-coral);
  display: block;
  margin-bottom: -2rem;
  opacity: 0.4;
}
.pull-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw + 0.6rem, 2rem);
  line-height: 1.35;
  color: var(--color-text);
  font-style: normal;
  font-weight: 400;
  margin: 0 auto var(--space-md);
  padding: 0;
  border: none;
  max-width: 720px;
}
.pull-quote cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.pull-quote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 2px solid var(--color-coral-soft);
}

/* Article cards — magazine refresh (homepage) */
.article-card--magazine {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
}
.article-card--magazine .article-card__img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}
.article-card--magazine .article-card__body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.article-card--magazine h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 0.6rem; }
.article-card--magazine p { flex: 1; }
.article-card--magazine__footer {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--color-text-muted);
  margin-top: var(--space-sm); padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

/* Section intro (pre-heading small label) */
.section-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-coral);
  display: inline-block;
  margin-bottom: var(--space-sm);
}

/* Key takeaway */
.key-takeaway {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-coral-soft) 100%);
  padding: var(--space-lg);
  border-radius: 20px;
  margin: var(--space-lg) 0;
  position: relative;
  border: 1px solid var(--color-border);
}
.key-takeaway__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-coral);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  display: block;
}
.key-takeaway h3 {
  font-family: var(--font-serif);
  margin-bottom: var(--space-xs);
}
.key-takeaway p { margin: 0; font-size: 1.02rem; }

/* Articles grid (latest blog posts) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.article-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.2s;
}
.article-card:hover { transform: translateY(-2px); }
.article-card__img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  position: relative;
}
.article-card__body { padding: var(--space-md); }
.article-card__meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.article-card h3 { font-size: 1.2rem; margin-bottom: var(--space-xs); }
.article-card h3 a { color: var(--color-text); }
.article-card p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }

/* Prose — editorial long-form content */
.prose {
  max-width: 680px;
  margin: 0 auto;
}
.prose h2 { margin: var(--space-lg) 0 var(--space-sm); }
.prose h3 { margin: var(--space-md) 0 var(--space-sm); }
.prose p { font-size: 1.05rem; line-height: 1.75; }
.prose ul, .prose ol {
  margin: 0 0 1em var(--space-md);
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5em; padding-left: 0.5em; }
.prose strong { color: var(--color-text); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-md);
  font-style: italic;
  color: var(--color-text-muted);
  margin: var(--space-md) 0;
}

/* Section heading */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}
.section-heading p {
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* CTA button */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.2s;
  border: none;
}
.btn:hover { background: var(--color-primary-dark); color: var(--color-white); }
.btn--ghost { background: transparent; color: var(--color-primary-dark); border: 1px solid var(--color-primary); }
.btn--ghost:hover { background: var(--color-primary); color: var(--color-white); }

/* Newsletter block */
.newsletter {
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
}
.newsletter h2 { color: var(--color-bg); margin-bottom: var(--space-sm); }
.newsletter p { color: rgba(247, 241, 232, 0.8); margin-bottom: var(--space-md); }
.newsletter-form {
  display: flex;
  gap: var(--space-xs);
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

/* FAQ */
.faq details {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}
.faq summary {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: var(--space-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > p { margin-top: var(--space-sm); color: var(--color-text-muted); }

/* Footer */
.site-footer {
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-xl);
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-md);
}
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}
.site-footer a { color: rgba(247, 241, 232, 0.85); }
.site-footer a:hover { color: var(--color-white); }
.site-footer ul li { margin-bottom: var(--space-xs); font-size: 0.9rem; }
.site-footer .logo { color: var(--color-bg); display: inline-block; margin-bottom: var(--space-sm); }
.site-footer .logo span { color: var(--color-accent); }
.footer-bottom {
  max-width: var(--container-max);
  margin: var(--space-md) auto 0;
  padding: var(--space-md) var(--space-md) 0;
  border-top: 1px solid rgba(247, 241, 232, 0.15);
  font-size: 0.85rem;
  color: rgba(247, 241, 232, 0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ==========================================================================
   Playful additions — doodles, counters, testimonials, wavy dividers
   ========================================================================== */

/* Wavy section divider */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: -1px;
  color: var(--color-bg-alt); /* match next section bg */
}
.wave-divider--flip { transform: rotate(180deg); }

/* Decorative doodles absolutely positioned */
.doodle {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}
.doodle--star { color: var(--color-coral); }
.doodle--circle { color: var(--color-mint); }
.doodle--squiggle { color: var(--color-peach); }

/* Hero gets softer corners and decorative dots */
.hero-image {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero-image .eyebrow {
  background: rgba(232, 93, 117, 0.2);
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Rounder hub cards like Kitar */
.hub-card {
  border-radius: 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.hub-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.8rem;
}
.hub-card:nth-child(5n+1) .hub-card__icon { background: var(--color-coral-soft); }
.hub-card:nth-child(5n+2) .hub-card__icon { background: var(--color-mint); }
.hub-card:nth-child(5n+3) .hub-card__icon { background: var(--color-peach); }
.hub-card:nth-child(5n+4) .hub-card__icon { background: var(--color-sky); }
.hub-card:nth-child(5n+5) .hub-card__icon { background: var(--color-coral-soft); }

/* Stronger CTA button */
.btn {
  border-radius: 999px;
  padding: 1rem 2rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(196, 126, 94, 0.25);
}
.btn--coral {
  background: var(--color-coral);
  box-shadow: 0 4px 14px rgba(232, 93, 117, 0.3);
}
.btn--coral:hover { background: #D14961; }

/* Counters / stats block (like Kitar "750+ Total Students") */
.stats {
  background: var(--color-coral);
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}
.stats-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  text-align: center;
  position: relative;
  z-index: 2;
}
.stat-item { position: relative; }
.stat-item__number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.stat-item__label {
  font-size: 0.95rem;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: calc(var(--space-md) * -0.5);
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.25);
}
@media (max-width: 640px) {
  .stat-item + .stat-item::before { display: none; }
}

/* Testimonials — speech bubbles */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg) var(--space-md);
  margin-top: var(--space-lg);
}
.testimonial {
  position: relative;
  padding-bottom: 70px;
}
.testimonial__bubble {
  background: var(--color-white);
  border-radius: 20px;
  padding: var(--space-md);
  position: relative;
  border: 1px solid var(--color-border);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text);
}
.testimonial__bubble::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-coral);
  position: absolute;
  top: -8px;
  left: 16px;
  line-height: 1;
}
.testimonial__bubble::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 32px;
  width: 28px;
  height: 28px;
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transform: rotate(45deg);
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-left: var(--space-sm);
}
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 3px solid var(--color-coral-soft);
}
.testimonial__name { font-weight: 600; font-size: 0.95rem; }
.testimonial__role { font-size: 0.85rem; color: var(--color-text-muted); }

/* Section with playful background */
.section--playful {
  position: relative;
  overflow: hidden;
}
.section--playful::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-coral-soft);
  opacity: 0.5;
  z-index: 0;
}
.section--playful::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -3%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-mint);
  opacity: 0.3;
  z-index: 0;
}
.section--playful .container { position: relative; z-index: 2; }

/* Responsive */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md);
  }
  .main-nav.is-open ul { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--space-lg) 0; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
