/* =========================================================================
   Monsieur Prompt — Feuille de style
   Direction : éditorial premium / atelier créatif / humain
   Palette -> variables CSS ci-dessous.
   Mobile-first.
   ========================================================================= */

/* ---------------------------------- Tokens -------------------------------- */
:root {
  /* Palette de marque (imposée) */
  --charcoal: #ECE7DC;   /* fond principal */
  --graphite: #F8F5EE;   /* surfaces */
  --slate:    #CBC4B6;   /* surfaces hautes / bordures */
  --violet:   #A33B2E;   /* accent signature */
  --blue:     #3E6659;   /* accent studio */
  --offwhite: #151713;   /* texte fort */
  --steel:    #5E6258;   /* texte secondaire */
  --beige:    #A98245;   /* accent chaud */

  /* Dérivés */
  --line: rgba(21, 23, 19, 0.12);     /* contours fins de cards */
  --line-strong: rgba(21, 23, 19, 0.20);
  --surface: rgba(248, 245, 238, 0.86);
  --surface-solid: #F8F5EE;
  --paper: #151713;
  --paper-ink: #F8F5EE;
  --glow-violet: rgba(163, 59, 46, 0.16);
  --glow-blue: rgba(62, 102, 89, 0.14);

  /* Typo */
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1180px;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--offwhite);
  background: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain + atmosphère globale (fixé derrière tout le contenu) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(169, 130, 69, 0.12), transparent 62%),
    radial-gradient(760px 520px at 96% 4%, rgba(163, 59, 46, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent 26%),
    var(--charcoal);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ------------------------------ Utilitaires ------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 18px; }

.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; z-index: 999; background: var(--violet); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm);
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.grad-text {
  background: linear-gradient(100deg, var(--offwhite), var(--beige));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ------------------------------- Boutons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 650; font-size: 0.96rem;
  padding: 13px 21px; border-radius: var(--radius-pill);
  min-height: 44px;
  border: 1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 0.9rem; }

.btn-primary {
  color: #F8F5EE;
  background: linear-gradient(180deg, #4E786A, var(--blue));
  box-shadow: 0 12px 28px -18px rgba(62,102,89,0.55), inset 0 1px 0 rgba(255,255,255,0.24);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -22px rgba(62,102,89,0.65); }

.btn-ghost {
  color: var(--offwhite);
  background: rgba(21, 23, 19, 0.035);
  border-color: var(--line-strong);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(169,130,69,0.48); background: rgba(169,130,69,0.07); }

/* -------------------------------- Header ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(236, 231, 220, 0.84);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 66px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); }
.brand-mark {
  width: 32px; height: 32px; display: grid; place-items: center;
  font-size: 1.08rem; border-radius: 50%;
  background: rgba(21, 23, 19, 0.08);
  border: 1px solid var(--line-strong);
}
.brand-name { font-weight: 760; font-size: 1.12rem; letter-spacing: -0.015em; }
.brand-accent { color: var(--beige); }
.brand-badge {
  font-family: var(--font-body); font-size: 0.66rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel);
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  padding: 3px 9px; background: rgba(21, 23, 19, 0.025);
}

.nav { display: none; gap: 26px; margin-inline: auto; }
.nav a { color: var(--steel); font-weight: 550; font-size: 0.94rem; transition: color 0.2s; }
.nav a:hover { color: var(--offwhite); }
.header-cta { display: none; }

.nav-toggle {
  margin-left: auto; display: inline-flex; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  background: rgba(21, 23, 19, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--offwhite); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex; flex-direction: column; gap: 6px;
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100dvh - 66px);
  overflow-y: auto;
  padding: 12px 18px 18px; border-bottom: 1px solid var(--line);
  background: rgba(248,245,238,0.98);
  box-shadow: 0 18px 42px -34px rgba(0,0,0,0.48);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a { color: var(--steel); padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.mobile-nav .btn { margin-top: 12px; border-bottom: 0; }

/* --------------------------------- Hero ----------------------------------- */
.hero { position: relative; padding: 76px 0 58px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(169,130,69,0.14), transparent 72%);
  filter: blur(26px);
}
.hero-inner {
  position: relative; display: grid; gap: 44px;
  grid-template-columns: 1fr;
}

