/* ==========================================================================
   Maison Toile — le vernissage
   Toile crème, murs noirs, terracotta clair. Bodoni Moda + Nunito Sans.
   ========================================================================== */

:root {
  --toile: #F3EEE6;
  --toile-2: #EAE3D8;
  --mur: #E4DCCF;
  --noir: #141312;
  --noir-2: #1E1C1A;
  --terra: #CB7050;
  --terra-fonce: #9E5034;
  --brun: #24150E;
  --grege: #625C55;
  --grege-clair: #B9B1A7;
  --ligne: rgb(20 19 18 / .16);
  --ligne-claire: rgb(243 238 230 / .2);

  --serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--toile);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
em { font-style: italic; }
[hidden] { display: none !important; }

::selection { background: var(--terra); color: var(--noir); }
:focus-visible { outline: 2px solid var(--terra-fonce); outline-offset: 4px; }
[data-bg="dark"] :focus-visible, .cloth :focus-visible, .contact .btn:focus-visible { outline-color: var(--toile); }
html { scrollbar-color: var(--terra) var(--toile); }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; background: var(--noir); color: var(--toile); text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Titres & textes communs ---------- */

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .95;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.section-intro {
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  color: var(--grege);
  text-wrap: pretty;
}

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  border: 0; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn-cream { background: var(--toile); color: var(--noir); }
.btn-cream::before { background: var(--noir); }
.btn-cream:hover { color: var(--toile); }
.btn-dark { background: var(--noir); color: var(--toile); }
.btn-dark::before { background: var(--terra); }
.btn-dark:hover { color: var(--noir); }
.btn-terra { background: var(--terra); color: var(--noir); }
.btn-terra::before { background: var(--noir); }
.btn-terra:hover { color: var(--toile); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-cream {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--toile); font-weight: 700; font-size: 1.1875rem; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 85% / 100% 1px;
  transition: background-size .5s var(--ease);
}
.link-cream:hover { background-size: 0 1px; background-position: 100% 85%; }

/* ---------- Curseur ---------- */

