/* MonKit72 — Styles (refonte design 2026-04-17) */
:root {
  --primary: #EA580C;        /* orange-600, code sécurité civile */
  --primary-dark: #C2410C;   /* orange-700 */
  --primary-soft: #FFEDD5;   /* orange-100 */
  --primary-tint: #FFF7ED;   /* orange-50 */
  --ink: #0C0A09;            /* stone-950 */
  --text: #1C1917;           /* stone-900 */
  --text-muted: #57534E;     /* stone-600 */
  --text-dim: #A8A29E;       /* stone-400 */
  --bg: #FAFAF9;             /* stone-50 */
  --bg-card: #FFFFFF;
  --bg-card-hover: #F5F5F4;  /* stone-100 */
  --border: #E7E5E4;         /* stone-200 */
  --border-strong: #D6D3D1;  /* stone-300 */
  --success: #15803D;        /* green-700 */
  --danger: #B91C1C;         /* red-700 */
  --warning: #D97706;        /* amber-600 */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(12, 10, 9, 0.04);
  --shadow: 0 4px 16px rgba(12, 10, 9, 0.06);
  --shadow-lg: 0 20px 40px -12px rgba(234, 88, 12, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { margin: 0 !important; padding: 0 !important; }
html { scroll-behavior: smooth; }
.header { margin-top: 0 !important; }

/* SVG sprite container: must not take space in flow */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip-link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  transform: translateY(-110%);
  transition: transform 0.15s;
}
.skip-link:focus { transform: translateY(0); }

/* Focus visible */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden { display: none !important; }

/* Icons (SVG inline, Lucide style) */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.icon-lg { width: 1.5em; height: 1.5em; }
.icon-xl { width: 2em; height: 2em; }

/* Header */
.header {
  padding: 1rem 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-link { text-decoration: none; display: flex; align-items: center; gap: 0.6rem; color: inherit; font-size: 1.35rem; }
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  color: var(--ink);
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
}
.logo-text { font-weight: 500; letter-spacing: -0.02em; }
.logo-text strong { color: var(--ink); font-weight: 800; }
.tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Primary nav */
.nav { margin-left: auto; }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }
.nav-link {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--primary); background: var(--primary-tint); }
.nav-link[aria-current="page"] { color: var(--primary); }
.nav-item-has-sub > .nav-link::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.4em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.6;
}
.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  list-style: none;
  padding: 0.35rem;
  margin: 0.25rem 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 101;
}
.nav-item-has-sub:hover > .nav-sub,
.nav-item-has-sub:focus-within > .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-sub a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
}
.nav-sub a:hover,
.nav-sub a:focus-visible { background: var(--primary-tint); color: var(--primary); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
}
.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-tint) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge .icon { color: var(--primary); }
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--ink);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.hero-pills {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 500;
}
.hero-pill .icon { color: var(--success); width: 0.95em; height: 0.95em; }

/* Trust bar (sources officielles) */
.trust-bar {
  padding: 2rem 0 3rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.trust-bar .container { text-align: center; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.trust-badge .icon { color: var(--primary); }
.trust-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.risks-source {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.92rem;
}
.risks-source a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--primary-soft);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.risks-source a:hover,
.risks-source a:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}
.trust-logos span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-logos .icon { width: 1.1em; height: 1.1em; color: var(--text-dim); }

/* Mockup "aperçu du kit" */
.preview-section { padding: 4rem 0; background: var(--bg); }
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.preview-text h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.preview-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.preview-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.preview-text li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.98rem;
}
.preview-text li .icon { color: var(--success); margin-top: 0.15em; }

.mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.04) 0%, transparent 60%);
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.mockup-header .icon { color: var(--primary); }
.mockup-header .mockup-title { flex: 1; }
.mockup-header .mockup-budget {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}
.mockup-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
}
.mockup-item:last-child { border-bottom: none; }
.mockup-item-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mockup-item-name {
  flex: 1;
  font-weight: 500;
  color: var(--text);
}
.mockup-item-price {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.mockup-priority {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary-soft);
  color: var(--primary-dark);
  margin-right: 0.4rem;
}

