/* MoonShade · design system
   Fond nuit uni, typographie forte, un seul accent : le jaune. */

:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-2: #0a1124;
  --card: rgba(255, 255, 255, 0.035);
  --card-strong: rgba(13, 22, 48, 0.72);
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.32);
  --text: #f4f7ff;
  --muted: rgba(226, 232, 255, 0.68);
  --faint: rgba(226, 232, 255, 0.45);
  --blue-700: #1e40af;
  --blue-600: #1d4ed8;
  --blue-500: #3b82f6;
  --blue-400: #d7deea;
  --sky: #f4f7ff;
  --accent: #f4e34a;
  --accent-soft: #faef7a;
  --accent-ink: #15130a;
  --indigo: #6366f1;
  --green: #22c55e;
  --amber: #f59e0b;
  --danger: #fb7185;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
  --glow: none;
  --grad-btn: #f4f7ff;
  --grad-text: none;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.55;
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  color: #0b1024;
  padding: 8px 12px;
  border-radius: 10px;
  z-index: 50;
}
.skip:focus { top: 12px; }

.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.wrap--narrow { width: min(820px, calc(100% - 40px)); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 8, 22, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.1rem;
  text-decoration: none;
}
.logo img { width: auto; height: 40px; border-radius: 0; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__links a.btn, .nav__links a.btn:hover { color: var(--accent-ink); background: var(--accent); padding: 11px 16px; margin-left: 8px; }
.nav__links a.btn:hover { background: var(--accent-soft); }
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
}

/* ------------------------------------------------------------ buttons */
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.18s ease, background 0.18s ease;
  position: relative;
  isolation: isolate;
}
.btn:hover { transform: translateY(-1px); background: var(--accent-soft); box-shadow: none; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn.ghost, a.ghost, button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.btn.small { padding: 9px 14px; font-size: 0.9rem; border-radius: 11px; }
.btn.white { background: var(--accent); color: var(--accent-ink); box-shadow: none; }

/* --------------------------------------------------------- typography */
.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
h1, h2, h3, h4 { letter-spacing: -0.04em; line-height: 1.02; margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); max-width: 14ch; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 20ch; }
h3 { font-size: 1.2rem; }
.serif { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: 1.08em; color: var(--accent); }
.grad { color: inherit; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px 56px; align-items: end; }
.section-head--split .lede { margin: 0 0 6px; }
.lede { max-width: 62ch; color: var(--muted); font-size: 1.12rem; margin: 20px 0 0; }
.muted { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.reassure { margin: 18px 0 0; color: var(--faint); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.reassure span::before { content: "✓"; color: var(--accent); margin-right: 6px; font-weight: 700; }
.section-head { max-width: 760px; }
.section-head .lede { margin-top: 16px; }

/* ------------------------------------------------------------ layout */
section { padding: 104px 0; background: transparent; }
.grid-2, .grid-3, .grid-4, .points, .kits { display: grid; gap: 18px; margin-top: 36px; }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; }
.grid-2--even { grid-template-columns: 1fr 1fr; gap: 28px 56px; }
.grid-3, .kits { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.points { grid-template-columns: repeat(3, 1fr); }

/* ------------------------------------------------------------- cards */
.kit, .point, .step, .card, .price, .faq details {
  position: relative;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  box-shadow: none;
}
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.kits .kit, .grid-2--even .card { border-top: 1px solid var(--line); padding-top: 26px; }
.kit h3, .step h3, .point h3, .card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.kit p, .step p, .point p, .card p { margin: 0; color: var(--muted); }
.kit__icon, .point__icon {
  width: auto;
  height: auto;
  display: grid;
  place-items: start;
  margin-bottom: 22px;
  background: none;
  border: 0;
  color: var(--accent);
  font-weight: 700;
}
.kit__icon svg, .point__icon svg { width: 56px; height: 56px; }

/* ------------------------------------------------------------- hero */
.hero { padding: 96px 0 48px; position: relative; overflow: visible; }
.hero__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero__copy .lede { font-size: 1.18rem; }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.hero__ring {
  position: absolute;
  width: min(440px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  animation: ring-breathe 9s ease-in-out infinite;
}
.hero__ring::before {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  border: 1px dashed rgba(244, 227, 74, 0.35);
}
.hero__mark { position: relative; width: auto; height: 320px; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); animation: mark-float 7s ease-in-out infinite; }
@keyframes mark-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ring-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: 0.7; } }

