/* ============================================================
   MOON AGENCY — papier, encre, orange signal. Typo large, pas de décor.
   ============================================================ */
:root {
  --paper: #f3f0e8;
  --paper-2: #e9e4d8;
  --white: #fbfaf7;
  --ink: #121212;
  --ink-2: #2a2a2a;
  --muted: #6a675f;
  --muted-ink: rgba(243, 240, 232, 0.6);
  --line: rgba(18, 18, 18, 0.14);
  --line-strong: rgba(18, 18, 18, 0.9);
  --line-ink: rgba(243, 240, 232, 0.16);
  --accent: #ff4a1c;
  --accent-2: #e23c10;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; font-variation-settings: "wdth" 100; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

.section { padding: 120px 0; position: relative; border-top: 1px solid var(--line-strong); }
@media (max-width: 768px) { .section { padding: 80px 0; } }
.section--sand { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); border-top-color: var(--ink); }
.section--ink .lead { color: var(--muted-ink); }

.section__head { max-width: 860px; margin-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.h2 { font-size: clamp(36px, 5.4vw, 72px); font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: -0.04em; line-height: 0.98; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 640px; margin-top: 24px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 24px; font-weight: 700; font-size: 15px; border: 1.5px solid var(--ink); cursor: pointer; white-space: nowrap; background: transparent; color: var(--ink); transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, border-color 0.25s; }
.btn .arrow { display: inline-block; transition: transform 0.3s var(--ease); font-weight: 400; }
.btn:hover .arrow { transform: translateX(5px); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--line { background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.section--ink .btn--line { border-color: var(--paper); color: var(--paper); }
.section--ink .btn--line:hover { background: var(--paper); color: var(--ink); }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; margin-top: 18px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.link span { transition: transform 0.3s var(--ease); display: inline-block; }
.link:hover { color: var(--accent); border-color: var(--accent); }
.link:hover span { transform: translate(3px, -3px); }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 60; }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.is-scrolled { border-bottom-color: var(--line-strong); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 16px; letter-spacing: 0.02em; font-variation-settings: "wdth" 118; }
.brand__mark { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); position: relative; flex: none; overflow: hidden; }
.brand__mark::after { content: ""; position: absolute; left: 7px; top: -3px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); }
.brand--footer .brand__mark { background: var(--paper); }
.brand--footer .brand__mark::after { background: var(--ink); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 14px; font-weight: 600; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--accent); transition: right 0.3s var(--ease); }
.nav__links a:hover::after { right: 0; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform 0.3s, opacity 0.3s; }
.nav.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { opacity: 0; }
.nav.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-mobile { display: none; }
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }
  .menu-mobile { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--paper); padding: 24px; flex-direction: column; gap: 0; border-top: 1px solid var(--line-strong); }
  .menu-mobile:not([hidden]) { display: flex; }
  .menu-mobile a:not(.btn) { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; padding: 16px 0; border-bottom: 1px solid var(--line); font-variation-settings: "wdth" 110; }
  .menu-mobile .btn { margin-top: 28px; }
}

