/* Guide Freelance V4 — Bold Editorial Redesign */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════ */
:root {
  --ink: #0F0F0F;
  --ink-80: #2A2A2A;
  --ink-60: #666666;
  --ink-40: #999999;
  --ink-20: #CCCCCC;
  --ink-10: #E5E5E5;

  --bg: #F8F7F4;
  --bg-alt: #EFEDE8;
  --bg-card: #FFFFFF;
  --bg-dark: #0F0F0F;

  --coral: #E8553D;
  --coral-dark: #D04530;
  --coral-light: #FEF0EC;
  --coral-glow: rgba(232,85,61,0.12);

  --sage: #2A8F6B;
  --sage-dark: #1F7456;
  --sage-light: #EEFBF4;

  --indigo: #4F5BD5;
  --indigo-light: #F0F1FE;

  --amber: #D4850A;
  --amber-light: #FFF8EB;

  --border: #E2E0DB;
  --border-light: #ECEAE5;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.1);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-2xl: 44px;
  --r-full: 9999px;

  --max-w: 1240px;
  --max-w-narrow: 1100px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.2s var(--ease);
  --t-normal: 0.35s var(--ease);
  --t-slow: 0.5s var(--ease);

  /* V3 compat */
  --accent: var(--coral);
  --accent-dark: var(--coral-dark);
  --accent-light: var(--coral-light);
  --teal: var(--sage);
  --teal-dark: var(--sage-dark);
  --teal-light: var(--sage-light);
  --slate: var(--indigo);
  --slate-light: var(--indigo-light);
  --gold: var(--amber);
  --gold-light: var(--amber-light);
  --cream: var(--bg);
  --cream-dark: var(--bg-alt);
  --warm-gray: #DDD9D0;
  --surface: var(--bg);
  --surface-alt: var(--bg-alt);
  --card-bg: var(--bg-card);
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* Grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.018'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
.serif { font-family: 'Instrument Serif', Georgia, serif; }
.sans { font-family: 'Geist', system-ui, sans-serif; }

h1, .h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
}
h2, .h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 400;
}
h3, .h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.15;
  font-weight: 400;
}

.label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-40);
}
.label--coral { color: var(--coral); }

/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.wrap--narrow { max-width: var(--max-w-narrow); }

.section { padding: 7rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .wrap { padding: 0 1.25rem; }
}

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 244, 0.75);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.header.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.04); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  color: var(--ink);
}
.header__logo-mark {
  width: 30px;
  height: 30px;
  background: var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__logo-mark svg { width: 15px; height: 15px; }

.header__nav { display: flex; align-items: center; gap: 0.1rem; }
.header__nav a {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-60);
  border-radius: 8px;
  transition: all var(--t-fast);
}
.header__nav a:hover { color: var(--ink); background: rgba(0,0,0,0.03); }
.header__nav a.active { color: var(--ink); font-weight: 600; }

.header__cta {
  margin-left: 0.75rem;
  padding: 0.4rem 1rem !important;
  background: var(--ink) !important;
  color: #fff !important;
  border-radius: var(--r-full) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
}
.header__cta:hover { opacity: 0.85 !important; }

.header__mobile { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; }
.header__mobile svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 60px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  .header__mobile { display: flex; }
}

/* ═══════════════════════════════════════
   HERO — Split with Bento preview
   ═══════════════════════════════════════ */
.hero {
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 520px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem 0.3rem 0.55rem;
  background: var(--coral-light);
  border: 1px solid var(--coral-glow);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 2rem;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

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

.hero__desc {
  font-size: 1.1rem;
  color: var(--ink-60);
  line-height: 1.75;
  margin: 1.5rem 0 2.5rem;
  max-width: 460px;
}
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Hero bento */
.hero__bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}
.hero__bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: all var(--t-normal);
  text-decoration: none;
  color: inherit;
}
.hero__bento-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.hero__bento-card--featured {
  grid-column: 1 / -1;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 2rem;
}
.hero__bento-card--featured:hover { background: var(--ink-80); }
.hero__bento-card--featured .hero__bento-tag { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }
.hero__bento-card--featured .hero__bento-desc { color: rgba(255,255,255,0.55); }
.hero__bento-card--featured .hero__bento-icon { background: rgba(255,255,255,0.08); color: var(--coral); }

