
/* Mise en page : affiche suisse (Swissted). Grille 12 colonnes, en-têtes en trois colonnes de petit texte minuscule,
   aplats géométriques pleine largeur. Un seul monde visuel (papier crème + encre), volontairement sans thème sombre. */
:root {
  --paper: #EAE6DA;
  --paper-2: #DFDACB;
  --ink: #16121E;
  --ink-2: #4A4453;
  --violet: #8500DE;
  --orange: #FF5A1F;
  --line: rgba(22, 18, 30, .18);
  --cream-on-ink: #EAE6DA;
  --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
::selection { background: var(--violet); color: var(--paper); }

.wrap {
  max-width: calc(var(--maxw) + 64px);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

/* Petit texte d'affiche */
.meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 24px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: lowercase;
}
.meta p { margin: 0; }
@media (max-width: 640px) { .meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .meta .m3 { display: none; } }

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 {
  font-weight: 800;
  font-size: clamp(42px, 7.2vw, 100px);
  line-height: .93;
  letter-spacing: -.045em;
  text-transform: lowercase;
}
h2 {
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: lowercase;
}
h3 { font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 60ch; margin: 0; }
p { max-width: 65ch; }

/* En-tête */
.top { padding-block: 20px 0; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { display: block; width: 116px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; font-weight: 600; text-transform: lowercase; }
.nav a { text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }
.nav .cta { background: var(--ink); color: var(--paper); padding: 6px 12px; border: 0; }
.nav .cta:hover { background: var(--violet); }
@media (max-width: 560px) { .nav .opt { display: none; } }
.top .meta { margin-top: 28px; padding-top: 10px; border-top: 2px solid var(--ink); }

/* Héros */
.hero { padding-block: 40px 0; }
.hero-grid { display: grid; gap: 28px; }
.hero-grid .side { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 40px; align-items: end; }
.hero-grid .btns { justify-content: flex-end; }
@media (max-width: 900px) { .hero-grid .side { grid-template-columns: minmax(0, 1fr); } .hero-grid .btns { justify-content: flex-start; } }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: lowercase;
  padding: 12px 18px; text-decoration: none; border: 2px solid var(--ink);
}
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--violet); border-color: var(--violet); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arr { font-family: var(--mono); }

/* Bandeau de quarts de cercle */
.strip { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); background: var(--ink); }
.strip i { display: block; aspect-ratio: 1; }
@media (max-width: 720px) { .strip { grid-template-columns: repeat(8, minmax(0, 1fr)); } .strip i:nth-child(n+9) { display: none; } }
.q-tl { border-top-left-radius: 100%; }
.q-tr { border-top-right-radius: 100%; }
.q-bl { border-bottom-left-radius: 100%; }
.q-br { border-bottom-right-radius: 100%; }
.c-v { background: var(--violet); }
.c-o { background: var(--orange); }
.c-p { background: var(--paper); }
.c-k { background: var(--ink); }

/* Sections */
section { padding-block: 88px 0; scroll-margin-top: 12px; }
@media (max-width: 720px) { section { padding-block: 64px 0; } }
.sec-head { display: grid; gap: 22px; }
.sec-head .meta { padding-top: 10px; border-top: 2px solid var(--ink); }

.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; margin-top: 44px; }
.cols3 > div { min-width: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.cols3 p { margin: 8px 0 0; color: var(--ink-2); }
@media (max-width: 820px) { .cols3 { grid-template-columns: minmax(0, 1fr); } }

/* Affiches produits */
.posters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
@media (max-width: 820px) { .posters { grid-template-columns: minmax(0, 1fr); } }
.poster { background: var(--paper-2); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.poster .art { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ink); position: relative; }
.poster .art i { display: block; aspect-ratio: 1; }
.poster .word {
  margin: 0 0 4px; font-family: var(--display); font-weight: 800; letter-spacing: -.055em; line-height: .85;
  font-size: clamp(56px, 8vw, 104px);
}
.poster.mx .word { color: var(--violet); }
.poster.at .word { color: var(--ink); }
.poster .body { padding: 22px 22px 26px; display: grid; gap: 14px; align-content: start; }
.poster .body .meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); font-size: 12.5px; }
.poster .body p { margin: 0; }
.poster .more { font-weight: 700; text-transform: lowercase; text-decoration: none; border-bottom: 2px solid currentColor; justify-self: start; }
.poster.mx .more { color: var(--violet); }
.poster.at .more { color: #C2410C; }

/* Annoncé / pas encore */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 44px; border: 2px solid var(--ink); }
.split > div { padding: 24px; min-width: 0; }
.split > div + div { border-left: 2px solid var(--ink); background: var(--paper-2); }
.split ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.split li { padding-left: 22px; position: relative; }
.split li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--ink); border-top-left-radius: 100%; }
.split > div + div li::before { background: var(--orange); }
@media (max-width: 720px) { .split { grid-template-columns: minmax(0, 1fr); } .split > div + div { border-left: 0; border-top: 2px solid var(--ink); } }
.note { font-size: 13px; color: var(--ink-2); margin-top: 14px; }