/* ---------- Héros ---------- */
.hero { padding: calc(var(--nav-h) + 56px) 0 0; background: var(--paper); }
.hero__kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; }
.hero__title { font-size: clamp(64px, 12.5vw, 184px); font-weight: 900; font-variation-settings: "wdth" 120; letter-spacing: -0.05em; line-height: 0.86; text-transform: uppercase; }
.hero__title .line { display: block; overflow: hidden; padding: 0.04em 0; }
.hero__title .line > span { display: block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.2s; }
.hero__title .line--accent { color: var(--accent); }
@keyframes rise { to { transform: translateY(0); } }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; margin-top: 56px; }
.hero__sub { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; max-width: 560px; color: var(--ink-2); }
.hero__sub strong { color: var(--ink); font-weight: 800; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* La semaine qui se coche */
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--white); }
.week__day { position: relative; padding: 18px 12px 16px; border-right: 1.5px solid var(--ink); display: grid; gap: 8px; min-height: 150px; align-content: start; }
.week__day:last-child { border-right: 0; }
.week__name { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.week__task { font-weight: 700; font-size: 14px; line-height: 1.2; }
.week__check { position: absolute; left: 12px; bottom: 14px; width: 26px; height: 26px; border: 1.5px solid var(--ink); display: grid; place-items: center; }
.week__check::after { content: ""; width: 12px; height: 6px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg) scale(0); transform-origin: center; transition: transform 0.35s var(--ease); }
.week.is-in .week__day .week__check::after { transform: rotate(-45deg) scale(1); }
.week.is-in .week__day:nth-child(1) .week__check::after { transition-delay: 0.4s; }
.week.is-in .week__day:nth-child(2) .week__check::after { transition-delay: 0.8s; }
.week.is-in .week__day:nth-child(3) .week__check::after { transition-delay: 1.2s; }
.week.is-in .week__day:nth-child(4) .week__check::after { transition-delay: 1.6s; }
.week.is-in .week__day:nth-child(5) .week__check::after { transition-delay: 2.0s; }
.week__day--last { background: var(--ink); color: var(--paper); transition: background 0.4s 2s, color 0.4s 2s; }
.week__day--last .week__name { color: var(--muted-ink); }
.week__day--last .week__task { font-size: 18px; font-weight: 900; }
.week__day--last .week__check { border-color: var(--paper); }
.week__day--last .week__check::after { border-color: var(--paper); }
.week.is-in .week__day--last { background: var(--accent); color: #fff; }
.week.is-in .week__day--last .week__name { color: rgba(255,255,255,0.75); }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-top: 1.5px solid var(--ink); }
.facts li { padding: 26px 24px 30px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.facts li:last-child { border-right: 0; margin-right: 0; }
.facts strong { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 900; font-variation-settings: "wdth" 115; letter-spacing: -0.05em; line-height: 1; }
.facts span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 220px; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .week__day { min-height: 128px; padding: 12px 8px 12px; }
  .week__task { font-size: 12px; }
  .week__day--last .week__task { font-size: 14px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li { padding-right: 16px; margin-right: 16px; }
}
@media (max-width: 520px) {
  .week { grid-template-columns: 1fr; }
  .week__day { min-height: 0; border-right: 0; border-bottom: 1.5px solid var(--ink); display: grid; grid-template-columns: 44px 1fr 26px; align-items: center; gap: 12px; padding: 12px 14px; }
  .week__day:last-child { border-bottom: 0; }
  .week__check { position: static; }
  .week__day--last .week__task, .week__task { font-size: 15px; }
}

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 14px 0; margin-top: 72px; border-top: 1.5px solid var(--ink); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee 36s linear infinite; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; font-variation-settings: "wdth" 112; }
.marquee__track i { font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Réalisations (conservé) ---------- */
#realisations { border-top: 0; }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.work { min-width: 0; }
.work__visual { display: block; position: relative; padding-right: 14%; padding-bottom: 12%; }
.browser { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(18, 18, 18, 0.45), 0 0 0 1px var(--line); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1f1f1; border-bottom: 1px solid rgba(0,0,0,0.06); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d9d9; }
.browser__bar i:nth-child(1) { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-left: 8px; font-size: 10.5px; color: #777; background: #fff; border-radius: 6px; padding: 3px 10px; flex: 1; font-family: var(--mono); }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { position: absolute; right: 0; bottom: 0; width: 28%; border-radius: 16px; padding: 4px; background: #0e0e11; box-shadow: 0 24px 40px -18px rgba(18, 18, 18, 0.6), 0 0 0 1px rgba(255,255,255,0.08) inset; transition: transform 0.6s var(--ease); }
.phone img { width: 100%; height: auto; border-radius: 12px; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }
.work__visual:hover .browser { transform: translateY(-8px) rotate(-0.6deg); box-shadow: 0 44px 70px -30px rgba(18, 18, 18, 0.55), 0 0 0 1px var(--line); }
.work__visual:hover .phone { transform: translate(6px, -14px) rotate(2deg); }
.work__meta { margin-top: 24px; }
.work__type { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.work__meta h3 { font-size: 32px; font-weight: 800; font-variation-settings: "wdth" 110; margin-bottom: 10px; }
.work__meta p:not(.work__type) { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .works { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- Offre : la facture ---------- */
.offre { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.offre__text .h2 { max-width: 560px; }
.offre__text .btn { margin-top: 36px; }
.offre__honest { margin-top: 28px; font-size: 15px; color: var(--muted-ink); line-height: 1.7; max-width: 520px; border-left: 2px solid var(--accent); padding-left: 16px; }
.offre__honest strong { color: var(--paper); }
.invoice { position: relative; background: var(--white); color: var(--ink); padding: 36px 36px 32px; font-family: var(--mono); font-size: 13.5px; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8); transform: rotate(-0.4deg); }
.invoice__head { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 20px; border-bottom: 1.5px solid var(--ink); }
.invoice__head div { display: grid; gap: 4px; }
.invoice__label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.invoice__num { font-weight: 600; }
.invoice__table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.invoice__table th { font-weight: 400; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); text-align: left; padding: 14px 0 10px; border-bottom: 1px solid var(--line); }
.invoice__table td { padding: 10px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.invoice__table th:nth-child(2), .invoice__table td:nth-child(2) { text-align: center; width: 54px; }
.invoice__table th:nth-child(3), .invoice__table td:nth-child(3) { text-align: right; width: 100px; white-space: nowrap; }
.invoice__table em { font-style: normal; color: var(--accent); font-weight: 600; }
.invoice__line--zero td { color: var(--muted); }
.invoice__line { opacity: 0; transform: translateX(-8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.invoice.is-in .invoice__line { opacity: 1; transform: none; }
.invoice.is-in .invoice__line:nth-child(1) { transition-delay: 0.2s; } .invoice.is-in .invoice__line:nth-child(2) { transition-delay: 0.3s; } .invoice.is-in .invoice__line:nth-child(3) { transition-delay: 0.4s; } .invoice.is-in .invoice__line:nth-child(4) { transition-delay: 0.5s; } .invoice.is-in .invoice__line:nth-child(5) { transition-delay: 0.6s; } .invoice.is-in .invoice__line:nth-child(6) { transition-delay: 0.7s; } .invoice.is-in .invoice__line:nth-child(7) { transition-delay: 0.8s; } .invoice.is-in .invoice__line:nth-child(8) { transition-delay: 0.95s; } .invoice.is-in .invoice__line:nth-child(9) { transition-delay: 1.05s; } .invoice.is-in .invoice__line:nth-child(10) { transition-delay: 1.15s; }
.invoice__table tfoot td { border-bottom: 0; padding: 8px 0 0; }
.invoice__table tfoot tr:first-child td { padding-top: 18px; border-top: 1.5px solid var(--ink); }
.invoice__total td { font-weight: 600; font-size: 17px; padding-top: 10px !important; }
.invoice__foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.stamp { position: absolute; right: 28px; top: 58%; transform: rotate(-12deg) scale(2.4); opacity: 0; border: 3px solid var(--accent); color: var(--accent); padding: 8px 16px; text-align: center; text-transform: uppercase; font-family: var(--font); font-weight: 900; font-variation-settings: "wdth" 110; letter-spacing: 0.04em; border-radius: 4px; transition: transform 0.45s cubic-bezier(0.18, 1.4, 0.4, 1) 1.4s, opacity 0.3s 1.4s; mix-blend-mode: multiply; }
.stamp span { display: block; font-size: 22px; line-height: 1; }
.stamp small { display: block; font-size: 10px; letter-spacing: 0.12em; margin-top: 4px; }
.invoice.is-in .stamp { transform: rotate(-12deg) scale(1); opacity: 0.92; }
@media (max-width: 960px) { .offre { grid-template-columns: 1fr; gap: 48px; } .invoice { transform: none; padding: 24px 18px; font-size: 12.5px; } .invoice__head { grid-template-columns: 1fr 1fr; } .stamp { right: 12px; top: 64%; } .stamp span { font-size: 16px; } }

/* ---------- Méthode ---------- */
.steps { border-top: 1.5px solid var(--ink); }
.step { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; transition: padding-left 0.4s var(--ease); }
.step:hover { padding-left: 12px; }
.step__num { font-size: clamp(48px, 6vw, 88px); font-weight: 900; font-variation-settings: "wdth" 120; letter-spacing: -0.06em; line-height: 0.85; color: var(--accent); }
.step__day { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); display: block; margin-bottom: 10px; }
.step h3 { font-size: clamp(26px, 2.8vw, 38px); font-variation-settings: "wdth" 108; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 16.5px; max-width: 680px; }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; } .step:hover { padding-left: 0; } }

/* ---------- Ailleurs / ici ---------- */
.compare { border: 1.5px solid var(--ink); background: var(--white); }
.compare__row { display: grid; grid-template-columns: 160px 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare__row:last-child { border-bottom: 0; }
.compare__row > div { padding: 22px 24px; font-size: 16px; }
.compare__row > div:first-child { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding-top: 26px; }
.compare__row > div:nth-child(2) { color: var(--muted); border-left: 1px solid var(--line); }
.compare__row > div:nth-child(2) s { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.compare__us { background: var(--ink); color: var(--paper); font-weight: 700; }
.compare__row--head > div { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 16px 24px; }
.compare__row--head .compare__us { color: var(--accent); font-weight: 600; }
@media (max-width: 760px) {
  .compare__row { grid-template-columns: 1fr; }
  .compare__row--head { display: none; }
  .compare__row > div:first-child { padding-bottom: 4px; }
  .compare__row > div:nth-child(2) { border-left: 0; padding-top: 4px; }
  .compare__row > div { padding: 16px 18px; }
}

/* ---------- FAQ ---------- */
.faq__wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.faq__wrap .section__head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.faq { border-top: 1.5px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: 19px; position: relative; letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; background: var(--ink); transform: translateY(-50%); transition: transform 0.3s var(--ease); }
.faq__item summary::after { transform: translateY(-50%) rotate(90deg); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(0deg); }
.faq__item[open] summary::before, .faq__item[open] summary::after { background: var(--accent); }
.faq__body p { padding: 0 0 24px; color: var(--muted); font-size: 16px; max-width: 640px; }
.faq__body a { color: var(--accent); font-weight: 700; border-bottom: 1.5px solid currentColor; }
@media (max-width: 900px) { .faq__wrap { grid-template-columns: 1fr; gap: 24px; } .faq__wrap .section__head { position: static; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact__intro .section__head { margin-bottom: 0; }
.contact__points { margin-top: 44px; border-top: 1px solid var(--line-ink); }
.contact__points li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line-ink); }
.contact__points span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-ink); }
.contact__points strong { font-size: 18px; font-weight: 700; }
.contact__points a:hover { color: var(--accent); }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-ink); }
.field legend { margin-bottom: 10px; padding: 0; }
.field input, .field textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1.5px solid var(--line-ink); background: transparent; color: var(--paper); border-radius: 0; font-size: 17px; transition: border-color 0.25s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243, 240, 232, 0.3); }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.field.is-error input, .field.is-error textarea { border-bottom-color: #ff6b6b; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line-ink); font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.chips input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted-ink); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--paper); text-decoration: underline; }
.form__submit { justify-self: start; margin-top: 6px; }
.form__submit:disabled { opacity: 0.6; cursor: wait; }
.form__status { display: none; padding: 14px 18px; font-size: 15px; border: 1.5px solid; }
.form__status.is-ok { display: block; color: #a9f0c3; border-color: #3dd68c; }
.form__status.is-err { display: block; color: #ffb3b3; border-color: #ff6b6b; }
.form__status a { text-decoration: underline; font-weight: 700; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: var(--muted-ink); border-top: 1px solid var(--line-ink); padding: 36px 0; font-size: 13px; font-family: var(--mono); }
.footer__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.brand--footer { color: var(--paper); font-family: var(--font); }
.footer__legal { margin-left: auto; }
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: var(--accent); }
@media (max-width: 760px) { .footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; } .footer__legal { margin-left: 0; } }

/* ---------- Pages légales ---------- */
.legal { padding: calc(var(--nav-h) + 64px) 0 96px; }
.legal .wrap { max-width: 820px; }
.legal__back { display: inline-flex; gap: 8px; font-weight: 700; border-bottom: 1.5px solid var(--ink); margin-bottom: 40px; }
.legal__back:hover { color: var(--accent); border-color: var(--accent); }
.legal h1 { font-size: clamp(38px, 5.4vw, 64px); font-variation-settings: "wdth" 112; margin-bottom: 12px; }
.legal__date { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-size: 26px; margin: 44px 0 14px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal ul li + li { margin-top: 6px; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 700; color: var(--ink); background: var(--paper-2); }
body.page-legal .nav { border-bottom-color: var(--line-strong); }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
  .reveal, .invoice__line { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}