.hero__bento-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.hero__bento-icon svg { width: 20px; height: 20px; }
.hero__bento-icon--coral { background: var(--coral-light); color: var(--coral); }
.hero__bento-icon--sage { background: var(--sage-light); color: var(--sage); }
.hero__bento-icon--indigo { background: var(--indigo-light); color: var(--indigo); }

.hero__bento-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.55rem;
  background: var(--coral-light);
  color: var(--coral);
  border-radius: var(--r-full);
  margin-bottom: 0.6rem;
  display: inline-block;
}
.hero__bento-tag--sage { background: var(--sage-light); color: var(--sage); }
.hero__bento-tag--indigo { background: var(--indigo-light); color: var(--indigo); }

.hero__bento-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}
.hero__bento-desc {
  font-size: 0.8rem;
  color: var(--ink-60);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__bento { order: -1; }
}
@media (max-width: 480px) {
  .hero__bento { grid-template-columns: 1fr; }
  .hero__bento-card--featured { flex-direction: column; gap: 1rem; }
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn--primary:hover { background: var(--ink-80); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,85,61,0.2);
}
.btn--coral:hover { background: var(--coral-dark); transform: translateY(-1px); }

.btn--outline {
  background: var(--bg-card);
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--ink-20); background: var(--bg-alt); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  padding: 0.5rem 0;
}
.btn--ghost:hover { color: var(--coral); }

.btn--white {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow-sm);
}
.btn--white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--teal, .btn--sage {
  background: var(--sage);
  color: #fff;
}
.btn--teal:hover, .btn--sage:hover { background: var(--sage-dark); }

.btn--lg { padding: 0.8rem 1.85rem; font-size: 0.92rem; }

/* ═══════════════════════════════════════
   STATS BAR — horizontal trust strip
   ═══════════════════════════════════════ */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
}
.stats-bar__item { text-align: center; }
.stats-bar__num {
  font-family: 'Instrument Serif', serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
}
.stats-bar__label {
  font-size: 0.78rem;
  color: var(--ink-40);
  margin-top: 0.3rem;
}