/* Chaîne de traitement */
.chain { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 40px; border-top: 2px solid var(--ink); }
.chain li { list-style: none; padding: 14px 14px 18px 0; min-width: 0; border-right: 1px solid var(--line); padding-left: 14px; }
.chain li:first-child { padding-left: 0; }
.chain li:last-child { border-right: 0; }
.chain .n { font-family: var(--mono); font-size: 12px; color: var(--violet); }
.chain b { display: block; font-size: 15px; margin-top: 6px; text-transform: lowercase; }
.chain span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
.chain .sim { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: 11px; padding: 2px 6px; border: 1px dashed var(--violet); color: var(--violet); }
.chain-wrap { overflow-x: auto; padding: 0; margin: 0; }
@media (max-width: 900px) {
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain li { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .chain li:nth-child(odd) { border-right: 1px solid var(--line); }
  .chain li:nth-child(even) { padding-left: 14px; }
}

/* Captures */
figure { margin: 0; min-width: 0; }
.shot { border: 2px solid var(--ink); background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
figcaption { font-family: var(--mono); font-size: 12px; color: var(--ink-2); margin-top: 10px; line-height: 1.45; max-width: 70ch; }
.shot-big { margin-top: 40px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-top: 48px; align-items: start; }
.duo > * { min-width: 0; }
.duo .txt { display: grid; gap: 10px; align-content: start; }
.duo .txt p { margin: 0; color: var(--ink-2); }
@media (max-width: 820px) { .duo { grid-template-columns: minmax(0, 1fr); } }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.points li { border-top: 1px solid var(--line); padding-block: 12px; min-width: 0; color: var(--ink-2); }
.points li b { color: var(--ink); }
@media (max-width: 820px) { .points { grid-template-columns: minmax(0, 1fr); } }

/* Bloc encre Atelys */
.ink-band { background: var(--ink); color: var(--cream-on-ink); margin-top: 88px; }
.ink-band section { padding-block: 72px 80px; }
.ink-band .sec-head .meta { border-top-color: var(--cream-on-ink); }
.ink-band .shot { border-color: var(--cream-on-ink); }
.ink-band figcaption, .ink-band .duo .txt p, .ink-band .points li { color: rgba(234, 230, 218, .74); }
.ink-band .points li { border-top-color: rgba(234, 230, 218, .2); }
.ink-band .points li b { color: var(--cream-on-ink); }
.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.lists > div { min-width: 0; }
.lists h3 { display: flex; align-items: center; gap: 10px; }
.lists h3::before { content: ""; width: 14px; height: 14px; background: var(--orange); border-bottom-right-radius: 100%; flex: none; }
.lists ul { margin: 12px 0 0; padding: 0; list-style: none; }
.lists li { border-top: 1px solid rgba(234, 230, 218, .2); padding-block: 9px; color: rgba(234, 230, 218, .82); }
@media (max-width: 720px) { .lists { grid-template-columns: minmax(0, 1fr); } }

/* État livré / prévu */
.table-wrap { overflow-x: auto; margin-top: 40px; border-top: 2px solid var(--ink); }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
td:first-child { font-weight: 700; width: 18%; }
td { width: 41%; }
.chip { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .05em; padding: 2px 7px; margin-bottom: 6px; text-transform: uppercase; }
.chip.ok { background: var(--ink); color: var(--paper); }
.chip.next { border: 1px solid var(--ink); }
.chip.dgi { border: 1px solid #C2410C; color: #C2410C; }
.cell-txt { display: block; color: var(--ink-2); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 44px; }
@media (max-width: 820px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact .card { background: var(--ink); color: var(--paper); padding: 28px; display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; }
.contact .card .who b { display: block; font-size: 22px; letter-spacing: -.01em; }
.contact .card .who span { font-size: 14px; opacity: .75; }
.contact .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(234, 230, 218, .22); padding-top: 12px; flex-wrap: wrap; }
.contact .row .v { font-family: var(--mono); font-size: 16px; user-select: all; word-break: break-all; }
.contact .row .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .65; display: block; }
.copy { font: 600 13px var(--display); text-transform: lowercase; background: transparent; color: var(--paper); border: 1px solid rgba(234, 230, 218, .5); padding: 6px 10px; cursor: pointer; }
.copy:hover { background: var(--paper); color: var(--ink); }
.card .corner { position: absolute; right: 0; top: 0; width: 72px; height: 72px; background: var(--violet); border-bottom-left-radius: 100%; }
.card .corner2 { position: absolute; right: 72px; top: 0; width: 36px; height: 36px; background: var(--orange); border-bottom-left-radius: 100%; }
.for { display: grid; gap: 20px; align-content: start; }
.for ul { margin: 0; padding: 0; list-style: none; }
.for li { border-top: 1px solid var(--line); padding-block: 10px; color: var(--ink-2); }
.for li b { color: var(--ink); }

/* Pied */
footer { margin-top: 96px; padding-block: 24px 40px; border-top: 2px solid var(--ink); }
footer .meta { font-weight: 400; }
footer .fine { font-size: 12.5px; color: var(--ink-2); margin-top: 20px; max-width: 90ch; }
footer .logo { width: 84px; margin-bottom: 18px; }

/* ---- v2 : multi-pages, hero plat, scènes au scroll ---- */
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav .cta[aria-current="page"] { background: var(--violet); }
@media (max-width: 560px) { .nav { gap: 2px 12px; font-size: 13px; } }

.ph { font-weight: 800; font-size: clamp(40px, 6.4vw, 92px); line-height: .94; letter-spacing: -.045em; text-transform: lowercase; }

/* Hero plat de l'accueil */
.hero-flat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: center; }
.hero-flat .txt { display: grid; gap: 26px; min-width: 0; }
.hero-flat h1 { font-size: clamp(42px, 6.2vw, 92px); }
.hero-flat .poster-flat { width: 100%; max-width: 520px; justify-self: end; aspect-ratio: 1; height: auto; display: block; }
@media (max-width: 900px) { .hero-flat { grid-template-columns: minmax(0, 1fr); } .hero-flat .poster-flat { justify-self: start; max-width: 440px; } }

/* En-tête de page produit, aplat plein cadre */
.phero { color: var(--paper); padding-block: 28px 0; margin-top: 28px; overflow: hidden; }
.phero.mx { background: var(--violet); }
.phero.at { background: var(--orange); color: var(--ink); }
.phero .meta { padding-top: 10px; border-top: 2px solid currentColor; }
.phero .giant { margin: 26px 0 0; font-family: var(--display); font-weight: 800; letter-spacing: -.06em; line-height: .78; font-size: clamp(96px, 23vw, 320px); text-transform: lowercase; }
.phero .tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 18px; }
.phero .tiles i { display: block; aspect-ratio: 1; }
@media (max-width: 720px) { .phero .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } .phero .tiles i:nth-child(n+7) { display: none; } }
.phero.mx .t1 { background: var(--paper); } .phero.mx .t2 { background: var(--ink); } .phero.mx .t3 { background: var(--orange); }
.phero.at .t1 { background: var(--ink); } .phero.at .t2 { background: var(--paper); } .phero.at .t3 { background: var(--violet); }

