:root {
  --bg: #fbfaf7;
  --tint: #f3f1ea;
  --ink: #14140f;
  --muted: #66655d;
  --line: #e2dfd5;
  --accent: #2f4bff;
  --warm: #ff7a45;
  --dark: #14140f;
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 48px); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: inline-flex; align-items: center; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo__mark { width: 34px; height: 34px; margin-right: 10px; transition: transform .5s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__mark rect { fill: var(--ink); }
.logo__mark path { fill: none; stroke: var(--bg); stroke-width: 8; stroke-linecap: round; }
.logo__mark circle { fill: #8fa0ff; }
.footer .logo__mark rect { fill: var(--bg); }
.footer .logo__mark path { stroke: var(--ink); }
.footer .logo__mark circle { fill: var(--accent); }
.logo span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; color: var(--accent); margin-left: 3px; }

.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { position: relative; color: var(--muted); transition: color .15s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 6px auto; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--sans); cursor: pointer;
  transition: color .25s, border-color .25s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--accent); transform: translateY(101%); transition: transform .4s var(--ease);
}
.btn:hover::before { transform: none; }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--line); background: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { color: #fff; border-color: var(--accent); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: #fff; }

/* Hero */
.hero { position: relative; isolation: isolate; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%);
  opacity: .7;
}
.blob { position: absolute; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; filter: blur(110px); opacity: .32; }
.blob--a { background: var(--accent); top: -12%; left: 8%; animation: drift 18s ease-in-out infinite alternate; }
.blob--b { background: var(--warm); top: 6%; right: 4%; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(8vw, 6vh) scale(1.15); } }

.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7);
  font-size: 13px; font-weight: 600; margin-bottom: 28px;
}
.badge i, .chip i { width: 8px; height: 8px; border-radius: 50%; background: #1fb866; box-shadow: 0 0 0 0 rgba(31, 184, 102, .5); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(31, 184, 102, 0); } }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 9vw, 128px); line-height: 0.96; letter-spacing: -0.025em;
  max-width: 12ch;
}
.js .word { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .06em .14em; margin: -.1em -.06em -.14em; }
.js .word__in { display: inline-block; transform: translateY(115%); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes wordUp { to { transform: none; } }

.hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 54ch; margin-top: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* Showcase */
.showcase { width: min(1360px, 100% - 48px); margin: clamp(56px, 7vw, 96px) auto 0; perspective: 1600px; }
.showcase__stage {
  position: relative; display: grid; grid-template-columns: 1fr 1.55fr 1fr; gap: 28px; align-items: center;
  transform-style: preserve-3d; transform-origin: 50% 0;
  transform: rotateX(calc(var(--tilt, 1) * 24deg)) scale(calc(1 - var(--tilt, 1) * 0.08));
  will-change: transform;
}
.showcase .mock { box-shadow: 0 50px 90px -40px rgba(20, 20, 15, 0.45); border-color: rgba(20, 20, 15, 0.12); }
.showcase__side--left { transform: rotateY(18deg) translateZ(-40px); }
.showcase__side--right { transform: rotateY(-18deg) translateZ(-40px); }
.showcase__main { transform: translateZ(40px); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 18px 36px -16px rgba(20, 20, 15, 0.35);
  animation: float 6s ease-in-out infinite;
}
.chip--a { left: 23%; top: -20px; }
.chip--b { right: 22%; bottom: 10%; animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 90px); }
  50% { transform: translate3d(0, -12px, 90px); }
}

.hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: clamp(56px, 8vw, 96px); padding-top: 32px; border-top: 1px solid var(--line);
}
.hero__facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; }
.hero__facts span { color: var(--muted); font-size: 15px; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 4vw, 52px); line-height: 1; white-space: nowrap; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--accent); margin: 0 .9em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Statement */
.statement { padding: clamp(88px, 13vw, 180px) 0; }
.statement p { font-family: var(--serif); font-size: clamp(32px, 5.2vw, 76px); line-height: 1.08; letter-spacing: -0.015em; }
.js .statement .w { opacity: .14; transition: opacity .5s; }
.js .statement .w.is-lit { opacity: 1; }