@media (max-width: 600px) {
  .stats-bar__inner { flex-wrap: wrap; gap: 1.5rem; }
  .stats-bar__item { flex: 1 1 40%; }
  .stats-bar__num { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════ */
.sh { margin-bottom: 3rem; }
.sh--center { text-align: center; }
.sh--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.sh__label { margin-bottom: 0.75rem; }
.sh__title { margin-bottom: 0.6rem; }
.sh__desc { font-size: 1.02rem; color: var(--ink-60); max-width: 520px; line-height: 1.7; }
.sh--center .sh__desc { margin: 0 auto; }

@media (max-width: 768px) {
  .sh--split { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════
   GUIDES BENTO GRID
   ═══════════════════════════════════════ */
.guides-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.guides-bento__card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-normal);
  display: flex;
  flex-direction: column;
}
.guides-bento__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.guides-bento__card--wide {
  grid-column: span 2;
  flex-direction: row;
}
.guides-bento__card--tall {
  grid-row: span 2;
}
.guides-bento__visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.guides-bento__card--wide .guides-bento__visual {
  width: 260px;
  height: auto;
  flex-shrink: 0;
}
.guides-bento__card--tall .guides-bento__visual {
  height: 200px;
}
.guides-bento__visual svg { width: 70%; height: 70%; }
.guides-bento__visual--coral { background: var(--coral-light); }
.guides-bento__visual--sage { background: var(--sage-light); }
.guides-bento__visual--indigo { background: var(--indigo-light); }
.guides-bento__visual--amber { background: var(--amber-light); }

.guides-bento__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.guides-bento__tag {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.2rem 0.55rem; border-radius: var(--r-full);
  display: inline-block; width: fit-content; margin-bottom: 0.6rem;
}
.guides-bento__tag--coral { background: var(--coral-light); color: var(--coral); }
.guides-bento__tag--sage { background: var(--sage-light); color: var(--sage); }
.guides-bento__tag--indigo { background: var(--indigo-light); color: var(--indigo); }
.guides-bento__tag--amber { background: var(--amber-light); color: var(--amber); }

.guides-bento__title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 0.4rem;
  transition: color var(--t-fast);
}
.guides-bento__card:hover .guides-bento__title { color: var(--coral); }

.guides-bento__excerpt {
  font-size: 0.84rem;
  color: var(--ink-60);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.guides-bento__read {
  font-size: 0.8rem; font-weight: 600; color: var(--coral);
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: gap var(--t-fast);
}
.guides-bento__read:hover { gap: 0.6rem; }
.guides-bento__read svg { width: 13px; height: 13px; }
.guides-bento__time { font-size: 0.72rem; color: var(--ink-40); margin-top: auto; padding-top: 0.75rem; }

@media (max-width: 900px) {
  .guides-bento { grid-template-columns: 1fr; }
  .guides-bento__card--wide { grid-column: span 1; flex-direction: column; }
  .guides-bento__card--wide .guides-bento__visual { width: 100%; height: 160px; }
  .guides-bento__card--tall { grid-row: span 1; }
}

/* ═══════════════════════════════════════
   FEATURES / PILLARS — 3 col with accent top bar
   ═══════════════════════════════════════ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all var(--t-normal);
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--pillar-color, var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-normal);
}
.pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar:hover::before { transform: scaleX(1); }

.pillar__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar__icon--coral { background: var(--coral-light); color: var(--coral); --pillar-color: var(--coral); }
.pillar__icon--sage { background: var(--sage-light); color: var(--sage); --pillar-color: var(--sage); }
.pillar__icon--indigo { background: var(--indigo-light); color: var(--indigo); --pillar-color: var(--indigo); }

.pillar__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.pillar__desc { font-size: 0.86rem; color: var(--ink-60); line-height: 1.6; }

@media (max-width: 768px) { .pillars { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════
   CTA — Full-width dark banner
   ═══════════════════════════════════════ */
.cta-block {
  background: var(--ink);
  border-radius: var(--r-2xl);
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(232,85,61,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 30%, rgba(42,143,107,0.08) 0%, transparent 50%);
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-block p {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.cta-block__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .cta-block { padding: 3.5rem 1.75rem; border-radius: var(--r-xl); }
  .cta-block__actions { flex-direction: column; align-items: center; }
  .cta-block__actions .btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.4);
  padding: 5rem 0 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand { max-width: 300px; }
.footer__brand-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__brand-name span {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer__brand-name span svg { width: 13px; height: 13px; }
.footer__brand-desc { font-size: 0.85rem; line-height: 1.7; }
.footer__heading {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2);
  margin-bottom: 1.25rem;
}
.footer__links a {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  padding: 0.2rem 0;
  transition: color var(--t-fast);
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: rgba(255,255,255,0.3); }
.footer__legal a:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ═══════════════════════════════════════
   STICKY CTA BAR
   ═══════════════════════════════════════ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: var(--ink);
  padding: 0.65rem 0;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0.85rem; flex-wrap: wrap;
}
.sticky-cta__text {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
}
.sticky-cta__text strong { color: #fff; }
.sticky-cta .btn { padding: 0.4rem 1rem; font-size: 0.8rem; }

@media (max-width: 600px) { .sticky-cta__text { display: none; } }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.6s var(--ease) forwards; }
.fade-up--d1 { animation-delay: 0.08s; }
.fade-up--d2 { animation-delay: 0.16s; }
.fade-up--d3 { animation-delay: 0.24s; }
.fade-up--d4 { animation-delay: 0.32s; }

.reveal { opacity: 0; transform: translateY(16px); transition: all 0.5s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════
   ARTICLE PAGES
   ═══════════════════════════════════════ */
.article-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.article-hero__breadcrumb {
  font-size: 0.78rem; color: var(--ink-40);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.article-hero__breadcrumb a { color: var(--coral); }
.article-hero__breadcrumb svg { width: 12px; height: 12px; color: var(--ink-20); }
.article-hero__tag { margin-bottom: 1rem; }
.article-hero__title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 680px;
}
.article-hero__meta {
  display: flex; align-items: center; gap: 1.25rem;
  font-size: 0.83rem; color: var(--ink-40);
}

/* Article tags */
.a-card__tag {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.2rem 0.55rem; border-radius: var(--r-full);
  display: inline-block;
}
.a-card__tag--accent, .a-card__tag--coral { background: var(--coral-light); color: var(--coral); }
.a-card__tag--teal, .a-card__tag--sage { background: var(--sage-light); color: var(--sage); }
.a-card__tag--slate, .a-card__tag--blue, .a-card__tag--indigo { background: var(--indigo-light); color: var(--indigo); }
.a-card__tag--gold, .a-card__tag--amber { background: var(--amber-light); color: var(--amber); }

/* TOC */
.toc {
  background: var(--bg-alt);
  border-left: 3px solid var(--coral);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0 3rem;
}
.toc__title {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-40); margin-bottom: 0.75rem;
}
.toc ol { padding-left: 1.25rem; counter-reset: toc; }
.toc ol li { counter-increment: toc; margin-bottom: 0.45rem; }
.toc ol li::marker { color: var(--coral); font-weight: 600; }
.toc a { font-size: 0.9rem; color: var(--ink-60); transition: color var(--t-fast); }
.toc a:hover { color: var(--coral); }

/* Article content */
.article-content { padding: 2rem 0 4rem; }
.article-content h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.65rem;
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.2;
}
.article-content h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}
.article-content p { color: var(--ink-60); margin-bottom: 1.2rem; }
.article-content strong { color: var(--ink); }
.article-content ul, .article-content ol {
  padding-left: 1.5rem; margin-bottom: 1.2rem;
  color: var(--ink-60); list-style: revert;
}
.article-content li { margin-bottom: 0.35rem; }
.article-content a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
.article-content a.btn { color: inherit; text-decoration: none; }
.article-content a.btn--coral { color: #fff; }
.article-content a.btn--outline { color: var(--ink); }
.article-content a.btn--white { color: var(--ink); }
.article-content a:hover { color: var(--coral-dark); }

/* CTA Box */
.cta-box {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--sage), var(--coral));
}
.cta-box__title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--ink);
}
.cta-box__desc {
  font-size: 0.9rem; color: var(--ink-60);
  margin: 0 auto 2rem; max-width: 460px; line-height: 1.7;
}
.cta-box .btn { min-width: 150px; justify-content: center; }