.hero-copy { animation: rise 0.8s var(--ease) both; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 760; letter-spacing: -0.032em; line-height: 1.02;
  font-size: clamp(2.55rem, 7vw, 4.65rem);
  margin: 20px 0 20px;
}
.hero-sub { color: var(--steel); font-size: clamp(1.04rem, 2.4vw, 1.2rem); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.center-actions { justify-content: center; }
.hero-proof {
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.02em;
  color: var(--steel);
}

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600; color: var(--beige);
  background: rgba(169, 130, 69, 0.09);
  border: 1px solid rgba(169, 130, 69, 0.32);
  padding: 6px 14px; border-radius: var(--radius-pill);
}

/* Card "Prompt Drop" du hero */
.hero-card {
  position: relative; align-self: start;
  color: var(--paper-ink);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.38), transparent 42%),
    var(--paper);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 18px; box-shadow: 0 34px 70px -36px rgba(0,0,0,0.85);
  animation: rise 0.9s var(--ease) 0.12s both;
}
.hero-card-head, .hero-card-foot { display: flex; align-items: center; justify-content: space-between; }
.hero-card-foot { margin-top: 16px; }
.dot-row { display: inline-flex; gap: 6px; }
.dot-row i { width: 6px; height: 6px; border-radius: 50%; background: rgba(248,245,238,0.28); }
.dot-row i:nth-child(1){ background: rgba(163,59,46,0.75); }
.dot-row i:nth-child(2){ background: rgba(21,23,19,0.75); }
.dot-row i:nth-child(3){ background: rgba(169,130,69,0.88); }

.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.drop-tile {
  position: relative; min-height: 116px; border-radius: 8px;
  padding: 14px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(248, 245, 238, 0.12); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
}
.drop-tile .tile-emoji { font-size: 1.5rem; }
.tile-icon {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; font-family: var(--font-display); font-size: 0.95rem;
  font-weight: 760; color: var(--paper-ink);
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(248, 245, 238, 0.12);
}
.drop-tile .tile-label { font-size: 0.84rem; font-weight: 700; color: var(--paper-ink); }
.tile-avatar { background: rgba(163,59,46,0.14); }
.tile-video  { background: rgba(21,23,19,0.18); }
.tile-image  { background: rgba(169,130,69,0.24); }
.tile-review { background: rgba(248,245,238,0.07); }

.mini-mono { font-family: var(--font-mono); font-size: 0.72rem; color: var(--steel); }
.hero-card .mini-mono { color: rgba(248,245,238,0.58); }

/* Tags */
.tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: var(--radius-pill); }
.tag-new { color: #F8F5EE; background: var(--blue); }
.tag-soft { color: rgba(248,245,238,0.72); border: 1px solid rgba(248,245,238,0.14); background: rgba(255,255,255,0.25); }

/* -------------------------- Atelier: home v2 ----------------------------- */
.workbench-card {
  position: relative;
  align-self: start;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(169,130,69,0.13), transparent 42%),
    rgba(248, 245, 238, 0.88);
  box-shadow: 0 34px 70px -38px rgba(0,0,0,0.92);
  animation: rise 0.9s var(--ease) 0.12s both;
}
.workbench-top,
.bench-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.workbench-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 24px 0 10px;
}
.workbench-card p {
  color: var(--steel);
  max-width: 34ch;
}
.bench-steps {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.bench-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(21,23,19,0.035);
}
.bench-steps span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--beige);
  border: 1px solid rgba(169,130,69,0.35);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.bench-steps strong {
  line-height: 1;
}
.bench-steps small {
  color: var(--steel);
}
.bench-output {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.bench-output span {
  color: var(--steel);
  font-size: 0.82rem;
}
.bench-output strong {
  text-align: right;
  max-width: 18ch;
}

.atelier-routes {
  display: grid;
  gap: 16px;
}
.route-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(248,245,238,0.78);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.route-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169,130,69,0.42);
  background: rgba(248,245,238,0.94);
}
.route-main {
  background:
    linear-gradient(135deg, rgba(163,59,46,0.16), transparent 48%),
    rgba(248,245,238,0.92);
}
.route-index {
  font-family: var(--font-display);
  color: var(--beige);
  font-size: 2rem;
  line-height: 1;
}
.route-type {
  color: var(--steel);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.route-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 10px 0;
}
.route-card p {
  color: var(--steel);
}
.route-card ul,
.recipe-ingredients {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.route-card li,
.recipe-ingredients span {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  color: var(--offwhite);
  background: rgba(21,23,19,0.045);
  font-size: 0.78rem;
}

.featured-recipe {
  display: grid;
  gap: 18px;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(169,130,69,0.10), transparent 42%),
    rgba(248,245,238,0.76);
  overflow: hidden;
}
.recipe-brief {
  padding: 26px;
}
.recipe-brief h3 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 10px 0 14px;
}
.recipe-brief p {
  color: var(--steel);
  max-width: 58ch;
}
.recipe-brief .btn {
  margin-top: 22px;
}
.production-sheet {
  display: grid;
  background: var(--paper);
  color: var(--paper-ink);
}
.production-sheet div {
  padding: 22px;
  border-top: 1px solid rgba(248,245,238,0.14);
}
.production-sheet span {
  display: block;
  margin-bottom: 8px;
  color: rgba(248,245,238,0.62);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.production-sheet strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.08;
}