/* Sections */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.015em; }
.section__note { color: var(--muted); font-size: 15px; margin-top: 16px; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  --card: #fff; --glow: transparent;
  position: relative; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 65%), var(--card);
  transition: transform .4s var(--ease), color .3s, border-color .3s, box-shadow .4s;
}
.service:hover {
  --card: var(--ink); --glow: rgba(96, 120, 255, 0.55);
  color: #fff; border-color: var(--ink); transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(20, 20, 15, 0.5);
}
.service__num { display: block; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); margin-bottom: 56px; transition: color .3s; }
.service:hover .service__num { color: #a9b6ff; }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; margin-bottom: 12px; }
.service p { color: var(--muted); max-width: 44ch; transition: color .3s; }
.service:hover p { color: #c9c8be; }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--line); }
/* La ligne bleue se trace d'une étape à l'autre, chaque pastille s'allume à son passage */
.steps::after {
  content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 1.9s cubic-bezier(.4, 0, .2, 1) .25s;
}
.steps:has(.step.is-visible)::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; --d: calc(var(--n, 0) * .46s + .25s); }
.step__num {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--tint); color: var(--muted); font-weight: 600; margin-bottom: 24px;
  transform: scale(.5);
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) var(--d), background .4s var(--d), color .4s var(--d), border-color .4s var(--d), box-shadow .4s;
}
.step__num::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.step.is-visible .step__num { transform: none; background: var(--accent); border-color: var(--accent); color: #fff; }
.step.is-visible .step__num::after { animation: stepRing 1s ease-out var(--d) both; }
@keyframes stepRing { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(2.1); } }
.step h3 { margin-bottom: 8px; transition: color .3s; }
.step p { color: var(--muted); font-size: 16px; }
.step:hover .step__num { transform: translateY(-5px) scale(1.12); box-shadow: 0 14px 26px -10px rgba(47, 75, 255, .7); transition-delay: 0s; transition-duration: .4s; }
.step:hover h3 { color: var(--accent); }
.step:nth-child(2) { --n: 1; transition-delay: .15s; }
.step:nth-child(3) { --n: 2; transition-delay: .3s; }
.step:nth-child(4) { --n: 3; transition-delay: .45s; }

/* Works */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
.work:nth-child(even) { margin-top: 64px; }
.work { perspective: 1000px; }
.work__meta { margin-top: 20px; display: grid; gap: 2px; }
.work__meta h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.work__meta p { color: var(--muted); font-size: 15px; }
.work__link { justify-self: start; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--accent); }
.work__link:hover { text-decoration: underline; text-underline-offset: 4px; }