.cta-box--teal { border-color: rgba(42,143,107,0.2); }
.cta-box--teal::before { background: linear-gradient(90deg, var(--sage), var(--coral), var(--sage)); }

/* Comparison table */
.comp-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; margin: 2rem 0;
}
.comp-table th {
  background: var(--ink); color: #fff;
  padding: 0.8rem 1.1rem; font-size: 0.83rem;
  font-weight: 600; text-align: left;
}
.comp-table td {
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.86rem; color: var(--ink-60);
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:nth-child(even) td { background: var(--bg); }

/* Article visuals */
.article-visual {
  margin: 3rem 0; padding: 2rem 1.5rem;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.article-visual svg { max-width: 380px; width: 100%; }
.article-visual--accent { background: var(--coral-light); }
.article-visual--teal { background: var(--sage-light); }
.article-visual--slate { background: var(--indigo-light); }
.article-visual--gold { background: var(--amber-light); }

/* Info box */
.info-box {
  background: var(--bg-alt);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.25rem 1.75rem; margin: 2rem 0;
}
.info-box--accent { border-left-color: var(--coral); }
.info-box__title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--ink); }

/* ═══ H3 Step Cards ═══ */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 1.75rem 2rem;
  margin: 1.5rem 0;
  position: relative;
  transition: box-shadow var(--t-fast);
}
.step-card:hover { box-shadow: var(--shadow-sm); }
.step-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}
.step-card p { color: var(--ink-60); margin-bottom: 0.75rem; }
.step-card p:last-child { margin-bottom: 0; }
.step-card ul, .step-card ol { margin-bottom: 0.75rem; }
.step-card ul:last-child, .step-card ol:last-child { margin-bottom: 0; }