/* ----------------------------------------------------------- marquee */
.marquee {
  overflow: hidden;
  padding: 18px 0 8px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; will-change: transform; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__half { display: flex; align-items: center; gap: 16px; padding-right: 16px; }
.marquee__half img {
  height: 240px;
  width: auto;
  max-width: none;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.marquee__half img:hover { transform: translateY(-6px); border-color: rgba(244, 227, 74, 0.6); }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ----------------------------------------------------------- clients */
.clients { padding: 40px 0 8px; }
.clients__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 48px; }
.clients__label { color: var(--faint); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; flex-basis: 100%; text-align: center; }
.clients__row img { height: 30px; width: auto; max-width: 160px; object-fit: contain; opacity: 0.72; filter: grayscale(1) brightness(1.6); transition: opacity 0.3s; }
.clients__row img:hover { opacity: 1; }

/* ------------------------------------------------------------- bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 190px; gap: 14px; margin-top: 44px; }
.bento__item { position: relative; margin: 0; overflow: hidden; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.08); background: #0a0f1f; grid-column: span 3; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bento__item:hover img { transform: scale(1.04); }
.bento__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 18px 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.86rem;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 22, 0.86));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.bento__item:hover figcaption, .bento__item:focus-within figcaption { opacity: 1; transform: none; }
.bento__item figcaption b { color: #fff; font-weight: 700; }
.bento__item figcaption span { color: var(--muted); }
.bento__item--tall { grid-column: span 5; grid-row: span 2; }
.bento__item--wide { grid-column: span 7; }
.bento__item--wide img { object-position: center; }
.bento__item:nth-child(3) { grid-column: span 3; }
.bento__item:nth-child(4) { grid-column: span 4; }
.bento__item--third { grid-column: span 4; grid-row: span 2; }
#savoir-faire .actions { justify-content: center; }

/* ----------------------------------------------------------- signals */
#pain .section-head { margin-inline: auto; text-align: center; }
#pain .section-head .lede { margin-inline: auto; }
#pain .eyebrow { justify-content: center; }
.signals { margin: 56px auto 0; padding: 0; list-style: none; display: grid; gap: 36px 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 920px; }
.signals li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.35;
}
.signals__icon {
  position: relative;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: radial-gradient(circle at 50% 35%, rgba(244, 227, 74, 0.26), rgba(244, 227, 74, 0.05) 72%);
  border: 1px solid rgba(244, 227, 74, 0.28);
  box-shadow: 0 0 60px rgba(244, 227, 74, 0.12), inset 0 0 30px rgba(244, 227, 74, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.signals__icon::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px dashed rgba(244, 227, 74, 0.35);
  animation: spin 40s linear infinite;
}
.signals li:hover .signals__icon { transform: translateY(-4px); box-shadow: 0 0 80px rgba(244, 227, 74, 0.2), inset 0 0 30px rgba(244, 227, 74, 0.1); }
.signals svg { width: 70px; height: 70px; }
.signals .ico-soft { fill: rgba(244, 227, 74, 0.2); stroke: none; }
.signals .ico-fill circle { fill: currentColor; stroke: none; }
.signals .ico-ghost { opacity: 0.4; stroke-dasharray: 4 4; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------- before / after */
#pain { padding-bottom: 40px; }
#savoir-faire { padding-top: 64px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center h2 { margin-inline: auto; }
.compare { padding-top: 24px; }
.compare__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 48px 0 0; padding-left: 4px; }
.compare__label--spaced { margin-top: 64px; }
.compare__label b { font-size: 1.15rem; letter-spacing: -0.02em; }
.compare__label span { color: var(--faint); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.compare__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.compare__side { position: relative; margin: 0; display: grid; grid-template-rows: 1fr auto; place-items: center; min-height: 380px; padding: 56px 40px 28px; }
.compare__side img { max-height: 220px; width: auto; max-width: 78%; object-fit: contain; }
.compare__side--before {
  background:
    radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1.2px) 0 0 / 22px 22px,
    #f2efe8;
  color: #3a3730;
}
.compare__side--before img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18)); }
.compare__side--after {
  background: radial-gradient(60% 60% at 50% 45%, rgba(120, 170, 255, 0.14), transparent 70%), #080d1c;
}
.compare__side--after img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6)); }
.compare__side figcaption { margin-top: 26px; font-size: 0.9rem; color: inherit; text-align: center; opacity: 0.75; }
.compare__side--after figcaption { color: var(--muted); opacity: 1; }
.compare__tag {
  position: absolute;
  left: 22px;
  top: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: #3a3730;
  background: rgba(255, 255, 255, 0.6);
}
.compare__tag--accent { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.compare__arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 10px var(--bg), 0 18px 40px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.compare__arrow svg { width: 28px; height: 28px; }

/* ------------------------------------------------------------- price */
.price { display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--line); padding-left: 40px; }
.price s { color: var(--faint); font-size: 1.1rem; }
.price strong { font-size: clamp(3rem, 5.5vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; }
.price .tag, .tag {
  display: inline-block;
  width: fit-content;
  color: var(--accent);
  padding: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.price ul li::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 700; }
.included { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.included li { display: flex; gap: 10px; align-items: flex-start; }
.included li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: 0 0 auto; }
.excluded { color: var(--faint); margin-top: 18px; font-size: 0.95rem; }

/* ------------------------------------------------------------- steps */
.steps { display: grid; gap: 28px; margin-top: 48px; grid-template-columns: repeat(3, 1fr); }
.step { display: grid; gap: 18px; align-content: start; border-top: 1px solid var(--line); padding-top: 22px; }
.step__n {
  width: auto;
  height: auto;
  display: block;
  background: none;
  color: var(--accent);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  box-shadow: none;
}
.step__meta { color: var(--faint); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.step h3 { font-size: 1.35rem; }
.step__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(120% 90% at 50% 100%, rgba(244, 227, 74, 0.08), transparent 60%), #080d1c;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 22px;
  margin-bottom: 8px;
}

/* 01 · audit */
.audit__card { width: min(100%, 260px); border-radius: 14px; background: #0d1326; border: 1px solid rgba(255, 255, 255, 0.1); padding: 14px 16px; display: grid; gap: 12px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.audit__top { display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.audit__pdf { color: var(--accent-ink); background: var(--accent); border-radius: 6px; padding: 2px 7px; letter-spacing: 0.04em; }
.audit__score { display: flex; align-items: center; gap: 14px; }
.audit__score svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.audit__track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 9; }
.audit__ring { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 190; }
.is-visible .audit__ring { animation: ring-fill 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes ring-fill { from { stroke-dashoffset: 327; } to { stroke-dashoffset: 190; } }
.audit__score b { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.audit__score span { color: var(--faint); font-weight: 600; }
.audit__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.audit__bars li { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 10px; font-size: 0.74rem; color: var(--muted); }
.audit__bars i { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.audit__bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--accent); border-radius: 6px; }
.is-visible .audit__bars i::after { animation: bar-fill 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes bar-fill { from { width: 0; } }

/* 02 · itérations */
.iterations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-items: stretch; padding: 16px; }
.iterations__item { margin: 0; position: relative; display: grid; place-items: center; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.02); padding: 14px 14px 26px; min-height: 0; }
.iterations__item img { max-height: 54px; width: auto; max-width: 86%; object-fit: contain; }
.iterations__item--old img { filter: grayscale(1) opacity(0.55); }
.iterations__item--final { border: 1px solid var(--accent); background: rgba(244, 227, 74, 0.06); }
.iterations__item figcaption { position: absolute; left: 10px; bottom: 7px; font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.iterations__item--final figcaption { color: var(--accent); }

/* 03 · appareils */
.devices { padding: 0; place-items: end start; }
.browser { position: absolute; left: 7%; top: 11%; width: 82%; border-radius: 10px; overflow: hidden; background: #0f1a12; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.browser__bar { height: 18px; display: flex; align-items: center; gap: 4px; padding: 0 8px; background: #141d2f; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.browser__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.browser img { width: 100%; height: auto; display: block; }
.phone { position: absolute; right: 6%; bottom: -4%; width: 26%; aspect-ratio: 9 / 18; border-radius: 16px; border: 3px solid #1a2236; background: #000; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------------------------------------------------------- garanties */
.guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; margin-top: 36px; }
.guarantee { border-top: 1px solid var(--line); padding-top: 26px; }
.guarantee h3 { font-size: 1.35rem; margin-bottom: 10px; }
.guarantee p { margin: 0; color: var(--muted); }
.guarantee__visual { aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.08); background: #080d1c; margin-bottom: 24px; display: grid; place-items: center; color: rgba(255, 255, 255, 0.55); overflow: hidden; }
.guarantee__visual svg { width: 78%; height: auto; }
.g-paper { fill: #0d1326; stroke: rgba(255, 255, 255, 0.35); }
.g-sketch { stroke: var(--accent); stroke-dasharray: 4 5; }
.g-stamp rect { fill: rgba(244, 227, 74, 0.08); stroke: var(--accent); stroke-width: 3; }
.g-stamp text { fill: var(--accent); font: 800 17px/1 "DM Sans", sans-serif; letter-spacing: 0.14em; stroke: none; }
.g-badge { fill: var(--accent); stroke: none; }
.g-grid circle { fill: rgba(255, 255, 255, 0.35); stroke: none; }
.g-day { fill: var(--accent-ink); font: 800 17px/1 "DM Sans", sans-serif; stroke: none; }

/* --------------------------------------------------------------- kits */
.kit__visual { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.08); background: #080d1c; overflow: hidden; margin-bottom: 24px; display: grid; place-items: center; }
.browser--kit { position: absolute; left: 8%; top: 12%; width: 92%; bottom: auto; }
.feed { position: absolute; left: 50%; top: 10%; transform: translateX(-50%); width: 62%; aspect-ratio: 9 / 16; border-radius: 22px 22px 0 0; background: #0b0b0d; border: 3px solid #1a2236; border-bottom: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.feed__head { display: flex; align-items: center; gap: 8px; padding: 12px 10px 8px; }
.feed__head img { width: 30px; height: 30px; border-radius: 50%; }
.feed__head b { display: block; font-size: 0.64rem; }
.feed__head span { display: block; font-size: 0.52rem; color: var(--faint); }
.feed__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; align-content: start; }
.feed__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cards { position: relative; width: 100%; height: 100%; }
.cards__item { position: absolute; width: 50%; aspect-ratio: 85 / 55; border-radius: 8px; display: grid; place-items: center; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55); padding: 8%; overflow: hidden; }
.cards__item img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.cards__item--red { background: #bf3950; left: 9%; top: 20%; transform: rotate(-8deg); }
.cards__item--olive { background: #808366; right: 9%; bottom: 16%; transform: rotate(6deg); }
.cards__item--olive img { max-height: 78%; }

/* -------------------------------------------------------------- board */
.board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; }
.board__tile { position: relative; aspect-ratio: 1; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08); background: #080d1c; display: grid; place-items: center; padding: 18px 16px 38px; overflow: hidden; }
.board__tile > span { position: absolute; left: 14px; bottom: 12px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.board__tile--logo img { max-height: 62%; max-width: 72%; object-fit: contain; }
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 70%; }
.swatches i { display: block; aspect-ratio: 1; border-radius: 10px; background: var(--c); }
.type-sample { display: flex; align-items: baseline; gap: 10px; }
.type-sample b { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.05em; font-weight: 800; }
.type-sample em { font-size: clamp(2rem, 3.6vw, 3rem); }
.pages { position: relative; width: 56%; aspect-ratio: 3 / 4; }
.pages i { position: absolute; inset: 0; border-radius: 6px; background: #f2efe8; border: 1px solid rgba(0, 0, 0, 0.1); }
.pages i:nth-child(1) { transform: rotate(-8deg) translateX(-10%); background: #e6e2d8; }
.pages i:nth-child(2) { transform: rotate(-3deg); background: #ece9e1; }
.pages i:nth-child(3) { background: linear-gradient(#f2efe8, #f2efe8) padding-box; }
.pages i:nth-child(3)::before { content: ""; position: absolute; left: 14%; top: 16%; width: 40%; height: 7%; border-radius: 3px; background: var(--accent); }
.pages i:nth-child(3)::after { content: ""; position: absolute; left: 14%; top: 32%; width: 70%; height: 40%; background: repeating-linear-gradient(#cfcbc2 0 3px, transparent 3px 10px); }
.files { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.files i { font-style: normal; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; padding: 8px 10px; color: #fff; }
.files i:first-child { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ------------------------------------------------------------ launch */
.launch {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 44px;
  background: transparent;
  box-shadow: none;
}
.launch .lede { max-width: 70ch; }
.launch--icon { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.launch__icon { width: 148px; height: 148px; flex: none; color: #fff; }

/* --------------------------------------------------------------- faq */
.faq__layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px 64px; align-items: start; }
.faq__layout .section-head { position: sticky; top: 100px; }
.faq { display: grid; gap: 0; margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 0; padding: 0 0 20px; }

/* ------------------------------------------------------------- forms */
form { display: grid; gap: 14px; margin-top: 18px; }
.form-card { padding: 28px; }
label { font-size: 0.86rem; color: var(--muted); display: grid; gap: 6px; font-weight: 500; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 8, 22, 0.6);
  color: #fff;
  font: inherit;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(244, 227, 74, 0.14); }
select option { background: #0a1124; }
textarea { min-height: 120px; resize: vertical; }
input[type="file"] { padding: 10px; }
input[type="checkbox"], input[type="radio"] { width: auto; }
label .hint { font-weight: 400; color: var(--faint); }
.form-note, .legal-note { color: var(--faint); font-size: 0.86rem; }
.success { border: 1px solid rgba(34, 197, 94, 0.45); background: rgba(34, 197, 94, 0.1); border-radius: 14px; padding: 16px; color: #dcfce7; }
.error { border: 1px solid rgba(251, 113, 133, 0.45); background: rgba(251, 113, 133, 0.1); border-radius: 14px; padding: 14px; color: #ffe4e6; }

/* ------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 40px; background: transparent; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer__title { font-weight: 700; color: #fff; margin: 0; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.footer p { color: var(--muted); margin: 10px 0 0; }
.footer .logo { margin-bottom: 4px; }
.footer p.footer__wordmark {
  margin: 72px 0 -10px;
  font-size: clamp(3.6rem, 15.5vw, 13.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.86rem; }
.footer__bottom p { margin: 0; color: var(--faint); }
.upsell { margin-top: 28px; color: var(--faint); font-size: 0.88rem; max-width: 70ch; }
.copy { color: var(--faint); font-size: 0.86rem; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.socials a:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* ------------------------------------------------------- diagnostic */
.questions { display: grid; gap: 14px; margin-top: 32px; }
.question { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--card-strong); margin: 0; min-width: 0; }
.question p { margin: 0 0 12px; font-weight: 700; }
.question .hint { margin: -6px 0 12px; font-weight: 400; color: var(--faint); font-size: 0.88rem; }
.question.sub { margin-left: 18px; border-left: 2px solid rgba(255, 255, 255, 0.28); }
.question legend { padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, background 0.15s;
}
.choices label:hover { border-color: rgba(244, 227, 74, 0.6); }
.choices label:has(input:checked) { border-color: var(--accent); background: rgba(244, 227, 74, 0.1); }
.choices input { accent-color: var(--accent); }
.result { margin-top: 24px; }
.score { font-size: 3.2rem; letter-spacing: -0.04em; margin: 8px 0; line-height: 1; color: var(--accent); font-weight: 800; }
#audit-form { margin-top: 24px; }
#audit-form h2 { font-size: 1.6rem; }

/* ------------------------------------------------------ études de cas */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; margin-top: 52px; }
.case { display: grid; gap: 14px; align-content: start; min-width: 0; }
.case__media { aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: #0a0f1f; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.case:hover .case__media img { transform: scale(1.04); }
.case__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.case__head h3 { font-size: 1.3rem; }
.case__sector { color: var(--faint); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; white-space: nowrap; }
.case p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.case__meta { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--faint); font-size: 0.84rem; font-weight: 600; }
.case__meta li { display: inline-flex; align-items: baseline; gap: 6px; }
.case__meta li:not(:first-child)::before { content: "·"; color: var(--faint); }
.case__meta--stats li::before { display: none; }
.case__meta--stats b { color: var(--accent); font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }

/* deux études de cas côte à côte */
.case-grid--duo { grid-template-columns: 1fr 1fr; gap: 32px; }
.case--big { gap: 16px; }
.case--big .case__media { aspect-ratio: 16 / 10; border-radius: 22px; }
.case--big .case__head { margin-top: 10px; }
.case--big .case__head h3 { font-size: 1.7rem; }
.case--big > p { font-size: 1.05rem; }
.case--big .case__sector { white-space: normal; text-align: right; }

/* -------------------------------------------------------------- galerie */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.galerie__item { position: relative; margin: 0; aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: #0a0f1f; }
.galerie__item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.galerie__item:hover img { transform: scale(1.05); }
.galerie__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 16px 14px;
  display: grid;
  gap: 2px;
  font-size: 0.84rem;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 22, 0.9));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.galerie__item:hover figcaption { opacity: 1; transform: none; }
.galerie__item figcaption b { color: #fff; }
.galerie__item figcaption span { color: var(--muted); font-size: 0.78rem; }

/* projet mis en avant (StatRush) */
.case--featured { grid-column: span 2; grid-row: span 2; grid-template-rows: 1fr auto auto auto; }
.case--featured .case__media { position: relative; aspect-ratio: auto; min-height: 320px; height: 100%; }
.case--featured .case__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 22, 0.7)); pointer-events: none; }
.case__media .case__logo { position: absolute; left: 22px; bottom: 18px; z-index: 1; width: auto; height: 44px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6)); }
.case--featured .case__head h3 { font-size: 1.7rem; }
.case--featured .case__sector { white-space: normal; text-align: right; }
.case--featured > p { font-size: 1.05rem; max-width: 60ch; }
.case__meta--big { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 44px; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.case__meta--big li { display: grid; gap: 4px; }
.case__meta--big b { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -0.04em; }
.case__meta--big span { color: var(--muted); font-size: 0.86rem; line-height: 1.3; font-weight: 500; }
#projets .actions { justify-content: center; margin-top: 48px; }

/* ----------------------------------------------------------- projets */
.project-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.project-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  --accent: #f4e34a;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.project-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 40%, #0a1124), #0a1124);
}
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 22, 0.75)); }
.project-card__logo {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}
.project-card__body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.project-card__cat { color: var(--faint); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; }
.project-card__cat span:last-child { color: var(--faint); }
.project-card h3 { font-size: 1.35rem; }
.project-card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.project-card--featured { grid-column: span 2; grid-template-columns: 1.2fr 1fr; grid-template-rows: none; }
.project-card--featured .project-card__media { aspect-ratio: auto; min-height: 320px; }
.project-card--featured .project-card__body { padding: 28px; align-content: center; }
.project-card--featured h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 0.78rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: rgba(255, 255, 255, 0.03); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filters button {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.filters button.is-active { color: var(--accent-ink); border-color: var(--accent); background: var(--accent); }
.empty-state { color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 40px; text-align: center; margin-top: 36px; }

/* page projet */
.project-hero { padding: 64px 0 24px; }
.project-hero .back { color: var(--muted); text-decoration: none; font-size: 0.92rem; display: inline-flex; gap: 8px; align-items: center; }
.project-hero .back:hover { color: #fff; }
.project-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); margin-top: 20px; }
.project-hero .tagline { font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--muted); margin: 18px 0 0; max-width: 40ch; letter-spacing: -0.01em; }
.project-cover { margin-top: 40px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0a1124; }
.project-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.project-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; margin-top: 56px; }
.project-body { max-width: 68ch; }
.project-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 44px; max-width: none; }
.project-body h2:first-child { margin-top: 0; }
.project-body p { color: var(--muted); font-size: 1.08rem; white-space: pre-wrap; }
.project-body figure { margin: 32px 0 0; }
.project-body figure img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.project-body figcaption { color: var(--faint); margin-top: 10px; font-size: 0.9rem; }
.project-body blockquote {
  margin: 36px 0 0;
  padding: 26px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.4;
}
.project-body blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: 0.6; color: var(--accent); margin-bottom: 14px; }
.project-side { position: sticky; top: 92px; display: grid; gap: 14px; }
.project-side .card { padding: 22px; }
.project-side dl { margin: 0; display: grid; gap: 14px; }
.project-side dt { color: var(--faint); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.project-side dd { margin: 4px 0 0; color: #fff; font-weight: 500; }
.project-side .logo-box { display: grid; place-items: center; padding: 26px; background: linear-gradient(140deg, color-mix(in srgb, var(--accent, #3b82f6) 35%, #0a1124), #0a1124); border-radius: var(--radius); border: 1px solid var(--line); }
.project-side .logo-box img { max-height: 90px; width: auto; max-width: 80%; object-fit: contain; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.metric-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: rgba(255, 255, 255, 0.03); }
.metric-box b { display: block; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--accent); }
.metric-box span { color: var(--faint); font-size: 0.82rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0a1124; aspect-ratio: 1; }
.gallery figure:nth-child(4n + 1) { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery figure:hover img { transform: scale(1.03); }
.project-next { margin-top: 72px; }
.project-next .project-grid { grid-template-columns: repeat(3, 1fr); }

/* -------------------------------------------------------------- blog */
.post-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.post-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #0a1124; display: grid; place-items: center; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__media .glyph { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.05em; color: rgba(255, 255, 255, 0.5); }
.post-card__body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.post-card .eyebrow { margin: 0; font-size: 0.72rem; }
.post-card .eyebrow::before { display: none; }
.post-card h2, .post-card h3 { font-size: 1.3rem; max-width: none; }
.post-card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.post-card .meta { margin-top: 6px; color: var(--faint); font-size: 0.86rem; }
.post-card.is-featured { grid-column: span 2; grid-template-columns: 1.1fr 1fr; grid-template-rows: none; }
.post-card.is-featured .post-card__media { aspect-ratio: auto; min-height: 280px; }
.post-card.is-featured .post-card__body { padding: 28px; align-content: center; }
.post-card.is-featured h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.article { padding: 64px 0 40px; }
.article .wrap { width: min(760px, calc(100% - 40px)); }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: none; }
.article h2 { font-size: clamp(1.45rem, 3vw, 2rem); max-width: none; margin-top: 44px; }
.article p, .article li { color: var(--muted); font-size: 1.08rem; }
.article .lede { font-size: 1.22rem; color: var(--text); opacity: 0.9; }
.article .text-block { white-space: pre-wrap; margin: 18px 0 0; }
.article figure { margin: 32px 0 0; }
.article figure img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.article figcaption { color: var(--faint); margin-top: 10px; font-size: 0.9rem; }
.article .cover { margin: 32px 0 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.article .cover img { width: 100%; max-height: 460px; object-fit: cover; }
.article .back { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.article .back:hover { color: #fff; }
.article blockquote { margin: 32px 0 0; padding: 22px 26px; border-left: 3px solid var(--accent); background: transparent; border-radius: 0 16px 16px 0; font-size: 1.15rem; color: #fff; }
.meta { color: var(--faint); font-size: 0.92rem; margin: 16px 0 0; }
.article-cta { margin-top: 56px; }

/* ------------------------------------------------------------- legal */
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 40px; max-width: none; }
.legal p, .legal li { color: var(--muted); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 16px 0 0; }
.legal dt { color: var(--faint); font-weight: 600; }
.legal dd { margin: 0; color: var(--muted); }
.legal .updated { color: var(--faint); font-size: 0.9rem; }

/* ----------------------------------------------------- misc / 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(4rem, 14vw, 9rem); max-width: none; color: #fff; }
.notfound .lede { margin-left: auto; margin-right: auto; }
.notfound .actions { justify-content: center; }

.logos-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 40px; opacity: 0.75; }
.logos-strip img { height: 28px; width: auto; object-fit: contain; filter: grayscale(1) brightness(1.4); }
.logos-strip span { color: var(--faint); font-size: 0.86rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__mark, .hero__ring { animation: none; }
  .marquee__track { animation-duration: 140s; }
}

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); padding: 12px 18px; border-radius: 12px; font-weight: 600; z-index: 60; box-shadow: var(--shadow); }

/* -------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .project-grid, .post-grid, .points, .steps, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .board { grid-template-columns: repeat(3, 1fr); }
  .galerie { grid-template-columns: repeat(3, 1fr); }
  .case--featured { grid-row: auto; }
  .case--featured .case__media { aspect-ratio: 16 / 8; min-height: 0; height: auto; }
  .section-head--split, .faq__layout { grid-template-columns: 1fr; }
  .faq__layout .section-head { position: static; }
  .bento { grid-auto-rows: 160px; }
  .bento__item--tall { grid-column: span 6; }
  .bento__item--wide { grid-column: span 6; }
  .bento__item:nth-child(3), .bento__item:nth-child(4) { grid-column: span 3; }
  .bento__item--third { grid-column: span 4; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .project-layout { grid-template-columns: 1fr; }
  .project-side { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(4n + 1) { grid-column: span 2; }
}
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .menu-toggle { display: inline-flex; }
  .nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    background: rgba(5, 8, 22, 0.96);
    border-bottom: 1px solid var(--line);
  }
  .nav__links a { padding: 12px 12px; border-radius: 10px; }
  .nav__links a.btn { margin: 8px 0 0; }
  .nav__links.is-open { display: flex; }
  .hero { padding-top: 44px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { min-height: 0; order: -1; }
  .hero__ring { width: 260px; }
  .hero__mark { height: 200px; }
  .marquee__half img { height: 170px; }
  .bento { grid-auto-rows: 130px; gap: 10px; }
  .bento__item--tall { grid-column: span 12; grid-row: span 3; }
  .bento__item--wide { grid-column: span 12; grid-row: span 1; }
  .bento__item:nth-child(3), .bento__item:nth-child(4) { grid-column: span 6; }
  .bento__item--third { grid-column: span 6; grid-row: span 2; }
  .bento__item--third:last-child { grid-column: span 12; grid-row: span 2; }
  .bento__item figcaption { opacity: 1; transform: none; }
  .grid-2, .grid-3, .kits, .footer__grid, .signals, .steps, .points, .grid-4, .guarantees { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .step__visual, .kit__visual { aspect-ratio: 16 / 11; }
  .price { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .compare__panel { grid-template-columns: 1fr; border-radius: 22px; }
  .compare__side { min-height: 0; padding: 60px 24px 24px; }
  .compare__side--before { padding-bottom: 62px; }
  .compare__side--after { padding-top: 70px; }
  .compare__side img { max-height: 180px; }
  .compare__arrow { width: 52px; height: 52px; }
  .compare__arrow svg { transform: rotate(90deg); }
  .footer p.footer__wordmark { margin-top: 36px; }
  .project-grid, .post-grid, .case-grid { grid-template-columns: 1fr; }
  .case-grid { gap: 36px; }
  .case--featured { grid-column: auto; }
  .case-grid--duo { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .galerie__item figcaption { opacity: 1; transform: none; padding: 30px 12px 10px; }
  .case__head { flex-wrap: wrap; }
  .case__sector, .case--big .case__sector { white-space: normal; text-align: left; }
  .case--featured .case__media { aspect-ratio: 16 / 11; }
  .case__meta--big { gap: 12px 20px; }
  .project-card--featured, .post-card.is-featured { grid-column: auto; grid-template-columns: 1fr; }
  .project-card--featured .project-card__media { min-height: 0; aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure:nth-child(4n + 1) { grid-column: auto; aspect-ratio: 4 / 3; }
  .launch { padding: 28px; }
  .launch--icon { flex-direction: column; align-items: flex-start; gap: 8px; }
  .launch__icon { width: 88px; height: 88px; order: -1; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}