.mock {
  --m-bg: #fff; --m-ink: #222; --m-accent: #999;
  container-type: inline-size;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--m-bg); color: var(--m-ink);
  aspect-ratio: 16 / 11; display: flex; flex-direction: column;
}
.work .mock {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.work:hover .mock { box-shadow: 0 40px 70px -35px rgba(20, 20, 15, 0.45); transition-duration: .12s, .5s; }
.mock__bar { display: flex; gap: 1.2cqw; padding: 2.4cqw 3cqw; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.mock__bar i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: currentColor; opacity: .2; }
.mock__body { position: relative; isolation: isolate; flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 6cqw; min-height: 0; overflow: hidden; }
.mock__brand { font-size: max(8px, 2.3cqw); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: .7; }
.mock__headline { font-family: var(--serif); font-size: 7.4cqw; line-height: 1.02; margin-top: auto; max-width: 50cqw; }
.mock__headline em { display: block; font-style: italic; color: var(--m-accent); }
.mock__pill { margin-top: 3.4cqw; padding: 1.7cqw 3.4cqw; border-radius: 999px; background: var(--m-accent); color: var(--m-bg); font-size: max(8px, 2.3cqw); font-weight: 600; }
.mock__photo { position: absolute; z-index: -1; right: 6cqw; top: 5cqw; width: 33cqw; height: calc(100% - 5cqw); object-fit: cover; border-radius: 99cqw 99cqw 0 0; transition: transform 1s var(--ease); }
.work:hover .mock__photo { transform: scale(1.05); }

.mock--bakery  { --m-bg: #f7ecdb; --m-ink: #3b2210; --m-accent: #b5561f; }
.mock--bakery .mock__headline { font-family: "Caprasimo", Georgia, serif; font-size: 5.8cqw; line-height: 1.05; }
.mock--bakery .mock__headline em { font-family: "Caveat", cursive; font-style: normal; font-weight: 700; font-size: 1.25em; line-height: .9; }
.mock--florist { --m-bg: #f1f4ec; --m-ink: #1f3326; --m-accent: #3f6b4c; }
.mock--florist .mock__headline { font-family: "Bodoni Moda", Georgia, serif; font-size: 5.2cqw; line-height: 1.08; letter-spacing: -.02em; max-width: 48cqw; }
.mock--florist .mock__photo { height: calc(100% - 11cqw); border-radius: 99cqw 99cqw 2cqw 2cqw; }
.mock--florist .mock__pill { background: var(--m-ink); }
.mock--firm    { --m-bg: #ffffff; --m-ink: #101c36; --m-accent: #1f4fd8; }
.mock--firm .mock__headline { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 600; font-size: 5cqw; line-height: 1.1; letter-spacing: -.04em; max-width: 46cqw; }
.mock--firm .mock__headline em { font-style: normal; }
.mock--firm .mock__photo { height: calc(100% - 11cqw); width: 36cqw; border-radius: 3cqw; }
.mock--firm .mock__pill { border-radius: 1.4cqw; }
.mock--garage  { --m-bg: #111316; --m-ink: #f2f3f5; --m-accent: #f2b705; }
.mock--garage .mock__photo { inset: 0; width: 100%; height: 100%; border-radius: 0; }
.mock--garage .mock__body::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 19, 22, .94), rgba(17, 19, 22, .45) 70%, rgba(17, 19, 22, .2)); }
.mock--garage .mock__bar { border-color: rgba(255, 255, 255, 0.08); }
.mock--garage .mock__headline { font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 700; font-size: 8cqw; line-height: .95; text-transform: uppercase; max-width: 62cqw; }
.mock--garage .mock__headline em { font-style: normal; }
.mock--garage .mock__pill { color: #111316; border-radius: 0; clip-path: polygon(1.4cqw 0, 100% 0, calc(100% - 1.4cqw) 100%, 0 100%); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  --card: var(--bg); --glow: transparent;
  position: relative; display: flex; flex-direction: column;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 65%), var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.plan:hover { --glow: rgba(47, 75, 255, 0.14); transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(20, 20, 15, 0.4); }
.plan--featured { --card: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(20, 20, 15, 0.55); }
.plan--featured:hover { --glow: rgba(96, 120, 255, 0.5); }
.plan--featured .plan__desc, .plan--featured .plan__price span { color: #b5b4aa; }
.plan--featured li::before { border-color: #a9b6ff; }
.plan--featured .btn { background: #fff; color: var(--ink); }
.plan--featured .btn:hover { color: #fff; }
.plan__badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.plan__desc { color: var(--muted); font-size: 15px; margin-top: 6px; }
.plan__price { font-family: var(--serif); font-size: 60px; line-height: 1; margin: 28px 0; }
.plan__price span { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.plan ul { display: grid; gap: 12px; margin-bottom: 32px; font-size: 16px; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 32px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; transition: color .3s, padding-left .4s var(--ease);
}
.faq summary:hover { color: var(--accent); padding-left: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); font-size: 24px; font-weight: 400; line-height: 1; color: var(--accent);
  transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s;
}
.faq summary:hover::after { border-color: var(--accent); }
.faq details[open]:not(.is-closing) summary { color: var(--accent); }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq__body { overflow: hidden; }
.faq details p { color: var(--muted); padding-bottom: 26px; max-width: 62ch; }

/* Contact */
.section--dark { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; width: 60vw; max-width: 800px; aspect-ratio: 1; border-radius: 50%;
  left: -15%; bottom: -55%; background: var(--accent); filter: blur(140px); opacity: .35; pointer-events: none;
}
.section--dark .eyebrow { color: #a3a297; }
.section--dark em { color: #a9b6ff; }
.section--dark h2 { font-size: clamp(48px, 7vw, 100px); line-height: .98; }
.contact { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro > p:not(.eyebrow) { color: #bdbcb2; margin-top: 24px; max-width: 44ch; }
.contact__list { margin-top: 40px; display: grid; gap: 20px; }
.contact__list li { display: grid; gap: 2px; }
.contact__list span { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #8b8a80; }
.contact__list a { text-decoration: underline; text-underline-offset: 4px; }

.form {
  display: grid; gap: 22px; padding: clamp(24px, 3vw, 44px); border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.13); backdrop-filter: blur(14px);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.8);
}
.form__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.form__head h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.form__head span { font-size: 13px; font-weight: 500; color: #a9b6ff; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Type de projet : pastilles à choisir */
.choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.choices legend { padding: 0; margin-bottom: 12px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #8b8a80; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block; padding: 11px 18px; border-radius: 999px; border: 1px solid #3a3a33;
  font-size: 15px; font-weight: 500; color: #d6d5cb; cursor: pointer;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease);
}
.choice:hover span { border-color: #a9b6ff; color: #fff; transform: translateY(-2px); }
.choice input:checked + span { background: #fff; border-color: #fff; color: var(--ink); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(120, 140, 255, 0.35); }

/* Champs : le libellé remonte quand on écrit */
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; padding: 27px 16px 11px; border-radius: 14px;
  border: 1px solid #33332c; background: rgba(0, 0, 0, 0.28); color: #fff;
  font: 400 16px/1.4 var(--sans); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { display: block; min-height: 150px; resize: vertical; }
.field > span {
  position: absolute; left: 17px; top: 19px; font-size: 16px; color: #8b8a80; pointer-events: none;
  transform-origin: left top; transition: transform .3s var(--ease), color .25s;
}
.field small { font-size: 1em; opacity: .7; }
.field :is(input, textarea):hover { border-color: #55554c; }
.field :is(input, textarea):focus { outline: none; border-color: #a9b6ff; background: rgba(0, 0, 0, 0.42); box-shadow: 0 0 0 4px rgba(120, 140, 255, 0.18); }
.field :is(input, textarea):is(:focus, :not(:placeholder-shown), :-webkit-autofill) + span { transform: translateY(-11px) scale(.76); color: #a9b6ff; }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #1a1a15 inset; -webkit-text-fill-color: #fff; caret-color: #fff; }
.field .is-invalid { border-color: #ff8a7a; animation: fieldShake .4s; }
.field .is-invalid + span { color: #ff8a7a; }
@keyframes fieldShake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.form .btn { width: 100%; gap: 10px; padding: 19px 28px; font-size: 17px; }
.form .btn i { font-style: normal; transition: transform .4s var(--ease); }
.form .btn:hover i { transform: translateX(6px); }
.form__status { font-size: 14px; color: #8b8a80; text-align: center; min-height: 1.6em; }
.form__status.is-error { color: #ff8a7a; }
.form__status:empty { display: none; }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form__legal { font-size: 13px; color: #8b8a80; text-align: center; }
.form__legal a { color: #bdbcb2; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { text-decoration: underline; text-underline-offset: 4px; }

/* Page mentions légales */
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 80px); line-height: 1; margin-bottom: 16px; }
.legal__updated { color: var(--muted); font-size: 15px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 72px 0 8px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.legal h3 { font-size: 19px; margin: 32px 0 8px; }
.legal p, .legal li { color: #45443d; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin-top: 16px; }
.legal dt { color: var(--muted); }
.legal mark { background: #fff1b8; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }

/* Les éléments du formulaire arrivent l'un après l'autre */
.js .form.reveal > * { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .form.reveal.is-visible > * { opacity: 1; transform: none; }
.js .form.reveal > :nth-child(2) { transition-delay: .12s; }
.js .form.reveal > :nth-child(3) { transition-delay: .2s; }
.js .form.reveal > :nth-child(4) { transition-delay: .28s; }
.js .form.reveal > :nth-child(5) { transition-delay: .36s; }
.js .form.reveal > :nth-child(6) { transition-delay: .44s; }
.js .form.reveal > :nth-child(n+7) { transition-delay: .5s; }

/* Footer */
.footer { background: var(--dark); color: #a3a297; border-top: 1px solid #2c2c26; padding: 32px 0; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .logo { color: #fff; }
.footer .logo span { color: #a9b6ff; }
.footer a:last-child { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .service.reveal.is-visible:hover { transform: translateY(-6px); transition-duration: .4s; }
.js .plan.reveal.is-visible:hover { transform: translateY(-6px); transition-duration: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .word__in { transform: none; }
  .js .statement .w { opacity: 1; }
  .showcase__stage { transform: none; }
}

@media (max-width: 960px) {
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .steps::before, .steps::after { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .contact { grid-template-columns: 1fr; }
  .chip--a { left: 6%; }
  .chip--b { right: 4%; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .container--narrow, .showcase { width: calc(100% - 32px); }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; }
  .showcase__stage { grid-template-columns: 1fr; }
  .showcase__side { display: none; }
  .chip { font-size: 12px; padding: 9px 12px; }
  .chip--a { left: -4px; top: -16px; }
  .chip--b { right: -4px; bottom: -14px; }
  .hero__facts { grid-template-columns: 1fr; gap: 20px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 28px; }
  .service__num { margin-bottom: 32px; }
  .works { grid-template-columns: 1fr; }
  .work:nth-child(even) { margin-top: 0; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

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