/* ═══ FAQ Accordion ═══ */
.faq-list { margin: 2rem 0; }
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item:hover { border-color: var(--border); }
.faq-item[open] { border-color: var(--coral); }
.faq-item[open] summary { background: var(--bg-alt); }
.faq-item summary {
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--t-fast);
}
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary::after {
  content: '';
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-40);
  border-bottom: 2px solid var(--ink-40);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-60);
  line-height: 1.7;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* ═══ Key Points Box ═══ */
.key-points {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--bg-alt) 100%);
  border: 1px solid rgba(42,143,107,0.15);
  border-radius: var(--r-xl);
  padding: 2rem 2rem;
  margin: 2.5rem 0;
  position: relative;
}
.key-points::before {
  content: '✓';
  position: absolute;
  top: -12px; left: 20px;
  width: 28px; height: 28px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.key-points h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  margin: 0 0 1rem;
  color: var(--ink);
}
.key-points ul { list-style: none; padding: 0; margin: 0; }
.key-points li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--ink-60);
  font-size: 0.9rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(42,143,107,0.08);
}
.key-points li:last-child { border-bottom: none; }
.key-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 600;
}

/* ═══ "Voir aussi" Related Links ═══ */
.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.related-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  text-decoration: none !important;
  transition: all var(--t-fast);
}
.related-link:hover {
  border-color: var(--coral);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.related-link::before {
  content: '→';
  width: 32px; height: 32px;
  background: var(--coral-light);
  color: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.related-link:hover::before { background: var(--coral); color: #fff; }
.related-link__text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

/* ═══ Blockquote styled ═══ */
.article-content blockquote {
  background: var(--bg-alt);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--ink-60);
}
.article-content blockquote strong { color: var(--ink); font-style: normal; }

/* Disclosure */
.disclosure {
  background: var(--bg-alt);
  border-radius: var(--r-md);
  padding: 1.1rem 1.4rem;
  margin-top: 3rem;
  font-size: 0.76rem; color: var(--ink-40); line-height: 1.7;
}

/* Carousel */
.carousel { margin: 3rem 0; padding: 3rem 0; border-top: 1px solid var(--border-light); }
.carousel__title { font-family: 'Instrument Serif', serif; font-size: 1.4rem; margin-bottom: 1.5rem; }
.carousel__track {
  display: flex; gap: 1.25rem; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.carousel__track::-webkit-scrollbar { height: 3px; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.carousel__item {
  flex: 0 0 280px; scroll-snap-align: start;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--r-xl); overflow: hidden;
  transition: all var(--t-fast);
  text-decoration: none;
}
.carousel__item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border); }
.carousel__item-img {
  width: 100%; aspect-ratio: 16/10; overflow: hidden;
}
.carousel__item-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.carousel__item:hover .carousel__item-img img { transform: scale(1.05); }
.carousel__item-body { padding: 1.1rem 1.3rem 1.3rem; }
.carousel__item-tag {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--coral); margin-bottom: 0.4rem;
}
.carousel__item-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.05rem; line-height: 1.25; margin-bottom: 0.6rem; color: var(--ink);
}
.carousel__item-link {
  font-size: 0.8rem; font-weight: 600; color: var(--coral);
  display: inline-flex; align-items: center; gap: 0.25rem;
}

/* ═══════════════════════════════════════
   V3 COMPAT CLASSES
   ═══════════════════════════════════════ */
