/* MetaHustle — direction artistique 2026
   Système visuel : papier blanc, encre noire, jaune signal. */
:root {
  --ink: #11110f;
  --ink-soft: #24231f;
  --paper: #ffffff;
  --paper-warm: #f7f6f1;
  --yellow: #ffd522;
  --yellow-deep: #efbd00;
  --stone: #6c6a62;
  --line: #d9d7ce;
  --line-dark: rgba(255, 255, 255, .16);
  --success: #197148;
  --measure: 740px;
  --wide: 1180px;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --shadow: 0 22px 60px rgba(17, 17, 15, .10);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(17,17,15,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,15,.025) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
button, input, textarea { border-radius: 0; }
.wrap { width: min(calc(100% - 40px), var(--wide)); margin-inline: auto; }
.prose { max-width: var(--measure); }

/* Header */
header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(17,17,15,.09);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
}
.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand::before {
  content: "M";
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 16px;
  line-height: 1;
  transform: rotate(-3deg);
}
.brand span { color: var(--stone); font-weight: 600; }
nav { display: flex; align-items: center; justify-content: flex-end; gap: 5px; font-size: 13px; font-weight: 700; }
nav a { padding: 9px 10px; border-radius: 999px; color: #515048; text-decoration: none; white-space: nowrap; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); background: var(--paper-warm); }
nav a[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--line); }
nav a:last-child { margin-left: 3px; padding-inline: 15px; color: white; background: var(--ink); }
nav a:last-child:hover, nav a:last-child[aria-current="page"] { color: var(--ink); background: var(--yellow); box-shadow: none; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s ease;
}
.nav-open .menu-toggle span { opacity: 0; }
.nav-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

/* Type & sections */
main { overflow: clip; padding-bottom: 0; }
main > section { position: relative; padding-block: clamp(78px, 9vw, 132px); }
main > section + section { border-top: 1px solid var(--line); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--stone);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,213,34,.22); }
h1, h2, h3 { font-family: "Arial Narrow", Inter, ui-sans-serif, sans-serif; }
h1 {
  max-width: 19ch;
  margin-bottom: 24px;
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .96;
  text-wrap: balance;
}
.lede { max-width: 700px; margin-bottom: 30px; color: var(--stone); font-size: clamp(18px, 2.3vw, 22px); line-height: 1.55; }
h2 {
  max-width: 18ch;
  margin-bottom: 28px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1;
  text-wrap: balance;
}
h2::before { content: none; }
h3 { margin: 24px 0 10px; font-size: 21px; font-weight: 850; letter-spacing: -.03em; line-height: 1.1; }
p { max-width: var(--measure); margin-bottom: 15px; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--stone); font-size: 15px; }
.small { color: var(--stone); font-size: 13px; }
strong { font-weight: 800; }
mark { padding: 2px 7px; background: var(--yellow); color: var(--ink); }

/* En-têtes des pages internes */
body:not(.home-page) main > section:first-child:not(.legal) {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--wide)) / 2));
  color: white;
  background: var(--ink);
}
body:not(.home-page) main > section:first-child:not(.legal)::after {
  content: "";
  position: absolute;
  right: max(-70px, calc((100vw - var(--wide)) / 2 - 140px));
  bottom: -100px;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 17px, rgba(255,213,34,.16) 18px 19px);
}
body:not(.home-page) main > section:first-child:not(.legal) .eyebrow { color: var(--yellow); }
body:not(.home-page) main > section:first-child:not(.legal) .lede { position: relative; z-index: 1; color: #c8c5bb; }
body:not(.home-page) main > section:first-child:not(.legal) .idcard { position: relative; z-index: 1; border-color: var(--line-dark); background: rgba(255,255,255,.06); }
body:not(.home-page) main > section:first-child:not(.legal) .idcard > div { border-color: var(--line-dark); }
body:not(.home-page) main > section:first-child:not(.legal) .idcard b { color: var(--yellow); }

/* Homepage hero */
.hero { min-height: calc(100svh - 76px); display: grid; align-items: center; border: 0 !important; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 5%;
  left: 46%;
  width: 720px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  filter: blur(1px);
  opacity: .98;
  transform: translateX(8%);
}
.hero::after {
  content: "PROMAX / OBSERVER / COMPRENDRE / EXÉCUTER";
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -110px;
  width: 780px;
  color: rgba(17,17,15,.1);
  font-size: 70px;
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .82;
  text-align: right;
  transform: rotate(90deg) translateX(72%);
  transform-origin: right top;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr); align-items: center; gap: clamp(44px, 7vw, 96px); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 12.5ch; font-size: clamp(55px, 7vw, 104px); }
