/* Polices hébergées sur le site, licence SIL OFL */
@font-face { font-family: 'Chakra Petch'; font-weight: 700; font-display: swap; src: url(/fonts/chakra-petch-700.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-display: swap; src: url(/fonts/instrument-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-display: swap; src: url(/fonts/instrument-sans-600.woff2) format('woff2'); }
@font-face { font-family: 'Share Tech Mono'; font-weight: 400; font-display: swap; src: url(/fonts/share-tech-mono-400.woff2) format('woff2'); }

html { background: #0D0806; scroll-behavior: smooth; }
body { margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Maker Loft, site vitrine : noir chaud 60 %, orange brûlant 30 %, cyan laser 10 %. */
.ml {
  --noir: #0D0806;
  --noir-haut: #2A1206;
  --orange: #FF6A1A;
  --cyan: #3FD8FF;
  --cyan-coeur: #E4FAFF;
  --blanc: #ECE9E3;
  --gris: #B9AA9B;
  --gutter: clamp(16px, 5cqw, 72px);
  container: ml / inline-size;
  position: relative;
  overflow: hidden;
  background: var(--noir);
  color: var(--blanc);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.ml *, .ml *::before, .ml *::after { box-sizing: border-box; }
.ml img { display: block; max-width: none; }
.carte img, .plaque img { height: auto; }
.ml a { color: inherit; text-decoration: none; }
.ml :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* titres en deux mots */
.t { margin: 0; font-family: 'Chakra Petch', 'Arial Narrow', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.96; font-size: clamp(50px, 7.4cqw, 104px); }
.t b { font-weight: 700; color: var(--orange); display: block; }
.t span { color: var(--blanc); display: block; }

/* bouton principal : pilule en contour, flèche */
.pill {
  display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 26px 0 30px;
  border: 1.5px solid var(--cyan); border-radius: 999px; background: rgba(13, 8, 6, 0.42);
  color: var(--blanc); font: 600 17px/1 'Instrument Sans', system-ui, sans-serif; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(228, 250, 255, 0.2), 0 0 18px rgba(63, 216, 255, 0.5), 0 0 60px rgba(63, 216, 255, 0.2);
  transition: background 0.2s, box-shadow 0.2s;
}
.pill:hover { background: rgba(63, 216, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(228, 250, 255, 0.35), 0 0 26px rgba(63, 216, 255, 0.75), 0 0 80px rgba(63, 216, 255, 0.3); }
/* Un seul bouton allumé par page : celui du formulaire garde le contour, sans halo. */
.pill--calme, .pill--calme:hover { box-shadow: inset 0 0 0 1px rgba(228, 250, 255, 0.2); }
.pill svg { width: 20px; height: 20px; color: var(--cyan); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ouverture */
.hero { position: relative; height: var(--hero-h, 100svh); min-height: 620px; overflow: hidden; background: radial-gradient(90% 90% at 32% 60%, var(--noir-haut), var(--noir) 72%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(180deg, transparent, var(--noir)); pointer-events: none; }
.hero__frame { position: absolute; left: 0; top: -9%; height: 109%; aspect-ratio: 1856 / 2304; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 99%); mask-image: linear-gradient(90deg, #000 70%, transparent 99%); }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 44% 48%; animation: approche 16s cubic-bezier(.2, .5, .3, 1) both; }
@keyframes approche { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero__nav { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: 22px; display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.hero__nav a, .hero__nav span { font-family: 'Share Tech Mono', ui-monospace, monospace; font-size: 15px; color: var(--blanc); padding: 12px 0; }
.son { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--blanc); cursor: pointer; }
.son svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.son__on { display: none; color: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); }
.son[aria-pressed="true"] .son__on { display: block; }
.son[aria-pressed="true"] .son__off { display: none; }
.hero__copy { position: absolute; z-index: 2; left: 55%; right: var(--gutter); top: 50%; translate: 0 -50%; }
.logo { margin: 0; font-family: 'Chakra Petch', 'Arial Narrow', sans-serif; font-weight: 700; text-transform: uppercase; line-height: 0.88; letter-spacing: -0.015em; font-size: clamp(90px, 12.2cqw, 186px); }
.logo span { display: block; }
.neon { color: var(--cyan-coeur); text-shadow: 0 0 3px var(--cyan-coeur), 0 0 10px var(--cyan), 0 0 26px var(--cyan), 0 0 70px #3FD8FFcc, 0 0 140px #3FD8FF88; animation: allume 1.5s 0.35s linear both; }
@keyframes allume { 0% { opacity: .12; } 12% { opacity: .9; } 16% { opacity: .2; } 34% { opacity: 1; } 38% { opacity: .35; } 52%, 100% { opacity: 1; } }
.hero__line { margin: 30px 0 34px; max-width: 30em; font-size: clamp(19px, 1.65cqw, 24px); line-height: 1.38; }
.hero__dispo { margin: 20px 0 0; font-size: 16px; color: var(--gris); }

/* carrousel */
.atelier { position: relative; padding: clamp(64px, 8cqw, 112px) 0 clamp(36px, 4cqw, 56px); background: radial-gradient(70% 62% at 50% 62%, rgba(255, 106, 26, 0.3), transparent 72%), linear-gradient(180deg, var(--noir), var(--noir-haut) 60%, var(--noir)); }
.atelier__tete { padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 48px; }
.atelier__tete p { margin: 0 0 8px; max-width: 24em; color: var(--gris); }
.ring { --cw: clamp(248px, 30cqw, 420px); position: relative; height: calc(var(--cw) * 1.68); margin-top: clamp(20px, 3cqw, 40px); perspective: calc(var(--cw) * 4.2); perspective-origin: 50% 42%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.ring:active { cursor: grabbing; }
.ring__wheel { position: absolute; left: 50%; top: 45%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.carte {
  all: unset; box-sizing: border-box; position: absolute; width: var(--cw); left: calc(var(--cw) / -2); top: calc(var(--cw) * -0.66);
  display: flex; flex-direction: column; padding: 10px 10px 16px; border-radius: 26px; cursor: pointer; backface-visibility: hidden;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 46%, rgba(255, 106, 26, 0.16)), rgba(62, 26, 8, 0.72);
  border: 1.5px solid rgba(63, 216, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 30px 70px rgba(0, 0, 0, 0.55);
  -webkit-box-reflect: below 10px linear-gradient(transparent 80%, rgba(255, 255, 255, 0.14));
}
.carte::before { content: ''; position: absolute; inset: -1.5px; border-radius: inherit; pointer-events: none; opacity: var(--lit, 0); border: 2px solid var(--cyan-coeur); box-shadow: 0 0 10px var(--cyan), 0 0 26px var(--cyan), 0 0 64px rgba(63, 216, 255, 0.55), inset 0 0 14px rgba(63, 216, 255, 0.5); }
.carte:focus-visible { outline: 2px solid var(--blanc); outline-offset: 5px; }
.carte img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 0; border-radius: 17px; pointer-events: none; -webkit-user-drag: none; }
.carte__t { margin: 14px 8px 0; font-family: 'Chakra Petch', 'Arial Narrow', sans-serif; font-weight: 700; font-size: calc(var(--cw) * 0.088); line-height: 1; text-transform: uppercase; color: var(--blanc); }
.carte__t b { font-weight: 700; color: var(--orange); }
.carte__l { margin: 7px 8px 0; font-size: 15px; line-height: 1.3; color: #D8CDC1; }
.ring__nav { display: flex; justify-content: center; gap: 14px; }
.rond { display: inline-grid; place-items: center; width: 54px; height: 54px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(236, 233, 227, 0.32); background: rgba(13, 8, 6, 0.5); color: var(--blanc); cursor: pointer; }
.rond:hover { border-color: var(--cyan); }
.rond svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* sections : une plaque de couleur coupée par le bord, avec les couches d'une impression */
.bloc { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 48px; padding: clamp(56px, 7cqw, 104px) 0 clamp(56px, 7cqw, 104px) var(--gutter); }
.bloc--inv { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: clamp(56px, 7cqw, 104px) var(--gutter) clamp(56px, 7cqw, 104px) 0; }
.bloc p { margin: 22px 0 0; max-width: 25em; font-size: clamp(18px, 1.5cqw, 21px); }
.plaque { position: relative; height: clamp(420px, 44cqw, 620px); overflow: hidden; display: flex; justify-content: center; align-items: flex-end; border-radius: 32px 0 0 32px; background: repeating-linear-gradient(0deg, rgba(13, 8, 6, 0.13) 0 1px, transparent 1px 5px), linear-gradient(100deg, #FF6A1A, #E9520B 58%, #B23C07); }
.bloc--inv .plaque { border-radius: 0 32px 32px 0; background: linear-gradient(115deg, var(--noir-haut), #170A05); }
.plaque img { width: min(62%, 400px); aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0; margin-bottom: -44px; border-radius: 26px; border: 1.5px solid rgba(13, 8, 6, 0.75); box-shadow: 0 34px 80px rgba(40, 12, 0, 0.6); }
.bloc--inv .plaque img { position: relative; z-index: 1; border-color: rgba(63, 216, 255, 0.55); box-shadow: 0 34px 80px rgba(0, 0, 0, 0.7); }
.barre { position: absolute; width: 150%; left: -24%; top: 56%; height: 9px; border-radius: 9px; rotate: -34deg; background: #FFD9BF; box-shadow: 0 0 12px var(--orange), 0 0 40px var(--orange), 0 0 110px rgba(255, 106, 26, 0.7); }
.barre--c { top: 76%; left: -8%; height: 5px; background: var(--cyan-coeur); box-shadow: 0 0 10px var(--cyan), 0 0 34px var(--cyan), 0 0 90px rgba(63, 216, 255, 0.6); }

.pret { padding: clamp(40px, 5cqw, 72px) var(--gutter) clamp(56px, 7cqw, 96px); }
.pret__haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 22px 56px; }
.pret__haut p { margin: 0 0 8px; max-width: 24em; font-size: clamp(18px, 1.5cqw, 21px); }
.formats { display: flex; flex-wrap: wrap; gap: 4px clamp(20px, 3.6cqw, 56px); margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--cyan); list-style: none; font-family: 'Chakra Petch', 'Arial Narrow', sans-serif; font-weight: 700; font-size: clamp(36px, 7cqw, 100px); line-height: 1.08; color: transparent; -webkit-text-stroke: 1.5px rgba(236, 233, 227, 0.85); }

.bientot { position: relative; padding: clamp(64px, 8cqw, 112px) var(--gutter); background: radial-gradient(70% 120% at 12% 100%, rgba(255, 106, 26, 0.42), transparent 70%), var(--noir); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.bientot > div > p { margin: 0 0 24px; max-width: 26em; font-size: clamp(18px, 1.5cqw, 21px); }
.avis { display: flex; flex-wrap: wrap; gap: 12px; }
.avis label { display: block; width: 100%; font-size: 15px; color: var(--gris); }
.avis input { flex: 1 1 220px; min-width: 0; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(236, 233, 227, 0.34); background: rgba(13, 8, 6, 0.55); color: var(--blanc); font: 400 17px 'Instrument Sans', system-ui, sans-serif; }
.avis input::placeholder { color: #A3958A; }
.avis__piege { position: absolute; left: -9999px; }
.avis__note { width: 100%; margin: 6px 0 0; font-size: 15px; color: var(--gris); }
.avis__retour { width: 100%; margin: 0; font-size: 17px; }
.avis__retour:empty { display: none; }

.pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 26px var(--gutter) 34px; border-top: 1px solid rgba(236, 233, 227, 0.14); font-size: 15px; color: var(--gris); }
.pied__sig { display: flex; align-items: center; gap: 12px; font-family: 'Share Tech Mono', ui-monospace, monospace; }
.pied__sig img { width: 34px; height: 34px; border-radius: 8px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.pied nav a { display: inline-block; padding: 10px 0; }
.pied a:hover { color: var(--blanc); }

.doc { max-width: 720px; min-height: 100svh; margin: 0 auto; padding: 40px 16px 72px; }
.doc__retour { display: inline-block; margin-bottom: 40px; padding: 10px 0; font-family: 'Share Tech Mono', ui-monospace, monospace; font-size: 15px; }
.doc h2 { margin: 36px 0 8px; font-family: 'Chakra Petch', 'Arial Narrow', sans-serif; font-size: 24px; line-height: 1.15; color: var(--orange); }
.doc p { margin: 0 0 12px; }
.doc a:not(.doc__retour) { color: var(--cyan-coeur); text-decoration: underline; }
.pied__sig a { padding: 10px 0; }

@container ml (max-width: 1000px) {
  .hero::after { display: none; }
  .hero__frame { left: 0; right: 0; top: -9%; height: 82%; width: 100%; aspect-ratio: auto; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hero__img { object-position: 42% 50%; }
  .hero__copy { left: var(--gutter); top: auto; bottom: 36px; translate: none; }
  .logo { font-size: min(23cqw, 136px); }
  .logo span { display: inline; }
  .logo .neon { display: block; }
  .hero__line { margin: 18px 0 24px; }
  .hero__dispo { margin-top: 14px; }
}

@container ml (max-width: 760px) {
  .hero__frame { left: 50%; right: auto; top: -9%; height: 77%; width: auto; aspect-ratio: 1856 / 2304; translate: -45% 0; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hero__nav { top: 10px; }
  .hero__copy { bottom: 26px; }
  .hero__line { margin: 14px 0 20px; font-size: 18px; }
  .hero__dispo { margin-top: 14px; font-size: 15px; }
  .ring { --cw: 74cqw; perspective: calc(var(--cw) * 3.6); }
  .carte__t { font-size: 25px; }
  .bloc, .bloc--inv { grid-template-columns: minmax(0, 1fr); padding: 56px 0; gap: 32px; }
  .bloc > div:not(.plaque), .bientot, .pret { padding-left: var(--gutter); padding-right: var(--gutter); }
  .bloc--inv > div:not(.plaque) { order: -1; }
  .plaque { margin-left: var(--gutter); height: 440px; }
  .plaque img { width: 70%; }
  .bloc--inv .plaque { margin: 0 var(--gutter) 0 0; }
  .bientot { grid-template-columns: minmax(0, 1fr); }
  .formats { font-size: 15cqw; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img, .neon { animation: none; }
}
@media (prefers-contrast: more) {
  .carte { background: #1A0D07; -webkit-box-reflect: unset; }
}