/* Section headers */
.sh { margin-bottom: 3.5rem; }
.sh--center { text-align: center; }
.sh__label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-40); margin-bottom: 0.75rem; }
.sh__title { margin-bottom: 0.75rem; }
.sh__desc { font-size: 1.02rem; color: var(--ink-60); max-width: 520px; line-height: 1.7; }
.sh--center .sh__desc { margin: 0 auto; }
.t-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-40); }
.t-display { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; line-height: 1.08; letter-spacing: -0.025em; }
.t-display--xl { font-size: clamp(2.8rem, 5.5vw, 4.2rem); }
.t-display--lg { font-size: clamp(2rem, 3.5vw, 3rem); }
.t-display--md { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.t-italic { font-style: italic; }
.t-accent { color: var(--coral); }
.t-teal { color: var(--sage); }
.t-body { font-size: 1.05rem; color: var(--ink-60); line-height: 1.75; }
.t-body--lg { font-size: 1.15rem; }

/* Cat cards compat */
.categories { padding: 5rem 0; }
.categories__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.cat-card {
  background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--r-xl);
  padding: 2rem 1.75rem; transition: all var(--t-normal); position: relative; overflow: hidden;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cat-card__icon { width: 44px; height: 44px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.cat-card__icon svg { width: 22px; height: 22px; }
.cat-card__icon--accent { background: var(--coral-light); color: var(--coral); }
.cat-card__icon--teal { background: var(--sage-light); color: var(--sage); }
.cat-card__icon--slate { background: var(--indigo-light); color: var(--indigo); }
.cat-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.cat-card__desc { font-size: 0.86rem; color: var(--ink-60); margin-bottom: 1.25rem; line-height: 1.6; }
.cat-card__link { font-size: 0.8rem; font-weight: 600; color: var(--coral); display: inline-flex; align-items: center; gap: 0.35rem; }
.cat-card__link svg { width: 13px; height: 13px; }

@media (max-width: 768px) { .categories__grid { grid-template-columns: 1fr; } }

/* Article cards compat */
.articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.a-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--r-xl); overflow: hidden; transition: all var(--t-normal); display: flex; flex-direction: column; }
.a-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.a-card__img { height: 160px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.a-card__img svg { width: 70%; height: 70%; }
.a-card__img--accent { background: var(--coral-light); }
.a-card__img--teal { background: var(--sage-light); }
.a-card__img--slate { background: var(--indigo-light); }
.a-card__img--gold { background: var(--amber-light); }
.a-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.a-card__meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.a-card__time { font-size: 0.75rem; color: var(--ink-40); }
.a-card__title { font-family: 'Instrument Serif', serif; font-size: 1.15rem; line-height: 1.2; margin-bottom: 0.4rem; transition: color var(--t-fast); }
.a-card:hover .a-card__title { color: var(--coral); }
.a-card__excerpt { font-size: 0.84rem; color: var(--ink-60); line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.a-card__read { font-size: 0.8rem; font-weight: 600; color: var(--coral); display: inline-flex; align-items: center; gap: 0.35rem; }
.a-card__read svg { width: 13px; height: 13px; }

@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .a-card__img { height: 140px; }
}

/* Trust compat */
.trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.trust-item { text-align: center; padding: 2rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--r-xl); }
.trust-item:hover { box-shadow: var(--shadow-sm); }
.trust-item__icon { width: 44px; height: 44px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); }
.trust-item__icon--accent { background: var(--coral-light); color: var(--coral); }
.trust-item__icon--teal { background: var(--sage-light); color: var(--sage); }
.trust-item__icon--slate, .trust-item__icon--blue { background: var(--indigo-light); color: var(--indigo); }
.trust-item__icon svg { width: 22px; height: 22px; }
.trust-item__title { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.35rem; }
.trust-item__desc { font-size: 0.84rem; color: var(--ink-60); line-height: 1.6; }
@media (max-width: 768px) { .trust { grid-template-columns: 1fr; } }