.atelier-process {
  list-style: none;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.atelier-process li {
  padding: 18px;
  background: rgba(248,245,238,0.9);
}
.atelier-process span {
  color: var(--beige);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.atelier-process h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 10px 0 6px;
}
.atelier-process p {
  color: var(--steel);
  font-size: 0.9rem;
}

.tool-shelf {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(21,23,19,0.06), rgba(21,23,19,0.025)),
    rgba(248,245,238,0.82);
}
.tool-shelf article {
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(236,231,220,0.38);
}
.tool-shelf span {
  display: block;
  margin-bottom: 8px;
  color: var(--beige);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tool-shelf strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.recipe-format {
  display: grid;
  gap: 1px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.recipe-format div {
  padding: 22px;
  background: rgba(248,245,238,0.9);
}
.recipe-format span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--beige);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}
.recipe-format strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.recipe-format p {
  color: var(--steel);
}
.recipe-listing {
  margin-top: 26px;
}

/* ------------------------------- Sections --------------------------------- */
.section { padding: 76px 0; }
.section-tight { padding-top: 30px; }
.section-alt { position: relative; }
.section-alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(248,245,238,0.0), rgba(248,245,238,0.62), rgba(248,245,238,0.0));
  border-block: 1px solid var(--line);
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.eyebrow {
  font-family: var(--font-body); font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--beige); font-weight: 700;
}
.section-title {
  font-family: var(--font-display); font-weight: 760; letter-spacing: -0.028em;
  line-height: 1.08; font-size: clamp(1.9rem, 5vw, 2.9rem); margin: 10px 0 14px;
}
.section-lead { color: var(--steel); font-size: 1.06rem; max-width: 54ch; }
.section-action { margin-top: 32px; }
.text-link { color: var(--beige); font-weight: 650; }
.text-link:hover { color: var(--offwhite); }