/* Kit tables — pages profils (famille, personne seule, animaux) */
.kit-intro { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.kit-intro p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }
.kit-list { max-width: 860px; margin: 0 auto 2.5rem; }
.kit-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.kit-category-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: var(--primary-tint);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.kit-category-header .kit-emoji { font-size: 1.15rem; line-height: 1; }
.kit-item-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
}
.kit-item-row:last-child { border-bottom: none; }
.kit-priority {
  display: inline-block;
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 58px;
  text-align: center;
}
.kit-priority-vital { background: var(--primary-soft); color: var(--primary-dark); }
.kit-priority-reco { background: #FEF3C7; color: #92400E; }
.kit-priority-confort { background: var(--bg-card-hover); color: var(--text-muted); }
.kit-item-name {
  flex: 1;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
.kit-item-price {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.85rem;
  min-width: 70px;
  text-align: right;
}
.kit-item-price.kit-item-diy {
  font-weight: 500;
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.78rem;
  min-width: 100px;
}
.kit-cta {
  text-align: center;
  margin: 2rem auto 0;
  max-width: 760px;
}
.kit-specs-section {
  max-width: 760px;
  margin: 3rem auto 0;
}
.kit-specs-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.kit-specs-section p { color: var(--text); line-height: 1.7; margin-bottom: 0.75rem; }
.kit-errors { margin-top: 2rem; }
.kit-errors ul { list-style: none; padding: 0; }
.kit-errors li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.kit-errors li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
  font-size: 1.1rem;
}

@media (max-width: 640px) {
  .kit-item-row { flex-wrap: wrap; gap: 0.5rem; }
  .kit-priority { font-size: 0.6rem; min-width: 50px; }
  .kit-item-name { flex: 1 1 100%; order: 3; }
  .kit-item-price { margin-left: auto; }
}

/* Risques section */
.risks-section { padding: 4rem 0; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.risks-section .section-head { text-align: center; margin-bottom: 2.5rem; }
.risks-section h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.risks-section .section-head p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.risks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
.risk-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.risk-tile:hover { border-color: var(--primary); transform: translateY(-2px); }
.risk-tile .icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.risk-tile .icon-wrap .icon { width: 1.4em; height: 1.4em; }
.risk-tile .stat {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.risk-tile h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.risk-tile p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* Steps section */
.steps-section { padding: 4rem 0; background: var(--bg); }
.steps-section .section-head { text-align: center; margin-bottom: 2.5rem; }
.steps-section h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto 2.5rem;
}
.step-tile {
  text-align: center;
  padding: 1rem;
}
.step-tile .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}
.step-tile h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.step-tile p { font-size: 0.9rem; color: var(--text-muted); }
.steps-cta { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-large {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--bg-card);
}
.btn-ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}
.kit-item-diy {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card-hover);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
  white-space: nowrap;
}
.btn-affiliate {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}
.btn-affiliate:hover {
  background: var(--primary-dark);
}

/* Quiz */
.quiz {
  padding: 3rem 0 4rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 12.5%;
}
.progress-text {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  font-weight: 600;
}
.step { animation: fadeIn 0.3s ease; }
.step-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.step-nav-submit { justify-content: space-between; }
.btn-back {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-back:hover,
.btn-back:focus-visible { border-color: var(--primary); color: var(--primary-dark); }
.step h2 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
  text-align: center;
}
.step-hint {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.step h2 + .options-grid,
.step h2 + .checkbox-grid,
.step-hint + .options-grid,
.step-hint + .checkbox-grid { margin-top: 2rem; }

/* Option cards */
.options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}
.options-grid.options-2 { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
.options-grid.options-3 { grid-template-columns: repeat(3, 1fr); max-width: 580px; }

.option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.5rem 1rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  font-family: inherit;
  color: var(--text);
}
.option-card:hover {
  border-color: var(--primary);
  background: var(--bg-card);
  transform: translateY(-2px);
}
.option-card.selected {
  border-color: var(--primary);
  background: var(--primary-tint);
}
.option-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.option-card:hover .option-icon-wrap,
.option-card.selected .option-icon-wrap { background: var(--primary); color: #fff; }
.option-icon-wrap .icon { width: 1.3em; height: 1.3em; }
.option-label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.option-detail { font-size: 0.8rem; color: var(--text-muted); }
.option-badge {
  position: absolute;
  top: -10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
}

/* Checkbox cards */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 580px;
  margin: 0 auto;
}
.checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}
.checkbox-card:hover { border-color: var(--primary); }
.checkbox-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-tint);
}
.checkbox-card input { display: none; }
.checkbox-icon-wrap {
  width: 32px;
  height: 32px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checkbox-card:has(input:checked) .checkbox-icon-wrap { background: var(--primary); color: #fff; }

/* Results */
.results {
  padding: 3rem 0 5rem;
}
.results-header {
  text-align: center;
  margin-bottom: 2rem;
}
.results-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.results-summary {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.results-budget {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.budget-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  text-align: center;
  min-width: 170px;
  box-shadow: var(--shadow-sm);
}
.budget-card .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.budget-card .amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* Kit categories */
.kit-category {
  margin-bottom: 2rem;
}
.kit-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}
.kit-category-header .cat-icon-wrap,
.kit-category-header .cat-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}
.kit-category-header .cat-icon-wrap .icon { width: 1.15em; height: 1.15em; }
.kit-category-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.kit-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.kit-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }

.kit-item-info { flex: 1; }
.kit-item-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  text-decoration: none;
}
a.kit-item-name:hover,
a.kit-item-name:focus-visible {
  color: var(--primary-dark);
  text-decoration: underline;
}
a.kit-item-name .kit-item-link-arrow {
  display: inline-block;
  color: var(--primary);
  margin-left: 0.3rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
a.kit-item-name:hover .kit-item-link-arrow,
a.kit-item-name:focus-visible .kit-item-link-arrow {
  opacity: 1;
  transform: translateX(0);
}
.kit-item-why {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.kit-item-qty {
  font-size: 0.75rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-top: 0.25rem;
}
.kit-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  min-width: 100px;
}
.kit-item-price {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
}
.priority-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.priority-1 { background: rgba(185, 28, 28, 0.12); color: var(--danger); }
.priority-2 { background: var(--primary-soft); color: var(--primary-dark); }
.priority-3 { background: rgba(87, 83, 78, 0.12); color: var(--text-muted); }

/* Send & print sections */
.results-footer {
  margin-top: 3rem;
  text-align: center;
}
.send-section {
  background: linear-gradient(180deg, var(--primary-tint) 0%, var(--bg-card) 100%);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.send-section h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.send-section > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.send-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.send-form-row {
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.send-form-row input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.send-form-row input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.send-form-row .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.send-privacy {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.send-feedback {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.send-feedback.is-success { color: var(--success, #15803d); }
.send-feedback.is-error { color: #b91c1c; }
.send-btn-loading { opacity: 0.7; cursor: wait; }
.send-btn-loading .send-btn-label::after { content: "…"; }
.print-section {
  margin-bottom: 1.5rem;
  text-align: center;
}
.print-section .print-alt {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0 0 0.6rem;
}
.print-section .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Print styles — impression/PDF du kit personnalisé uniquement */
@media print {
  /* Masquer tout sauf les résultats du kit */
  .header, .trust-bar, .preview-section, .risks-section, .steps-section,
  #profils, .faq-section, .blog-section, .footer, .skip-link,
  #hero, #quiz, .results-header, .print-section, .send-section,
  .results-footer .btn-outline, .cta-box, .article-nav,
  .back-link, nav {
    display: none !important;
  }
  /* Afficher les résultats proprement */
  body { background: #fff !important; color: #000 !important; }
  #results.hidden { display: block !important; }
  #results { padding: 0 !important; }
  .container { max-width: 100% !important; padding: 0 !important; }
  .kit-item { page-break-inside: avoid; }
  .kit-category { page-break-inside: avoid; margin-bottom: 1rem; }
  /* Titre ajouté à l'impression */
  #results::before {
    content: "MonKit72 — Votre kit d'urgence 72 heures personnalisé";
    display: block;
    font-size: 18pt;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000;
  }
  /* Retirer box-shadow pour économiser l'encre */
  * { box-shadow: none !important; }
  a { color: #000 !important; text-decoration: underline; }
  .kit-item-link-arrow { display: none !important; }
  /* Bouton affiliate → lien texte simple en PDF (reste cliquable) */
  .btn-affiliate { background: transparent !important; color: #000 !important; border: none !important; padding: 0 !important; font-weight: 600 !important; }
  /* Forcer couleurs utiles */
  .priority-badge { border: 1px solid #000 !important; background: #fff !important; color: #000 !important; }
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-card);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h3.footer-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin: 0 0 0.85rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-col a:hover,
.footer-col a:focus-visible { color: var(--primary); text-decoration: underline; }
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-copy a { color: var(--text-muted); text-decoration: none; font-weight: 500; }
.footer-copy a:hover { color: var(--primary); text-decoration: underline; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Home — FAQ & blog & profils sections */
.faq-section, .blog-section { padding: 4rem 0; }
.faq-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  text-align: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 620px;
}
.section-sub { text-align: center; color: var(--text-muted); margin: -1rem auto 2rem; max-width: 560px; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  padding: 1rem 1.2rem;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item summary { font-weight: 700; cursor: pointer; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 0.8rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.faq-item ul { margin: 0.5rem 0 0; padding-left: 1.5rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.faq-item li { margin-bottom: 0.3rem; }
.faq-item li::marker { color: var(--text-dim); }
.faq-item a { color: var(--primary-dark); text-decoration: none; font-weight: 600; }
.faq-item a:hover { text-decoration: underline; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
.blog-card {
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card .read-more { margin-top: auto; padding-top: 0.5rem; }
.blog-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card .card-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.blog-card .card-icon .icon { width: 1.25em; height: 1.25em; }
.blog-card h3, .blog-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.blog-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.75rem; line-height: 1.5; }
.blog-card-meta { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.6rem; }
.blog-card .read-more { font-size: 0.85rem; color: var(--primary-dark); font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; }
.blog-card .read-more .icon { width: 1em; transition: transform 0.2s; }
.blog-card:hover .read-more .icon { transform: translateX(3px); }
.blog-see-all { text-align: center; margin-top: 2rem; }
.blog-intro { text-align: center; color: var(--text-muted); margin: 0 auto 2rem; max-width: 540px; }

/* Affiliate disclosure (DGCCRF + Amazon TOS) */
.affiliate-disclosure {
  background: var(--primary-tint);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 0 auto 1.5rem;
  max-width: 760px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.affiliate-disclosure p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .preview-grid { grid-template-columns: 1fr; gap: 2rem; }
  .risks-grid, .steps-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav.is-open { max-height: 80vh; overflow-y: auto; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
  }
  .nav-link {
    display: block;
    padding: 0.8rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-link:hover,
  .nav-link:focus-visible { background: transparent; }
  .nav-item-has-sub > .nav-link::after { display: none; }
  .nav-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0.5rem 1rem;
    margin: 0;
  }
  .nav-sub a { font-size: 0.95rem; padding: 0.5rem; }
  .header { position: relative; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .tagline { font-size: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: repeat(2, 1fr); }
  .options-grid.options-3 { grid-template-columns: repeat(2, 1fr); }
  .checkbox-grid { grid-template-columns: 1fr; }
  .step h2 { font-size: 1.35rem; }
  .results-header h2 { font-size: 1.6rem; }
  .send-section { padding: 1.5rem; }
  .kit-item { flex-direction: column; }
  .kit-item-right { flex-direction: row; align-items: center; min-width: auto; }
  .budget-card { min-width: 140px; }
  .risks-grid, .steps-grid, .blog-grid { grid-template-columns: 1fr; }
  .trust-logos { gap: 1.25rem; font-size: 0.82rem; }
  .section-title, .preview-text h2, .risks-section h2, .steps-section h2, .results-header h2 { font-size: 1.5rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
}

/* Legal & article pages (mentions, cgu, blog articles) */
.legal, .article { padding: 3rem 0 5rem; max-width: 760px; margin: 0 auto; }
.legal h1, .article h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
}
.article-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.legal h2, .article h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}
.article h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 1.5rem 0 0.5rem; }
.legal p, .article p { margin-bottom: 1rem; line-height: 1.75; color: var(--text); font-size: 0.97rem; }
.legal ul, .legal ol, .article ul, .article ol {
  margin: 0.5rem 0 1.5rem 1.5rem;
  line-height: 1.8;
  color: var(--text);
  font-size: 0.97rem;
}
.legal li, .article li { margin-bottom: 0.4rem; }
.legal a, .article a { color: var(--primary-dark); text-decoration: underline; font-weight: 500; }
.legal a:hover, .article a:hover { color: var(--primary); }
.legal a.btn, .article a.btn { text-decoration: none; font-weight: 700; }
.legal a.btn-primary, .article a.btn-primary { color: #fff; }
.legal a.btn-primary:hover, .article a.btn-primary:hover { color: #fff; }
.legal a.btn-outline, .article a.btn-outline { color: var(--text); }
.legal .cta-spaced, .article .cta-spaced { margin-top: 2.5rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 1.5rem 0;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.back-link:hover { color: var(--primary); }

.tip-box {
  background: var(--primary-tint);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.tip-box p { margin: 0; font-size: 0.92rem; color: var(--text); }

.warning-box {
  background: #fef2f2;
  border-left: 4px solid var(--danger);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.warning-box p { margin: 0; font-size: 0.92rem; color: var(--text); }

.cta-box {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.cta-box p { margin-bottom: 1rem; }

/* Blog — produits & risques & timeline */
.risk-card, .product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.risk-card h3 { margin-top: 0; color: var(--ink); }
.product-card h3 { margin-top: 0; color: var(--primary-dark); }
.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.product-specs span { display: block; }
.product-specs .label { color: var(--text-muted); font-size: 0.8rem; font-weight: 600; }
.verdict { font-weight: 600; color: var(--success); margin-top: 0.5rem; }

.timeline { border-left: 3px solid var(--primary); padding-left: 1.5rem; margin: 1.5rem 0; }
.timeline-item { margin-bottom: 1.5rem; position: relative; }

/* Article navigation (prev / blog / next) */
.article-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  margin: 3rem auto 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  max-width: 760px;
}
.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.article-nav-link:hover,
.article-nav-link:focus-visible {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.article-nav-prev { text-align: left; }
.article-nav-next { text-align: right; }
.article-nav-home {
  text-align: center;
  background: var(--primary-tint);
  border-color: var(--primary-soft);
  align-self: center;
}
.article-nav-direction {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-nav-title {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}
.article-nav-home .article-nav-title { color: var(--primary-dark); }
.article-nav-spacer { /* empty placeholder for first/last article */ }

@media (max-width: 640px) {
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-prev, .article-nav-next { text-align: center; }
}

/* Reduced motion (a11y) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