.marker-word { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.marker-word::after { content: ""; position: absolute; z-index: -1; right: -5px; bottom: .03em; left: -5px; height: .27em; background: var(--yellow); transform: rotate(-1deg); }
.hero .lede { max-width: 610px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-meta span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.82); color: var(--stone); font-size: 12px; font-weight: 750; }
.hero-visual {
  position: relative;
  z-index: 3;
  min-height: 560px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: var(--ink);
  box-shadow: 16px 18px 0 rgba(17,17,15,.16), var(--shadow);
  color: white;
  transform: perspective(1200px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform .25s ease-out;
}
.visual-top { display: flex; align-items: center; justify-content: space-between; padding: 3px 3px 16px; color: #a8a69e; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.visual-dots { display: flex; gap: 6px; }
.visual-dots i { width: 7px; height: 7px; border-radius: 50%; background: #4d4c47; }
.visual-dots i:first-child { background: var(--yellow); }
.system-canvas { position: relative; min-height: 490px; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 24px; background: radial-gradient(circle at 50% 48%, rgba(255,213,34,.15), transparent 28%), #191916; }
.system-canvas::before, .system-canvas::after { content: ""; position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; transform: translate(-50%, -50%); }
.system-canvas::before { width: 290px; height: 290px; }
.system-canvas::after { width: 410px; height: 410px; border-style: dashed; animation: orbit 30s linear infinite; }
.system-core { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; width: 142px; aspect-ratio: 1; place-items: center; border: 12px solid #2b2a26; border-radius: 50%; background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 1px var(--yellow), 0 0 55px rgba(255,213,34,.28); font-size: 12px; font-weight: 950; letter-spacing: -.01em; line-height: 1.1; text-align: center; text-transform: uppercase; transform: translate(-50%, -50%); }
.system-core::after { content: ""; position: absolute; inset: -22px; border: 1px dashed rgba(255,213,34,.8); border-radius: 50%; animation: orbit 18s linear infinite reverse; }
.system-node { position: absolute; z-index: 4; min-width: 124px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: rgba(35,35,31,.92); box-shadow: 0 12px 30px rgba(0,0,0,.24); }
.system-node b { display: block; margin-bottom: 2px; color: var(--yellow); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.system-node span { color: white; font-size: 13px; font-weight: 800; }
.node-1 { top: 9%; left: 8%; animation: float 5.8s ease-in-out infinite; }
.node-2 { top: 12%; right: 6%; animation: float 6.5s .7s ease-in-out infinite; }
.node-3 { bottom: 11%; left: 7%; animation: float 6s .2s ease-in-out infinite reverse; }
.node-4 { right: 7%; bottom: 9%; animation: float 5.5s .9s ease-in-out infinite; }
.canvas-status { position: absolute; z-index: 5; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; border-radius: 12px; background: rgba(255,255,255,.08); color: #bdbbb2; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); }
.canvas-status span:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #63e6a5; box-shadow: 0 0 0 4px rgba(99,230,165,.12); }

@keyframes orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Signal strip */
.signal-strip { overflow: hidden; border-block: 2px solid var(--ink); background: var(--yellow); transform: rotate(-.7deg) scale(1.02); }
.signal-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.signal-track span { padding: 13px 28px; font-size: 12px; font-weight: 950; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; }
.signal-track span::after { content: "✦"; margin-left: 56px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Homepage compositions */
.section-kicker { margin-bottom: 18px; color: var(--stone); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section-kicker::before { content: attr(data-index); display: inline-grid; width: 30px; height: 30px; margin-right: 10px; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); letter-spacing: 0; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 9vw, 130px); align-items: start; }
.big-statement { max-width: 15ch; font-size: clamp(34px, 5vw, 62px); font-weight: 900; letter-spacing: -.055em; line-height: .98; }
.big-statement em { position: relative; font-style: normal; }
.big-statement em::after { content: ""; position: absolute; z-index: -1; right: -3px; bottom: 4px; left: -3px; height: 12px; background: var(--yellow); }
.friction-list { display: grid; gap: 12px; list-style: none; }
.friction-list li { display: grid; grid-template-columns: 46px 1fr; gap: 15px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.friction-list li span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 12px; box-shadow: 3px 3px 0 var(--yellow); }
.contrast-section { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - var(--wide)) / 2)); color: white; background: var(--ink); }
.contrast-section + section { border-top: 0; }
.contrast-section .section-kicker { color: #aaa79d; }
.contrast-section h2 { max-width: 20ch; }
.method-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 44px; }
.method-card { position: relative; min-height: 250px; overflow: hidden; padding: 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: #1b1b18; }
.method-card:nth-child(1), .method-card:nth-child(4) { grid-column: span 7; }
.method-card:nth-child(2), .method-card:nth-child(3) { grid-column: span 5; }
.method-card:nth-child(2) { background: var(--yellow); color: var(--ink); }
.method-card:nth-child(2) p { color: #4d430e; }
.method-card .number { display: block; margin-bottom: 56px; color: var(--yellow); font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.method-card:nth-child(2) .number { color: var(--ink); }
.method-card h3 { max-width: 13ch; margin: 0 0 10px; font-size: clamp(26px, 3vw, 38px); }
.method-card p { color: #aaa79d; font-size: 14px; }
.method-card::after { content: "+"; position: absolute; top: 20px; right: 24px; color: rgba(255,255,255,.22); font-size: 42px; font-weight: 200; }
.method-card:nth-child(2)::after { color: rgba(17,17,15,.3); }
.outcome-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 16px; margin-top: 44px; }
.outcome-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.88); box-shadow: 0 10px 30px rgba(17,17,15,.04); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.outcome-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.outcome-card:first-child { background: var(--yellow); }
.outcome-card .metric { display: block; margin-bottom: 55px; font-size: clamp(45px, 6vw, 78px); font-weight: 950; letter-spacing: -.08em; line-height: .85; }
.outcome-card h3 { margin-top: 0; }
.outcome-card p { color: var(--stone); font-size: 14px; }
.outcome-card:first-child p { color: #51450d; }
.duo-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: 12px 14px 0 var(--yellow); }
.duo-panel > div { padding: clamp(28px, 5vw, 58px); }
.duo-panel > div + div { border-left: 2px solid var(--ink); background: var(--paper-warm); }
.duo-panel h3 { margin-top: 0; font-size: clamp(26px, 3vw, 38px); }
.duo-panel ul { list-style: none; }
.duo-panel li { position: relative; padding: 9px 0 9px 24px; }
.duo-panel li::before { content: "→"; position: absolute; left: 0; font-weight: 900; }
.duo-panel > div:last-child li::before { content: "×"; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.price-card { position: relative; padding: clamp(28px, 4vw, 46px); border: 2px solid var(--ink); border-radius: var(--radius-lg); background: white; color: var(--ink); }
.price-card.featured { background: var(--ink); color: white; }
.price-card .tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.price-card .price { margin-block: 24px 6px; }
.price-card .muted { color: inherit; opacity: .62; }
.price-card .btn { width: 100%; margin-top: 25px; text-align: center; }
.price-card.featured .btn { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.identity-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 120px); align-items: center; }
.identity-mark { position: relative; display: grid; width: min(100%, 420px); aspect-ratio: 1; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 18px 18px 0 var(--ink); font-size: clamp(70px, 12vw, 150px); font-weight: 950; letter-spacing: -.1em; }
.identity-mark::before, .identity-mark::after { content: ""; position: absolute; border: 2px solid var(--ink); border-radius: 50%; }
.identity-mark::before { inset: 13%; }
.identity-mark::after { inset: 29%; background: rgba(255,255,255,.18); }
.identity-mark span { position: relative; z-index: 2; transform: translateX(-.05em); }
.final-cta { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - var(--wide)) / 2)); background: var(--yellow); }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.final-cta h2 { max-width: 16ch; font-size: clamp(45px, 7vw, 94px); }
.final-cta .btn { min-width: 230px; }

/* Boutons */
.btn {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--yellow);
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease;
}
.btn::after { content: "↗"; margin-left: 10px; font-size: 16px; }
.btn:hover { background: #000; box-shadow: 2px 2px 0 var(--yellow); text-decoration: none; transform: translate(3px, 3px); }
.btn:active { box-shadow: 0 0 0 var(--yellow); transform: translate(5px, 5px); }
.btn.ghost { background: white; box-shadow: none; color: var(--ink); }
.btn.ghost::after { content: "→"; }
.btn.ghost:hover { background: var(--yellow); transform: none; }
.btnrow { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }

/* Contenus partagés */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; padding: clamp(24px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.94); box-shadow: 0 10px 34px rgba(17,17,15,.05); transition: border-color .25s ease, transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-5px); }
.card h3 { margin-top: 0; }
.card.alt, .alt { background: var(--paper-warm); }
.card .price { margin-block: 18px 8px; }
ul.clean { max-width: var(--measure); list-style: none; }
ul.clean li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); }
ul.clean li:last-child { border-bottom: 0; }
ul.clean li::before { content: "↗"; position: absolute; top: 13px; left: 0; color: var(--yellow-deep); font-weight: 950; }
.idcard { display: flex; max-width: 900px; flex-wrap: wrap; overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius-sm); background: white; font-size: 13px; }
.idcard > div { min-width: 150px; flex: 1 1 auto; padding: 14px 17px; border-right: 1px solid var(--line); }
.idcard > div:last-child { border-right: 0; }
.idcard b { display: block; margin-bottom: 3px; color: var(--stone); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.idcard a { color: inherit; }
.price { font-size: clamp(38px, 5vw, 60px); font-weight: 950; letter-spacing: -.07em; line-height: 1; }
.price small { color: var(--stone); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
ol.steps { max-width: 900px; list-style: none; counter-reset: s; }
ol.steps li { position: relative; min-height: 110px; padding: 24px 20px 24px 92px; border-bottom: 1px solid var(--line); counter-increment: s; }
ol.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: 20px; left: 0; display: grid; width: 62px; height: 62px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); font-size: 14px; font-weight: 950; }
ol.steps li b { display: block; margin-bottom: 5px; font-size: 19px; }
.panel { max-width: 900px; padding: clamp(25px, 4vw, 42px); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--yellow); box-shadow: 10px 10px 0 var(--ink); }
blockquote { position: relative; max-width: 860px; margin: 34px 0; padding: 28px 32px 28px 72px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-warm); font-size: clamp(20px, 3vw, 30px); font-weight: 750; letter-spacing: -.03em; line-height: 1.35; }
blockquote::before { content: "“"; position: absolute; top: 14px; left: 22px; color: var(--yellow-deep); font-size: 70px; font-weight: 950; line-height: 1; }