.editorial-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(169, 130, 69, 0.11), transparent 40%),
    rgba(21, 23, 19, 0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.editorial-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.editorial-panel p { color: var(--steel); max-width: 66ch; }
.author-panel { margin-top: 24px; }

/* --------------------------------- Cards ---------------------------------- */
.card {
  background:
    linear-gradient(180deg, rgba(21,23,19,0.045), rgba(21,23,19,0.02)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.035) inset;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-tools { grid-template-columns: 1fr; }

.feature .feature-ico, .why-point .feature-ico { font-size: 1.7rem; display: block; margin-bottom: 14px; }
.feature-kicker {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 30px; margin-bottom: 14px; padding-inline: 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 760;
  color: var(--beige); background: rgba(169, 130, 69, 0.10);
  border: 1px solid rgba(169, 130, 69, 0.28);
}
.feature h3, .why-point h3 { font-family: var(--font-display); font-size: 1.18rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p, .why-point p { color: var(--steel); font-size: 0.96rem; }
.feature:hover { transform: translateY(-4px); border-color: rgba(169,130,69,0.38); box-shadow: 0 24px 44px -34px rgba(0,0,0,0.82); }

/* ------------------------------- Workflow --------------------------------- */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: step; }
.step-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.step-num {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  background: linear-gradient(160deg, var(--beige), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  flex: none;
}
.step-title { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.step-desc { color: var(--steel); font-size: 0.98rem; }

/* --------------------- CopyPromptBlock (réutilisable) --------------------- */
.copy-block {
  background: #F8F5EE;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.copy-block-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px 10px 14px;
  background: rgba(21,23,19,0.045);
  border-bottom: 1px solid var(--line);
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; color: var(--offwhite);
  background: rgba(169,130,69,0.13);
  border: 1px solid rgba(169,130,69,0.38);
  padding: 6px 14px; border-radius: var(--radius-pill);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.copy-btn:hover { background: rgba(169,130,69,0.22); }
.copy-btn.is-copied { color: #F8F5EE; background: rgba(169,130,69,0.72); border-color: var(--beige); }
.copy-text {
  font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.7;
  color: #3A3D35; padding: 16px 16px 18px; margin: 0;
  white-space: pre-wrap; word-break: break-word; overflow-x: auto;
}

/* --------------------------------- Stack ---------------------------------- */
.tool .tool-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.tool h3 { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -0.01em; }
.tool p { color: var(--steel); font-size: 0.9rem; }
.tool:hover { transform: translateY(-3px); border-color: rgba(169,130,69,0.38); }

.cat {
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 9px; border-radius: var(--radius-pill); border: 1px solid transparent; white-space: nowrap;
}
.cat-text     { color: var(--blue);   background: rgba(21,23,19,0.10); border-color: rgba(21,23,19,0.26); }
.cat-image    { color: var(--violet); background: rgba(163,59,46,0.12);  border-color: rgba(163,59,46,0.3); }
.cat-video    { color: var(--beige);  background: rgba(169,130,69,0.13); border-color: rgba(169,130,69,0.34); }
.cat-music    { color: #A33B2E;       background: rgba(255,155,125,0.10); border-color: rgba(255,155,125,0.3); }
.cat-voice    { color: #151713;       background: rgba(21,23,19,0.08); border-color: rgba(21,23,19,0.24); }
.cat-code     { color: var(--offwhite);background: rgba(21,23,19,0.06); border-color: var(--line-strong); }
.cat-research { color: #A98245;       background: rgba(169,130,69,0.10); border-color: rgba(169,130,69,0.3); }

/* ------------------------------ Pourquoi ---------------------------------- */
.why { display: grid; gap: 36px; }
.why-text { color: var(--steel); font-size: 1.12rem; max-width: 60ch; margin-top: 14px; }
.why-points { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; }

/* ------------------------------- Pour qui --------------------------------- */
.who { display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.who-ico {
  width: 34px; height: 34px; display: grid; place-items: center;
  flex: none; border-radius: 50%;
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 700;
  color: var(--beige); background: rgba(169, 130, 69, 0.10);
  border: 1px solid rgba(169, 130, 69, 0.28);
}
.who h3 { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -0.01em; }
.who:hover { transform: translateY(-3px); border-color: rgba(169,130,69,0.38); }

/* ------------------------------- CTA final -------------------------------- */
.cta-final { position: relative; text-align: center; overflow: hidden; }
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 760px; height: 460px; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(169,130,69,0.15), transparent 70%),
    radial-gradient(closest-side, rgba(163,59,46,0.08), transparent 75%);
  filter: blur(18px); opacity: 0.82;
}
.cta-inner { position: relative; max-width: 620px; }
.cta-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(2rem, 6vw, 3rem); }
.cta-text { color: var(--steel); font-size: 1.08rem; margin: 16px auto 30px; max-width: 48ch; }
/* --------------------------------- Footer --------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; background: rgba(236,231,220,0.72); }
.footer-inner { display: grid; gap: 24px; }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 1.2rem; }
.footer-tag { color: var(--steel); font-size: 0.95rem; margin-top: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: var(--steel); font-weight: 500; transition: color 0.2s; }
.footer-nav a:hover { color: var(--offwhite); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--steel); font-size: 0.86rem; }
.footer-legal a:hover { color: var(--offwhite); }

/* -------------------------- Blocs editoriaux ----------------------------- */
.resource-intro,
.tool-method {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 34px;
}
.mini-proof {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(21, 23, 19, 0.03);
}
.mini-proof span {
  display: inline-flex; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  color: var(--beige); text-transform: uppercase; letter-spacing: 0.08em;
}
.mini-proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
}
.mini-proof p {
  color: var(--steel);
  font-size: 0.92rem;
  margin-top: 8px;
}

/* ------------------------- Animations d'entrée ---------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Reveal au scroll (piloté par JS via .reveal / .in-view) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ================================ Responsive ============================== */
@media (min-width: 600px) {
  .container { padding-inline: 22px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-tools { grid-template-columns: 1fr 1fr; }
  .atelier-routes { grid-template-columns: 1fr 1fr; }
  .tool-shelf { grid-template-columns: 1fr 1fr; }
  .recipe-format { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-nav { justify-content: center; }
  .footer-legal { grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; }
}

@media (min-width: 860px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none; }

  .hero { padding: 96px 0 80px; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px; }

  .section-head {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1fr);
    gap: 28px;
    align-items: end;
    max-width: none;
  }
  .section-head .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -18px;
  }
  .section-head .section-title,
  .section-head .section-lead {
    margin-bottom: 0;
  }

  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-tools { grid-template-columns: repeat(3, 1fr); }
  .atelier-routes { grid-template-columns: repeat(4, 1fr); }
  .route-main { grid-row: auto; }
  .route-card {
    grid-template-columns: 1fr;
    min-height: 260px;
    align-content: space-between;
  }
  .route-index { font-size: 1.45rem; }
  .featured-recipe { grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr); }
  .production-sheet div:first-child { border-top: 0; }
  .atelier-process { grid-template-columns: repeat(4, 1fr); }
  .atelier-process li { min-width: 0; }
  .tool-shelf { grid-template-columns: repeat(3, 1fr); }

  .why { grid-template-columns: 1fr 1fr; align-items: center; }
  .why-points { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
  .grid-tools { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================================
   UPDATE v2 — Site multi-pages
   Composants ajoutés : page-hero, filtres, resource-card, tool-card v2.
   Réutilise les tokens et la DA existante (rien n'est cassé au-dessus).
   ========================================================================= */

/* --------------------------- Nav : page active ---------------------------- */
.nav a[aria-current="page"] { color: var(--offwhite); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px;
  background: linear-gradient(100deg, var(--beige), rgba(169,130,69,0.12));
}
.mobile-nav a[aria-current="page"] { color: var(--offwhite); }

/* ----------------------------- Hero sous-page ----------------------------- */
.page-hero { position: relative; padding: 60px 0 30px; overflow: hidden; }
.page-hero .hero-glow { top: -160px; }
.page-hero .pill { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 760; letter-spacing: -0.028em;
  line-height: 1.06; font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 14px;
}
.page-hero p { color: var(--steel); font-size: clamp(1.02rem, 2.4vw, 1.18rem); max-width: 56ch; }

/* -------------------------------- Filtres --------------------------------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 6px 0 30px; padding-bottom: 4px;
}
.filter-btn {
  font-size: 0.86rem; font-weight: 600; color: var(--steel);
  background: rgba(21, 23, 19, 0.03);
  border: 1px solid var(--line-strong);
  padding: 8px 16px; border-radius: var(--radius-pill);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.filter-btn:hover { color: var(--offwhite); border-color: rgba(169,130,69,0.46); }
.filter-btn.is-active {
  color: #F8F5EE; border-color: transparent;
  background: linear-gradient(180deg, #C9A05A, var(--beige));
  box-shadow: 0 10px 26px -18px rgba(169,130,69,0.9);
}

/* ----------------------------- Cards ressources --------------------------- */
.grid-resources { display: grid; gap: 18px; grid-template-columns: 1fr; }

.resource-card { display: flex; flex-direction: column; }
.resource-card[hidden] { display: none; }
.resource-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.resource-meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--steel); text-align: right; }
.resource-title { font-family: var(--font-display); font-size: 1.22rem; letter-spacing: -0.01em; line-height: 1.2; }
.resource-desc { color: var(--steel); font-size: 0.96rem; margin: 10px 0 16px; flex: 1; }
.resource-tools { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.resource-tools li {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--offwhite);
  background: rgba(21, 23, 19, 0.055); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 8px;
}
.resource-cta {
  margin-top: auto; align-self: flex-start;
  font-weight: 650; font-size: 0.92rem; color: var(--beige);
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s, color 0.2s;
}
.resource-card:hover { transform: translateY(-4px); border-color: rgba(169,130,69,0.38); box-shadow: 0 24px 44px -34px rgba(0, 0, 0, 0.82); }
.resource-card:hover .resource-cta { gap: 11px; color: var(--offwhite); }

/* Badge type de contenu */
.rtype { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid transparent; white-space: nowrap; }
.rtype-prompt   { color: var(--violet); background: rgba(163, 59, 46, 0.12); border-color: rgba(163, 59, 46, 0.32); }
.rtype-tuto     { color: var(--blue);   background: rgba(21, 23, 19, 0.10); border-color: rgba(21, 23, 19, 0.28); }
.rtype-review   { color: var(--beige);  background: rgba(169, 130, 69, 0.13); border-color: rgba(169, 130, 69, 0.36); }
.rtype-workflow { color: #A98245;       background: rgba(169, 130, 69, 0.10); border-color: rgba(169, 130, 69, 0.32); }

/* ------------------------------ Cards outils v2 --------------------------- */
.tools-group { margin-top: 46px; }
.tools-group:first-of-type { margin-top: 8px; }
.tools-group[hidden] { display: none; }
.tools-group-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.tools-group-title h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 3.4vw, 1.7rem); letter-spacing: -0.02em; }
.tools-group-title .count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--steel); }

.tool-card { display: flex; flex-direction: column; }
.tool-card[hidden] { display: none; }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.tool-card h3 { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -0.01em; }
.tool-card .tool-cat { font-family: var(--font-mono); font-size: 0.72rem; color: var(--steel); }
.tool-card .tool-desc { color: var(--steel); font-size: 0.92rem; margin: 8px 0 12px; }
.tool-use { font-size: 0.9rem; color: var(--steel); margin-bottom: 14px; }
.tool-use b { color: var(--offwhite); font-weight: 600; }
.tool-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--steel);
}
.tool-note b { color: var(--offwhite); font-weight: 600; }
/* Statut de l'outil */
.tool-status { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.status-favori  { color: var(--beige);  background: rgba(169, 130, 69, 0.13); border: 1px solid rgba(169, 130, 69, 0.36); }
.status-teste   { color: #151713;       background: rgba(21, 23, 19, 0.08); border: 1px solid rgba(21, 23, 19, 0.24); }
.status-a-tester{ color: var(--blue);   background: rgba(21, 23, 19, 0.08); border: 1px solid rgba(21, 23, 19, 0.24); }
.status-en-veille { color: var(--steel); background: rgba(152, 162, 179, 0.10); border: 1px solid var(--line-strong); }

/* -------------------------- Page détail ressource ------------------------- */
.detail-head { max-width: 760px; }
.detail-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--steel); margin-bottom: 18px;
}
.detail-breadcrumb a:hover { color: var(--offwhite); }
.article-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem !important;
  color: var(--beige) !important;
  margin-top: 16px;
}
.article-hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}
.article-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(21, 23, 19, 0.04);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.8);
}
.article-visual img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}
.article-visual figcaption {
  padding: 12px 16px 14px;
  color: var(--steel);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.noscript-note { color: var(--steel); }
.method-note {
  max-width: 820px;
  margin: -18px 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(169, 130, 69, 0.30);
  border-radius: var(--radius-sm);
  background: rgba(169, 130, 69, 0.06);
}
.method-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.method-note p { color: var(--steel); font-size: 0.96rem; }
/* Emphase en ligne dans le corps (le libellé reste le strong bloc direct) */
.method-note p strong {
  display: inline;
  font-family: var(--font-body);
  font-size: inherit;
  margin: 0;
  color: var(--offwhite);
  font-weight: 700;
}

.method-detail {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(62,102,89,0.07), transparent 44%),
    rgba(248,245,238,0.72);
}
.method-detail h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.method-detail p,
.method-detail li {
  color: var(--steel);
  font-size: 0.95rem;
}
.method-detail strong { color: var(--offwhite); }
.method-detail ul,
.method-detail ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}
.command-breakdown {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.command-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(21,23,19,0.035);
}
.command-row code,
.path-examples code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--offwhite);
  overflow-wrap: anywhere;
}
.command-row span {
  color: var(--steel);
  font-size: 0.92rem;
}
.path-examples {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 14px;
  border-left: 3px solid var(--blue);
  background: rgba(62,102,89,0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.path-examples p { margin: 0; }

/* --------------------------- Responsive (v2) ------------------------------ */
@media (min-width: 600px) {
  .grid-resources { grid-template-columns: 1fr 1fr; }
  .resource-intro,
  .tool-method { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-resources { grid-template-columns: repeat(3, 1fr); }
  .editorial-panel {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }
  .article-hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.72fr); }
}

/* =========================================================================
   UPDATE v3 — Page ressource SEO (article)
   Réutilise hero, steps, copy-block, cards existants. Ajouts minimes.
   ========================================================================= */

/* Liste de bénéfices sous le hero d'article */
.benefit-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.benefit-list li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.86rem; font-weight: 600; color: var(--offwhite);
  background: rgba(21, 23, 19, 0.04);
  border: 1px solid var(--line-strong);
  padding: 8px 14px; border-radius: var(--radius-pill);
}
.benefit-list li::before { content: "✓"; color: var(--beige); font-weight: 800; }