/* CTA banner compat */
.cta-banner {
  background: var(--ink); border-radius: var(--r-2xl);
  padding: 4.5rem 3.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(232,85,61,0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 30%, rgba(42,143,107,0.06) 0%, transparent 60%); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner__title { font-family: 'Instrument Serif', serif; font-size: clamp(1.8rem,3vw,2.5rem); color: #fff; margin-bottom: 1rem; line-height: 1.15; }
.cta-banner__desc { font-size: 1rem; color: rgba(255,255,255,0.5); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-banner__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 768px) {
  .cta-banner { padding: 3rem 1.75rem; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
}

/* About / Comp compat */
.about-hero { padding: 5rem 0 3rem; text-align: center; }
.about-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 3rem 0; }
.about-value { text-align: center; padding: 2rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--r-xl); transition: all var(--t-normal); }
.about-value:hover { box-shadow: var(--shadow-sm); }
.about-value__icon { width: 56px; height: 56px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.about-value__icon svg { width: 28px; height: 28px; }
.about-value__icon--accent { background: var(--coral-light); color: var(--coral); }
.about-value__icon--teal { background: var(--sage-light); color: var(--sage); }
.about-value__icon--slate { background: var(--indigo-light); color: var(--indigo); }
.about-value__title { font-family: 'Instrument Serif', serif; font-size: 1.15rem; margin-bottom: 0.4rem; }
.about-value__desc { font-size: 0.88rem; color: var(--ink-60); line-height: 1.65; }
.about-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin: 4rem 0; }
.about-mission__visual { background: var(--bg-alt); border-radius: var(--r-xl); padding: 3rem; display: flex; align-items: center; justify-content: center; }
.about-mission__visual svg { width: 100%; max-width: 300px; }
.about-cta-wrap { max-width: 680px; margin: 2rem auto; text-align: center; }
.about-cta-wrap .t-body { margin-bottom: 2rem; }
.about-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.comp-hero { text-align: center; padding: 4rem 0 2rem; }
.comp-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0 4rem; }
.comp-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--r-xl); padding: 2rem 1.5rem; text-align: center; transition: all var(--t-normal); position: relative; }
.comp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.comp-card--featured { border-color: var(--coral); }
.comp-card--featured::before { content: 'Recommande'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.2rem 0.75rem; border-radius: var(--r-full); }
.comp-card__name { font-family: 'Instrument Serif', serif; font-size: 1.4rem; margin-bottom: 0.3rem; }
.comp-card__price { font-size: 1.7rem; font-weight: 700; color: var(--coral); margin: 0.6rem 0; }
.comp-card__price span { font-size: 0.8rem; font-weight: 400; color: var(--ink-40); }
.comp-card__features { text-align: left; margin: 1.15rem 0; }
.comp-card__features li { padding: 0.4rem 0; border-bottom: 1px solid var(--border-light); font-size: 0.84rem; color: var(--ink-60); display: flex; align-items: center; gap: 0.4rem; }
.comp-card__features li:last-child { border-bottom: none; }
.comp-card__check { color: var(--sage); flex-shrink: 0; }
.comp-card .btn { width: 100%; justify-content: center; margin-top: 0.6rem; }
@media (max-width: 768px) { .comp-cards { grid-template-columns: 1fr; } .about-values { grid-template-columns: 1fr; } .about-mission { grid-template-columns: 1fr; gap: 2rem; } .about-cta-actions { flex-direction: column; align-items: center; } }