/* Scènes three.js pilotées par le scroll */
.gl { position: relative; margin-top: 56px; aspect-ratio: 2.6 / 1; max-width: 100%; overflow: hidden; background: var(--ink); color: var(--paper); }
.gl.paper { background: var(--paper-2); color: var(--ink); }
.gl canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gl.nogl canvas { display: none; }
.gl .cap { position: absolute; z-index: 1; left: 16px; bottom: 14px; right: 16px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; pointer-events: none; }
.gl .cols { position: absolute; z-index: 1; top: 12px; left: 0; right: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.gl .cols span { padding-left: 10px; min-width: 0; }
@media (max-width: 720px) { .gl { aspect-ratio: 1 / 1; } .gl .cols { font-size: 9px; } .gl .cols span { padding-left: 4px; overflow-wrap: anywhere; } .gl .cap { font-size: 10px; } }

/* Lien vers la page suivante */
.next { display: block; margin-top: 96px; text-decoration: none; border-top: 2px solid var(--ink); padding-top: 12px; }
.next .label { color: var(--ink-2); }
.next b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6vw, 80px); letter-spacing: -.045em; line-height: 1; text-transform: lowercase; margin-top: 6px; }
.next:hover b { color: var(--violet); }
.more-link { display: inline-block; margin-top: 18px; font-weight: 700; text-transform: lowercase; border-bottom: 2px solid currentColor; text-decoration: none; }
.ink-band { margin-top: 0; }

.gl .cols em { font-style: normal; }
@media (max-width: 720px) { .gl .cols em { display: none; } }