/* Étape d'article : on garde .steps/.step mais on numérote différemment */
.steps.steps-article { counter-reset: none; }

/* Liste "résultat final" */
.result-list { list-style: none; display: grid; gap: 12px; }
.result-list li {
  position: relative; padding-left: 30px; color: var(--offwhite); font-size: 1rem;
}
.result-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #fff; font-weight: 800; font-size: 0.78rem;
  width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(160deg, var(--beige), var(--violet));
}

/* FAQ (natif <details>, sans JS) */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 4px 20px;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--beige); font-size: 1.4rem; font-weight: 600;
  transition: transform 0.25s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--beige); outline-offset: 4px; border-radius: 4px; }
.faq-item p { color: var(--steel); padding: 0 0 18px; font-size: 0.98rem; }

/* Petit séparateur de section dans l'article */
.article-section { padding: 56px 0; }
.article-section + .article-section { border-top: 1px solid var(--line); }

@media (max-width: 599px) {
  html { scroll-padding-top: 72px; }
  body { overflow-x: hidden; }

  .container { padding-inline: 18px; }
  .site-header { background: rgba(236, 231, 220, 0.94); }
  .header-inner { height: 60px; gap: 10px; }
  .brand { min-width: 0; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; font-size: 1rem; }
  .brand-name { font-size: 1.03rem; white-space: nowrap; }
  .brand-badge { display: none; }
  .nav-toggle { flex: none; }

  .mobile-nav {
    max-height: calc(100dvh - 60px);
    padding-inline: 18px;
  }
  .mobile-nav a {
    font-size: 1rem;
    border-color: rgba(21,23,19,0.10);
  }
  .mobile-nav a[aria-current="page"] {
    color: var(--offwhite);
    background: rgba(62,102,89,0.07);
    border-radius: var(--radius-sm);
    padding-inline: 12px;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    white-space: normal;
    text-align: center;
    padding: 12px 18px;
  }
  .btn-sm { min-height: 44px; }
  .hero-actions {
    width: 100%;
    gap: 10px;
    margin: 22px 0 16px;
  }

  .hero { padding: 42px 0 44px; }
  .hero-glow,
  .cta-glow {
    width: 420px;
    height: 300px;
    filter: blur(18px);
    opacity: 0.55;
  }
  .hero-inner { gap: 28px; }
  .hero-title {
    font-size: clamp(2rem, 11vw, 2.52rem);
    line-height: 1.04;
    letter-spacing: -0.028em;
    margin: 14px 0 14px;
  }
  .hero-sub,
  .page-hero p,
  .section-lead,
  .why-text,
  .cta-text {
    font-size: 1rem;
    line-height: 1.58;
  }
  .hero-proof {
    font-size: 0.73rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  .pill {
    font-size: 0.76rem;
    padding: 5px 11px;
  }

  .workbench-card {
    padding: 18px;
    box-shadow: 0 22px 46px -36px rgba(0,0,0,0.7);
  }
  .workbench-top,
  .bench-output {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .workbench-card h2 {
    font-size: 1.45rem;
    margin: 18px 0 8px;
  }
  .bench-steps { margin: 18px 0; gap: 8px; }
  .bench-steps li {
    grid-template-columns: 38px 1fr;
    padding: 12px;
    gap: 8px 12px;
  }
  .bench-steps span {
    width: 32px;
    height: 32px;
  }
  .bench-output strong {
    max-width: none;
    text-align: left;
  }

  .section { padding: 48px 0; }
  .section-tight { padding-top: 24px; }
  .section-head { margin-bottom: 26px; }
  .section-title {
    font-size: clamp(1.58rem, 8vw, 2.05rem);
    line-height: 1.1;
    margin: 8px 0 10px;
  }
  .section-action { margin-top: 24px; }
  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.13em;
  }

  .atelier-routes,
  .grid,
  .steps,
  .faq {
    gap: 14px;
  }
  .route-card {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }
  .route-index {
    font-size: 1.32rem;
  }
  .route-card h3 {
    font-size: 1.22rem;
    margin: 8px 0;
  }
  .route-card p,
  .atelier-process p,
  .feature p,
  .why-point p,
  .tool p,
  .resource-desc,
  .tool-card .tool-desc,
  .tool-use,
  .tool-note {
    font-size: 0.94rem;
  }

  .featured-recipe { gap: 0; }
  .recipe-brief,
  .card,
  .editorial-panel {
    padding: 20px;
  }
  .recipe-brief h3 {
    font-size: 1.55rem;
    line-height: 1.08;
  }
  .recipe-ingredients { margin-top: 14px; }
  .production-sheet div { padding: 18px; }
  .production-sheet strong { font-size: 1.08rem; }

  .atelier-process li,
  .recipe-format div,
  .tool-shelf article {
    padding: 16px;
  }
  .recipe-format { margin-bottom: 24px; }
  .recipe-format span { margin-bottom: 16px; }
  .tool-shelf {
    padding: 10px;
    gap: 8px;
  }

  .page-hero { padding: 38px 0 24px; }
  .page-hero h1 {
    font-size: clamp(1.86rem, 9vw, 2.38rem);
    line-height: 1.08;
  }
  .article-hero-grid { gap: 24px; }
  .detail-breadcrumb {
    gap: 6px;
    font-size: 0.72rem;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .article-meta {
    font-size: 0.76rem !important;
    line-height: 1.6;
  }
  .benefit-list {
    gap: 8px;
    margin-top: 20px;
  }
  .benefit-list li {
    width: 100%;
    justify-content: flex-start;
    border-radius: var(--radius-sm);
  }
  .article-section { padding: 42px 0; scroll-margin-top: 72px; }
  .method-note {
    margin: -10px 0 22px;
    padding: 16px;
  }
  .article-visual figcaption { font-size: 0.84rem; }

  .step-head {
    gap: 12px;
    margin-bottom: 16px;
  }
  .step-num {
    font-size: 2rem;
  }
  .step-title {
    font-size: 1.16rem;
    line-height: 1.18;
  }
  .step-desc {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin: 0 -18px 26px;
    padding: 2px 18px 12px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 15px;
    scroll-snap-align: start;
  }

  .copy-block {
    max-width: 100%;
    border-radius: var(--radius);
  }
  .copy-block-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
  .copy-block-bar .mini-mono {
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .copy-btn {
    width: 100%;
    min-height: 42px;
    justify-content: center;
  }
  .copy-text {
    font-size: 0.78rem;
    line-height: 1.65;
    max-height: none;
    padding: 14px;
    white-space: pre-wrap;
    overflow-x: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .resource-top, .tool-card-top { align-items: flex-start; flex-direction: column; }
  .resource-meta { text-align: left; }
  .tools-group { margin-top: 34px; }
  .tools-group-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
  }
  .tool-status,
  .tool-cat,
  .rtype {
    max-width: 100%;
  }
  .who {
    padding: 18px;
    align-items: flex-start;
  }
  .faq-item {
    padding: 2px 16px;
  }
  .faq-item summary {
    font-size: 1rem;
    line-height: 1.28;
    align-items: flex-start;
  }
  .result-list li {
    font-size: 0.96rem;
  }

  .cta-final { text-align: left; }
  .center-actions { justify-content: stretch; }
  .cta-title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
    line-height: 1.08;
  }
  .cta-text { margin: 12px 0 22px; }

  .site-footer {
    padding: 36px 0;
  }
  .footer-inner { gap: 20px; }
  .footer-nav {
    flex-direction: column;
    gap: 0;
  }
  .footer-nav a {
    padding: 10px 0;
    border-top: 1px solid var(--line);
  }
  .footer-legal {
    padding-top: 4px;
    line-height: 1.5;
  }

  .card:hover,
  .feature:hover,
  .tool:hover,
  .who:hover,
  .route-card:hover,
  .resource-card:hover {
    transform: none;
  }
}

@media (min-width: 600px) and (max-width: 859px) {
  .brand-badge { display: none; }
  .header-inner { height: 62px; }
  .mobile-nav { max-height: calc(100dvh - 62px); }
  .hero { padding-top: 58px; }
  .page-hero { padding-top: 46px; }
}