.cursor {
  position: fixed; left: 0; top: 0; z-index: 90;
  width: 0; height: 0;
  pointer-events: none; opacity: 0;
  transition: opacity .3s;
  will-change: transform;
}
.cursor::before {
  content: ""; position: absolute; left: -46px; top: -46px; width: 92px; height: 92px;
  border-radius: 50%; background: var(--terra);
  transform: scale(.11);
  transition: transform .5s var(--ease), background-color .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big::before { transform: scale(1); background: var(--noir); }
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); white-space: nowrap;
  font-size: .8125rem; font-weight: 700; color: var(--toile); letter-spacing: .02em;
  opacity: 0; transition: opacity .25s;
}
.cursor.is-big .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- En-tête ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 22px var(--gutter);
  color: var(--toile);
  transition: color .5s var(--ease), background-color .5s var(--ease), backdrop-filter .5s;
}
.site-header[data-theme="dark"] { color: var(--noir); }
.site-header.is-scrolled[data-theme="dark"] { background: rgb(243 238 230 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-scrolled[data-theme="light"].on-black { background: rgb(20 19 18 / .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.wordmark {
  justify-self: start;
  font-family: var(--serif); font-size: 1.625rem; line-height: 1; letter-spacing: -.01em;
  text-decoration: none; padding: 8px 0; white-space: nowrap;
}
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav a, .header-cta {
  position: relative; text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 10px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta {
  justify-self: end;
  padding: 11px 20px; border: 1px solid currentColor; border-radius: 999px;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.site-header[data-theme="light"] .header-cta:hover { background: var(--toile); color: var(--noir); }
.site-header[data-theme="dark"] .header-cta:hover { background: var(--noir); color: var(--toile); }

.menu-btn {
  display: none; justify-self: end; align-items: center; gap: 10px;
  min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font-weight: 700; font-size: .9375rem;
}
.menu-btn-lines { position: relative; width: 22px; height: 8px; }
.menu-btn-lines::before, .menu-btn-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-btn-lines::before { top: 0; }
.menu-btn-lines::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn-lines::before { top: 3.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-lines::after { top: 3.5px; transform: rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px var(--gutter) 40px;
  background: var(--terra); color: var(--noir);
}
.menu-mobile nav { display: grid; gap: 6px; }
.menu-mobile nav a {
  font-family: var(--serif); font-size: clamp(2.5rem, 11vw, 3.5rem); line-height: 1.1; text-decoration: none;
}
.menu-mobile-insta { font-weight: 700; color: var(--brun); }

/* ==========================================================================
   Vernissage : la toile se lève
   ========================================================================== */

.unveil { position: relative; height: 230vh; background: var(--toile); }
.unveil-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.manifesto {
  position: absolute; inset: 0;
  display: grid; align-content: safe center; gap: clamp(18px, 3.5vh, 36px);
  padding: clamp(84px, 13vh, 120px) var(--gutter) clamp(28px, 6vh, 80px);
  background: var(--toile);
}
.manifesto-text {
  max-width: 26ch;
  font-family: var(--serif); font-weight: 400;
  /* s'adapte à la largeur ET à la hauteur de l'écran : jamais coupé sur les portables */
  font-size: min(clamp(1.75rem, 5.2vw, 5rem), 7.3vh);
  line-height: 1.08; letter-spacing: -.015em;
  text-wrap: balance;
}
.manifesto-text .w { opacity: .14; transition: opacity .25s linear; }
.manifesto-text .w.is-lit { opacity: 1; }
.manifesto-sign { font-weight: 700; letter-spacing: .02em; color: var(--terra-fonce); }

.cloth { position: absolute; inset: 0; color: var(--toile); will-change: transform; }
.cloth-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cloth-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 20% 0%, rgb(255 255 255 / .1), transparent 60%),
    radial-gradient(90% 70% at 90% 100%, rgb(70 25 10 / .22), transparent 70%),
    var(--terra);
}
.cloth.has-webgl .cloth-fallback { opacity: 0; }

.hero {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; gap: 40px;
  padding: 120px var(--gutter) clamp(70px, 10vh, 120px);
  pointer-events: none;
}
.hero a { pointer-events: auto; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.6rem, 9.4vw, 8.5rem); line-height: .9; letter-spacing: -.035em;
  text-shadow: 0 2px 30px rgb(80 30 15 / .18);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; }
.hero-title em { font-style: italic; }
.hero-side { display: grid; gap: 28px; justify-items: start; max-width: 420px; justify-self: end; }
.hero-lede { font-size: clamp(1.25rem, 1.45vw, 1.4375rem); font-weight: 600; line-height: 1.45; color: var(--toile); text-shadow: 0 1px 14px rgb(70 25 10 / .3); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em; color: var(--brun);
  white-space: nowrap;
}
.scroll-hint-bar { position: relative; width: 1px; height: 28px; overflow: hidden; background: rgb(36 21 14 / .25); }
.scroll-hint-bar::after {
  content: ""; position: absolute; inset: 0; background: var(--brun);
  animation: hint 2s var(--ease-in-out) infinite;
}
@keyframes hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ==========================================================================
   L'exposition
   ========================================================================== */

.expo { padding: clamp(110px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 160px); background: var(--toile); }
.expo-head {
  max-width: var(--maxw); margin: 0 auto clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 60px;
}
.expo-head .section-intro { justify-self: end; }

.works {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  row-gap: clamp(80px, 10vw, 150px);
}
.work-a { grid-column: 1 / span 8; }
.work-b { grid-column: 7 / span 6; margin-top: -8vw; }
.work-c { grid-column: 2 / span 7; }

.frame {
  display: block; position: relative;
  padding: clamp(12px, 1.6vw, 26px);
  background: var(--noir);
  box-shadow: 0 2px 2px rgb(20 19 18 / .08), 0 40px 70px -30px rgb(20 19 18 / .45);
  text-decoration: none;
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.frame::before {
  content: ""; position: absolute; inset: clamp(5px, .6vw, 9px);
  border: 1px solid rgb(243 238 230 / .14); pointer-events: none;
}
.frame:hover { transform: translateY(-6px); box-shadow: 0 2px 2px rgb(20 19 18 / .08), 0 60px 90px -30px rgb(20 19 18 / .5); }
.frame-screen { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--toile-2); }
.work-b .frame-screen { aspect-ratio: 4 / 5; }
.frame-screen iframe {
  position: absolute; left: 0; top: 0; border: 0; pointer-events: none;
  width: 1440px; height: 900px; max-width: none; transform-origin: 0 0;
}

.cartel {
  display: grid; gap: 2px; margin-top: 22px; padding-left: 16px;
  border-left: 1px solid var(--noir);
  font-size: .9375rem; line-height: 1.4;
}
.cartel-title { font-family: var(--serif); font-size: 1.625rem; line-height: 1.1; }
.cartel-meta { color: var(--noir); }
.cartel-note { font-style: italic; color: var(--grege); }

/* ==========================================================================
   De l'esquisse à la toile
   ========================================================================== */

.method { position: relative; height: 420vh; background: var(--noir); color: var(--toile); }
.method-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 5vw, 90px);
  padding: 110px var(--gutter) 60px;
  max-width: 1600px; margin: 0 auto;
}
.method .section-title { margin-bottom: clamp(36px, 5vh, 60px); }
.steps { display: grid; gap: clamp(14px, 2.2vh, 26px); }
.step {
  display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: start;
  opacity: .32; transition: opacity .6s var(--ease);
}
.step.is-active { opacity: 1; }
.step-num { font-family: var(--serif); font-size: 1.75rem; line-height: 1; color: var(--terra); }
.step h3 { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; line-height: 1.2; margin-bottom: 4px; }
.step p { max-width: 38ch; color: var(--grege-clair); font-size: 1rem; line-height: 1.5; }

.easel { position: relative; }
.browser {
  background: var(--noir-2);
  border: 1px solid rgb(243 238 230 / .12);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 50px 100px -40px rgb(0 0 0 / .8);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px; border-bottom: 1px solid rgb(243 238 230 / .08);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: rgb(243 238 230 / .18); }
.browser-url {
  flex: 1; margin-left: 12px; min-height: 30px; display: flex; align-items: center;
  padding: 0 14px; border-radius: 999px; background: rgb(243 238 230 / .06);
  font-size: .875rem; color: var(--grege-clair); letter-spacing: .01em;
}
.url-text::after { content: "|"; margin-left: 1px; color: var(--terra); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.browser-body { position: relative; padding: clamp(10px, 1.5vw, 22px); background: var(--toile); color: var(--noir); }
.sketch { width: 100%; height: auto; }
.sk-lines path, .sk-lines rect { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.sk-paint .p { opacity: 0; transform-box: fill-box; transform-origin: center; }
.live-badge {
  position: absolute; right: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--noir); color: var(--toile); font-size: .8125rem; font-weight: 700;
  opacity: 0; transform: translateY(10px);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #6FCF8F; }

/* ==========================================================================
   Formats
   ========================================================================== */

.formats { padding: clamp(110px, 13vw, 190px) var(--gutter) clamp(90px, 10vw, 150px); background: var(--mur); }
.formats-head {
  max-width: var(--maxw); margin: 0 auto clamp(56px, 7vw, 100px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 60px;
}
.formats-head .section-intro { justify-self: end; }

.offers {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch;
  border-top: 1px solid var(--noir);
}
.offer {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.6vw, 40px) clamp(30px, 3vw, 44px);
  border-right: 1px solid rgb(20 19 18 / .18);
}
.offer:last-child { border-right: 0; }
.offer.is-reco { background: var(--terra); color: var(--noir); border-right: 0; box-shadow: 0 40px 70px -40px rgb(90 35 15 / .55); }
.offer-badge {
  position: absolute; top: -14px; left: clamp(22px, 2.6vw, 40px);
  padding: 5px 12px; border-radius: 999px; background: var(--noir); color: var(--toile);
  font-size: .8125rem; font-weight: 700; letter-spacing: .02em;
}
.offer-name { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 2.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.015em; margin-bottom: 10px; }
.offer-for { color: var(--grege); min-height: 3.2em; }
.is-reco .offer-for { color: var(--brun); }
.offer-price { margin: 22px 0 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.offer-from { font-size: .9375rem; color: var(--grege); }
.is-reco .offer-from { color: var(--brun); }
.offer-price strong { font-family: var(--serif); font-weight: 500; font-size: clamp(2.75rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.02em; }
.offer-delay { font-size: .9375rem; font-weight: 600; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgb(20 19 18 / .18); }
.is-reco .offer-delay { border-bottom-color: rgb(20 19 18 / .28); }
.offer-list { display: grid; gap: 11px; margin-bottom: 26px; }
.offer-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; line-height: 1.45; }
.tick { width: 16px; height: 16px; margin-top: .2em; color: var(--terra-fonce); }
.is-reco .tick { color: var(--noir); }
.offer-note { font-size: .875rem; color: var(--grege); margin: -10px 0 22px; }
.offer-cta { margin-top: auto; align-self: start; }

.extras {
  max-width: var(--maxw); margin: clamp(40px, 5vw, 64px) auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(24px, 4vw, 60px);
  padding-top: 28px; border-top: 1px solid rgb(20 19 18 / .18);
}
.extra h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; margin-bottom: 6px; }
.extra p { color: var(--noir); }
.extra-detail { color: var(--grege) !important; max-width: 52ch; }

.launch {
  max-width: var(--maxw); margin: clamp(70px, 9vw, 130px) auto 0;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 4vw, 64px);
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px);
  background: var(--noir); color: var(--toile);
}
.launch-big { font-family: var(--serif); font-size: clamp(4rem, 9vw, 8rem); line-height: .85; letter-spacing: -.04em; color: var(--terra); }
.launch-title { font-family: var(--serif); font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.1; margin-bottom: 8px; }
.launch-copy p:not(.launch-title) { max-width: 52ch; color: var(--grege-clair); }
.launch .btn-dark { background: var(--terra); color: var(--noir); }
.launch .btn-dark::before { background: var(--toile); }
.launch .btn-dark:hover { color: var(--noir); }

/* ==========================================================================
   Questions
   ========================================================================== */

.faq {
  padding: clamp(100px, 12vw, 180px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 110px);
  max-width: var(--maxw); margin: 0 auto;
  background: var(--toile);
}
.faq-list { border-top: 1px solid var(--noir); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  position: relative; display: block; cursor: pointer; list-style: none;
  padding: 26px 56px 26px 0;
  font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 1.5px; background: var(--noir);
  transition: transform .5s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq summary:hover { color: var(--terra-fonce); }
.faq details p { max-width: 60ch; padding: 0 0 28px; color: var(--grege); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { background: var(--terra); color: var(--noir); padding: clamp(100px, 12vw, 180px) var(--gutter); }
.contact-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start;
}
.contact-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.25rem, 7.5vw, 7rem); line-height: .92; letter-spacing: -.03em;
  color: var(--toile); margin-bottom: 32px;
}
.contact-lede { max-width: 40ch; font-size: 1.1875rem; color: var(--brun); margin-bottom: 20px; }
.contact-alt { color: var(--brun); }
.contact-alt a { color: var(--noir); font-weight: 700; text-underline-offset: .25em; }

.form {
  display: grid; gap: 22px;
  padding: clamp(28px, 3.5vw, 52px);
  background: var(--toile);
  box-shadow: 0 40px 80px -40px rgb(60 25 10 / .5);
}
.hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-weight: 700; font-size: .9375rem; }
.opt { font-weight: 400; color: var(--grege); }
.field input, .field textarea {
  width: 100%; padding: 12px 0;
  border: 0; border-bottom: 1.5px solid rgb(20 19 18 / .35); border-radius: 0;
  background: transparent; font-size: 1.0625rem;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #8A837B; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--noir); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--terra-fonce); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 var(--terra-fonce); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: #B3261E; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid rgb(20 19 18 / .3); border-radius: 999px; font-size: .9375rem;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover span { border-color: var(--noir); }
.chip input:checked + span { background: var(--noir); border-color: var(--noir); color: var(--toile); }
.chip input:focus-visible + span { outline: 2px solid var(--terra-fonce); outline-offset: 3px; }
.form-error { color: #B3261E; font-weight: 600; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-note { font-size: .875rem; color: var(--grege); }

/* ---------- Pied de page ---------- */

.site-footer { background: var(--noir); color: var(--toile); padding: clamp(60px, 8vw, 110px) var(--gutter) 36px; overflow: hidden; }
.footer-mark {
  font-family: var(--serif); font-size: clamp(4rem, 17vw, 17rem); line-height: .85; letter-spacing: -.045em;
  white-space: nowrap; margin-bottom: clamp(30px, 4vw, 56px);
}
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px;
  padding-top: 24px; border-top: 1px solid var(--ligne-claire);
  font-size: .9375rem; color: var(--grege-clair);
}
.footer-row a { color: var(--toile); text-underline-offset: .25em; }

/* ---------- Apparitions ---------- */

[data-reveal] { opacity: 0; transform: translateY(40px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .method-pin { grid-template-columns: 1fr; align-content: center; gap: 36px; padding-top: 96px; }
  .method .section-title { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
  .step p { font-size: .9375rem; }
  .easel { max-width: 720px; }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header { grid-template-columns: 1fr auto; }

  .unveil { height: 200vh; }
  .hero { grid-template-columns: 1fr; align-content: end; gap: 26px; padding-bottom: 90px; }
  .hero-side { justify-self: start; }
  .scroll-hint { display: none; }

  .expo-head, .formats-head { grid-template-columns: 1fr; }
  .expo-head .section-intro, .formats-head .section-intro { justify-self: start; }
  .works { grid-template-columns: 1fr; row-gap: 70px; }
  .work-a, .work-b, .work-c { grid-column: 1; margin-top: 0; }
  .work-b .frame-screen { aspect-ratio: 16 / 10; }

  .method { height: auto; }
  .method-pin { position: relative; height: auto; padding: 100px var(--gutter); }
  .steps { grid-template-columns: 1fr; }
  .step { opacity: 1; }

  .offers { grid-template-columns: 1fr; border-top: 0; gap: 18px; }
  .offer { border-right: 0; border-top: 1px solid var(--noir); }
  .offer.is-reco { margin-top: 18px; }
  .offer-for { min-height: 0; }
  .extras { grid-template-columns: 1fr; }
  .launch { grid-template-columns: 1fr; justify-items: start; }

  .faq { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 3.4rem; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .form .btn { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .unveil { height: auto; }
  .unveil-stage { position: relative; height: auto; overflow: visible; }
  .cloth { position: relative; height: 100vh; }
  .manifesto { position: relative; }
  .manifesto-text .w { opacity: 1; }
  .method { height: auto; }
  .method-pin { position: relative; height: auto; }
  .step { opacity: 1; }
  .sk-lines path, .sk-lines rect { stroke-dashoffset: 0; }
  .sk-paint .p, .live-badge { opacity: 1; transform: none; }
}

/* ---------- Menu ouvert, pages simples ---------- */
.site-header.is-bare { background: transparent !important; backdrop-filter: none !important; }
.site-header.menu-open { color: var(--noir); background: transparent !important; backdrop-filter: none !important; }
.page-simple { min-height: 100vh; display: grid; align-content: center; gap: 28px; padding: 140px var(--gutter) 80px; max-width: 900px; }
.page-simple h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 8vw, 6rem); line-height: .95; letter-spacing: -.03em; }
.page-simple p { max-width: 60ch; color: var(--grege); }
.page-simple .btn { justify-self: start; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; margin-top: 20px; }
.legal p { color: var(--noir); }
.todo { background: #FBE3D8; padding: 0 .3em; border-radius: 3px; }

/* Petits écrans et écrans peu hauts : le titre ne passe jamais sous l'en-tête */
@media (max-width: 860px) {
  .hero { padding-top: 88px; gap: 18px; }
  .hero-title { font-size: min(clamp(2.6rem, 13vw, 4.5rem), 9.5vh); }
  .hero-side { gap: 18px; }
  .hero-lede { font-size: min(1.25rem, 3.1vh); }
}
@media (max-height: 560px) {
  .hero-actions .link-cream { display: none; }
  .btn { min-height: 46px; }
}