/* Témoignages */
.viditem { position: relative; }
.vid { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper-warm) center / cover no-repeat; box-shadow: 8px 8px 0 var(--yellow); cursor: pointer; }
.vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(17,17,15,.35)); transition: opacity .3s ease; }
.vid:hover::after { opacity: .45; }
.vid .play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 72px; height: 72px; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--yellow); box-shadow: 0 10px 30px rgba(0,0,0,.25); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.vid .play svg { width: 22px; fill: var(--ink); margin-left: 4px; }
.vid:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.viditem figcaption { margin-top: 14px; font-weight: 750; }

/* FAQ */
details { max-width: 900px; border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { position: relative; padding: 23px 64px 23px 0; cursor: pointer; font-size: 17px; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; top: 50%; right: 4px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 23px; font-weight: 400; transform: translateY(-50%); }
details[open] summary::after { content: "−"; background: var(--ink); color: white; }
details .a { padding: 0 60px 25px 0; color: var(--stone); }

/* Formulaire */
form { max-width: 680px; padding: clamp(25px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
label { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 800; }
input, textarea { width: 100%; padding: 14px 15px; border: 1px solid #a9a79f; border-radius: 12px; background: var(--paper-warm); color: var(--ink); font: inherit; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
input:hover, textarea:hover { border-color: var(--ink); }
input:focus, textarea:focus { border-color: var(--ink); background: white; box-shadow: 0 0 0 4px rgba(255,213,34,.35); outline: 0; }
textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 19px 0; font-size: 13px; font-weight: 400; }
.check input { width: 18px; height: 18px; flex: none; margin-top: 4px; accent-color: var(--yellow-deep); }

/* Pages légales */
.legal { max-width: 900px; }
.legal > .eyebrow { margin-top: 20px; }
.legal h1 { font-size: clamp(42px, 6vw, 72px); }
.legal h2 { max-width: none; margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line); font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.legal h3 { margin-top: 30px; }
.legal p, .legal li { max-width: 780px; font-size: 15px; }
.legal ol, .legal ul { max-width: 780px; margin-bottom: 16px; padding-left: 24px; }

/* Footer */
footer { position: relative; overflow: hidden; margin-top: 0; background: var(--ink); color: #aaa79e; font-size: 13px; }
footer::after { content: "MH"; position: absolute; right: -25px; bottom: -105px; color: rgba(255,255,255,.035); font-size: 310px; font-weight: 950; letter-spacing: -.13em; line-height: 1; pointer-events: none; }
footer .cols { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 36px; padding: 68px 0 42px; }
footer b { display: block; margin-bottom: 13px; color: var(--yellow); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
footer a { color: #f2f0e9; text-decoration-color: #57564f; }
footer ul { list-style: none; }
footer li { margin-bottom: 7px; }
.baseline { position: relative; z-index: 1; padding: 24px 0 34px; border-top: 1px solid var(--line-dark); color: #77756e; font-size: 11px; line-height: 1.7; }

/* Progressive reveal */
main > section.section-ready { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
main > section.section-ready.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1040px) {
  .topbar { min-height: 68px; }
  .menu-toggle { display: block; }
  header nav { position: absolute; top: 67px; right: 20px; left: 20px; display: grid; gap: 4px; padding: 12px; border: 1px solid var(--ink); border-radius: 18px; background: white; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .3s var(--ease); }
  .nav-open nav { opacity: 1; pointer-events: auto; transform: none; }
  nav a { padding: 11px 13px; }
  nav a:last-child { margin: 4px 0 0; text-align: center; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { top: 50%; left: 45%; width: 760px; }
  .hero-visual { width: min(100%, 650px); min-height: 520px; margin-inline: auto; }
  .system-canvas { min-height: 450px; }
  .outcome-grid { grid-template-columns: 1fr 1fr; }
  .outcome-card:first-child { grid-column: span 2; }
}

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 30px), var(--wide)); }
  main > section { padding-block: 72px; }
  h1 { font-size: clamp(42px, 13vw, 65px); }
  h2 { font-size: clamp(35px, 11vw, 48px); }
  .hero { padding-top: 70px; }
  .hero h1 { font-size: clamp(50px, 15.3vw, 74px); }
  .hero::before { top: 53%; left: 20%; width: 620px; }
  .hero::after { display: none; }
  .hero-grid, .split, .identity-section { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; padding: 12px; border-radius: 26px; box-shadow: 8px 10px 0 rgba(17,17,15,.2); }
  .system-canvas { min-height: 390px; }
  .system-canvas::before { width: 220px; height: 220px; }
  .system-canvas::after { width: 330px; height: 330px; }
  .system-core { width: 112px; border-width: 9px; font-size: 10px; }
  .system-node { min-width: 105px; padding: 9px 10px; }
  .system-node span { font-size: 11px; }
  .node-1 { top: 7%; left: 4%; }
  .node-2 { top: 8%; right: 4%; }
  .node-3 { bottom: 14%; left: 4%; }
  .node-4 { right: 4%; bottom: 14%; }
  .method-grid { grid-template-columns: 1fr; }
  .method-card:nth-child(n) { grid-column: auto; min-height: 220px; }
  .outcome-grid, .price-grid { grid-template-columns: 1fr; }
  .outcome-card:first-child { grid-column: auto; }
  .duo-panel { grid-template-columns: 1fr; border-radius: var(--radius); }
  .duo-panel > div + div { border-top: 2px solid var(--ink); border-left: 0; }
  .identity-mark { width: min(86%, 350px); margin-inline: auto; }
  .final-cta-inner { grid-template-columns: 1fr; align-items: start; }
  .final-cta .btn { width: 100%; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .idcard { display: grid; }
  .idcard > div { min-width: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .idcard > div:last-child { border-bottom: 0; }
  .price { font-size: 48px; }
  blockquote { padding: 58px 22px 22px; }
  blockquote::before { top: 7px; left: 20px; }
  ol.steps li { padding: 80px 0 24px; }
  ol.steps li::before { top: 10px; }
  footer .cols { grid-template-columns: 1fr 1fr; gap: 35px 22px; }
}

@media (max-width: 460px) {
  .brand { font-size: 16px; }
  .brand::before { width: 31px; height: 31px; }
  .btnrow { display: grid; }
  .btnrow .btn { width: 100%; }
  .hero-meta { gap: 7px; }
  .hero-meta span { font-size: 10px; }
  .system-node { min-width: 95px; }
  .system-node b { font-size: 8px; }
  .system-node span { font-size: 10px; }
  .canvas-status span:last-child { display: none; }
  footer .cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  main > section.section-ready { opacity: 1; transform: none; }
}