.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 3rem 0; }
.stat-card { text-align: center; padding: 1.5rem 1rem; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--r-xl); }
.stat-card__num { font-family: 'Instrument Serif', serif; font-size: 2rem; line-height: 1; }
.stat-card__num--accent { color: var(--coral); }
.stat-card__num--teal { color: var(--sage); }
.stat-card__num--slate { color: var(--indigo); }
.stat-card__label { font-size: 0.78rem; color: var(--ink-60); margin-top: 0.3rem; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

.blog-hero { padding: 4rem 0 3rem; text-align: center; }
.blog-filters { display: flex; gap: 0.35rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }
.blog-filter { padding: 0.35rem 1rem; border-radius: var(--r-full); font-size: 0.8rem; font-weight: 600; border: 1.5px solid var(--border); color: var(--ink-60); transition: all var(--t-fast); background: var(--bg-card); }
.blog-filter:hover { border-color: var(--ink-20); color: var(--ink); }
.blog-filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.banques-cta-flex { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 768px) { .banques-cta-flex { flex-direction: column; align-items: center; } }

/* ═══════════════════════════════════════
   SCROLLBAR & FOCUS
   ═══════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.btn:focus-visible, .a-card:focus-visible, .cat-card:focus-visible {
  outline: 2px solid var(--coral); outline-offset: 2px;
}

/* Mobile fixes */
@media (max-width: 768px) {
  .comp-table { display: block; overflow-x: auto; }
  .article-visual { padding: 1.25rem 1rem; margin: 2rem 0; }
  .cta-box { padding: 2rem 1.25rem; }
  .cta-box .btn { width: 100%; min-width: unset; }

  /* Article content: maximum width on mobile */
  .wrap { padding: 0 0.75rem; }
  .article-content .wrap--narrow { padding: 0 0.75rem; }
  .article-hero .wrap--narrow { padding: 0 0.75rem; }

  /* Inner elements: minimal padding */
  .step-card { padding: 1rem 0.75rem; margin: 1rem 0; }
  .faq-item summary { padding: 0.75rem 0.85rem; }
  .faq-answer { padding: 0 0.85rem 1rem; }
  .article-toc { padding: 1rem; margin: 1.5rem 0; }
  .key-takeaway { padding: 1rem 0.75rem; }
  .disclosure { padding: 0.75rem; }
  .cta-box { padding: 1.5rem 0.75rem; margin: 2rem 0; }
  .article-visual { padding: 1rem 0.5rem; margin: 1.5rem 0; }
  .info-box { padding: 1rem; }
  .key-points { padding: 1rem 0.75rem; }
  .product-card { padding: 1.25rem 0.75rem; }
  .article-hero__title { font-size: clamp(1.6rem, 5vw, 2.8rem); }

  /* Inline CTA blocks: tight padding */
  .cta-inline, [style*="background:#FDF8F6"], [style*="background:#F0FAF6"] {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  [style*="border-radius:20px"] {
    padding: 1.25rem 0.75rem !important;
  }

  /* Tables: prevent overflow */
  .article-content table { font-size: 0.78rem; }
  .article-content td, .article-content th { padding: 0.4rem 0.5rem; }

  /* Images: edge to edge */
  .article-content figure { margin: 1.5rem -0.75rem; border-radius: 0 !important; }
  .article-content figure img { border-radius: 0 !important; }

  /* Carousel: tight */
  .carousel { padding: 2rem 0; }
  .carousel__item { flex: 0 0 240px; }
}

/* ═══════════════════════════════════════
   TABLE OF CONTENTS (TOC)
   ═══════════════════════════════════════ */
.article-toc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin: 2rem 0 2.5rem;
}
.article-toc__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.article-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0;
}
.article-toc li {
  padding: 0.3rem 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.article-toc a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.article-toc a:hover {
  color: var(--coral);
}

/* ═══════════════════════════════════════
   AUTHOR BAR (E-E-A-T)
   ═══════════════════════════════════════ */
.author-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 1.5rem;
  flex-wrap: wrap;
}
.author-bar__name {
  font-weight: 500;
  color: var(--text);
}
.author-bar__sep {
  opacity: 0.4;
}
.author-bar__date {
  color: var(--muted);
}

/* ═══════════════════════════════════════
   KEY POINTS BOX
   ═══════════════════════════════════════ */
.key-points {
  background: linear-gradient(135deg, #fafaf7 0%, #f5f0eb 100%);
  border-left: 4px solid var(--coral);
  border-radius: 0 16px 16px 0;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0 2rem;
}
.key-points h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.key-points ul {
  margin: 0;
  padding-left: 1.25rem;
}
.key-points li {
  padding: 0.25rem 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}
.key-points li strong {
  color: var(--text);
}

/* ═══════════════════════════════════════
   PRODUCT CARDS (comparatifs)
   ═══════════════════════════════════════ */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  margin: 1.5rem 0;
  transition: box-shadow 0.3s;
}
.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.product-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.product-card__header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0;
}
.product-card__badge {
  background: var(--sage);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}
.product-card__score {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--coral);
  margin-left: auto;
}
.product-card__desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.product-card__price {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-card__pros h4,
.product-card__cons h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1rem 0 0.5rem;
}
.product-card__pros h4 { color: var(--sage); }
.product-card__cons h4 { color: var(--coral); }
.product-card__pros ul,
.product-card__cons ul {
  padding-left: 1.25rem;
  margin: 0;
}
.product-card__pros li,
.product-card__cons li {
  font-size: 0.9rem;
  padding: 0.2rem 0;
  color: var(--muted);
}
.product-card__verdict {
  font-size: 0.92rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-radius: 12px;
}
.product-card__cta {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.product-card__cta:hover {
  background: #d44a33;
  color: #fff;
}

@media (max-width: 768px) {
  .article-toc { padding: 1.25rem 1.5rem; }
  .key-points { padding: 1.25rem 1.5rem; }
  .product-card { padding: 1.5rem; }
  .product-card__header { flex-direction: column; align-items: flex-start; }
  .product-card__score { margin-left: 0; }
}
