/* ==========================================================================
   Johanie Domergue — Direction Artistique
   ========================================================================== */

/* Polices hébergées sur le site (SIL Open Font License), sous-ensemble latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/dm-sans.woff2") format("woff2");
}

:root {
  --ink: #0c0506;
  --ink-2: #140708;
  --ink-3: #1d0809;
  --line: rgba(245, 245, 245, 0.16);
  --line-strong: rgba(245, 245, 245, 0.34);
  --cream: #f5f5f5;
  --cream-dim: rgba(245, 245, 245, 0.78);
  --cream-faint: rgba(245, 245, 245, 0.56);
  --acid: #cefb02;
  --bordeaux: #4e0000;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--acid); color: var(--ink); }

:focus-visible { outline: 1px solid var(--acid); outline-offset: 4px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--acid);
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 10vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
}
.display em,
.h2 em,
.h3 em { font-style: italic; font-weight: 300; }

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin: 0;
}

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1;
  margin: 0;
}

.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--cream-dim);
  max-width: 34ch;
  margin: 0;
}

.acid { color: var(--acid); }

/* ---------- Buttons ---------- */

.btn {
  --h: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 28px;
  border: 1px solid var(--cream);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--acid {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}
.btn--acid::before { background: var(--cream); }
.btn--acid:hover { border-color: var(--cream); }

.btn--sm { --h: 44px; padding: 0 20px; font-size: 11px; }

.link-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 6px;
}
.link-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(12, 5, 6, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.logo__mono { height: 52px; width: auto; flex: none; }
.logo__text {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}
.logo__text em { font-style: italic; font-weight: 300; }
.logo__text small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-top: 6px;
}
@media (max-width: 480px) {
  .logo__mono { height: 44px; }
  .logo__text { font-size: 21px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.nav a:not(.btn) {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  transition: color 0.3s;
}
.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current="page"] { color: var(--cream); }
.nav a:not(.btn)[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--acid);
  transform: translateX(-50%);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a:not(.btn) {
    font-family: var(--serif);
    font-size: 44px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--cream);
  }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { font-style: italic; }
}

/* ---------- Page hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(90% 75% at 88% 0%, rgba(78, 0, 0, 0.95) 0%, rgba(78, 0, 0, 0) 70%),
    linear-gradient(180deg, #170405 0%, var(--ink) 100%);
}
.hero__glow { display: none; }
.hero .wrap { position: relative; }
.hero__top { margin-bottom: clamp(32px, 6vw, 72px); }
.hero__top h1 { margin: 0; }
.hero__intro { max-width: 62ch; }
.hero__intro p {
  margin: 0 0 14px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: var(--cream-dim);
}
.hero__intro p:first-child { color: var(--cream); }
.hero__intro p:last-child { margin-bottom: 0; }
.hero__intro em { font-style: italic; }
.hero__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 88px);
}
/* Square photo on the right, spanning from the eyebrow to the bottom of the title */
.hero__photo {
  margin: 0 clamp(0px, 5vw, 100px) 0 0;
  flex: 0 0 auto;
  width: clamp(240px, 28vw, 440px);
  aspect-ratio: 1;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.3s var(--ease) 0.2s, transform 1.3s var(--ease) 0.2s;
}
.is-loaded .hero__photo { opacity: 1; transform: none; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__meta {
  display: flex;
  gap: clamp(24px, 4vw, 64px);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.hero__meta > div { text-align: center; }
.hero__meta b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
  margin-bottom: 4px;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.scroll-cue i {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(var(--cream), transparent);
  animation: drip 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 720px) {
  .hero__title { flex-direction: column-reverse; align-items: flex-start; }
  .hero__photo { width: min(70%, 300px); margin: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__meta { flex-wrap: wrap; }
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 48px);
  white-space: nowrap;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee span::after {
  content: "✦";
  font-style: normal;
  font-size: 0.4em;
  color: var(--acid);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: clamp(96px, 14vw, 200px) 0; position: relative; }
.section--tight { padding: clamp(72px, 10vw, 140px) 0; }
.section--light { background: var(--cream); color: var(--ink); }
.section--light .eyebrow { color: rgba(12, 5, 6, 0.6); }
.section--light .eyebrow::before { background: var(--ink); }
.section--light .lead { color: rgba(12, 5, 6, 0.68); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 112px);
}
.section-head .eyebrow { margin-bottom: 28px; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Disciplines (accordion) ---------- */

.disciplines {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.disciplines__intro { position: sticky; top: 120px; }
.disciplines__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  margin: 24px 0 20px;
}
.disciplines__title em { font-style: italic; }
.disciplines__lead {
  margin: 0 0 28px;
  color: var(--cream-dim);
  max-width: 38ch;
}
.disciplines__hint {
  display: inline-flex;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  color: var(--acid);
}

.disciplines__list { display: flex; flex-direction: column; gap: 12px; }

.disc {
  border: 1px solid var(--line-strong);
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.disc:hover { border-color: var(--cream-faint); }
.disc.is-open { background: linear-gradient(135deg, rgba(78, 0, 0, 0.55) 0%, rgba(78, 0, 0, 0.15) 100%); border-color: var(--acid); }

.disc__head {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.disc__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--cream-faint);
  transition: color 0.3s;
}
.disc.is-open .disc__num { color: var(--acid); }
.disc__titles { min-width: 0; }
.disc__title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
}
.disc__tags {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.disc__icon {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  color: var(--cream);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.disc__icon::before,
.disc__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.disc__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.disc__head:hover .disc__icon { border-color: var(--cream); }
.disc.is-open .disc__icon { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.disc.is-open .disc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.disc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.disc.is-open .disc__body { grid-template-rows: 1fr; }
.disc__inner { overflow: hidden; }
.disc__content { padding: 0 24px 28px 80px; }
.disc__text {
  margin: 0 0 24px;
  color: var(--cream-dim);
  font-size: 15px;
  line-height: 1.65;
  max-width: 54ch;
}
.disc__label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.disc__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  font-size: 14px;
}
.disc__list li { display: flex; gap: 10px; align-items: baseline; }
.disc__list li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acid);
  transform: translateY(-2px);
}
.disc__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.disc__cta:hover { background: var(--cream); }

@media (max-width: 960px) {
  .disciplines { grid-template-columns: 1fr; }
  .disciplines__intro { position: static; }
}
@media (max-width: 560px) {
  .disc__head { grid-template-columns: 1fr 40px; padding: 18px; }
  .disc__num { display: none; }
  .disc__content { padding: 0 18px 24px; }
  .disc__list { grid-template-columns: 1fr; }
}

/* ---------- Manifesto ---------- */

.manifesto {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin: 0;
}
.manifesto em { font-style: italic; }
.manifesto .mark {
  background: linear-gradient(transparent 62%, var(--acid) 62%, var(--acid) 92%, transparent 92%);
  padding: 0 4px;
}
.manifesto-sign {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.manifesto-sign::before {
  content: "";
  width: 48px; height: 1px;
  background: currentColor;
}

/* ---------- Vision + portrait ---------- */

.vision {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.vision .manifesto { margin-top: 40px; }
.portrait {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ebebeb;
}
.portrait img:not(.portrait__mono) { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.portrait__empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px dashed rgba(12, 5, 6, 0.25);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.8;
  color: rgba(12, 5, 6, 0.45);
}
.portrait__mono { width: 72px; height: auto; opacity: 0.35; }
@media (max-width: 880px) {
  .vision { grid-template-columns: 1fr; }
  .portrait { max-width: 480px; }
}

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.step {
  padding: 40px 32px 48px 0;
  position: relative;
}
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--acid);
  display: block;
  margin-bottom: 64px;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  margin: 0 0 16px;
}
.step p { margin: 0; color: var(--cream-dim); font-size: 15px; }

@media (max-width: 980px) {
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 32px 0 40px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step__n { margin-bottom: 24px; }
}

/* ---------- Free audit ---------- */

.audit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  padding: clamp(16px, 1.8vw, 22px) clamp(20px, 2.4vw, 32px);
  margin-bottom: clamp(24px, 3vw, 40px);
  background: linear-gradient(120deg, var(--bordeaux) 0%, var(--ink) 70%);
  color: var(--cream);
}
.audit__badge {
  width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--acid);
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.audit__badge b {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--acid);
}
.audit__kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acid);
}
.audit h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  margin: 4px 0 4px;
}
.audit h3 em { font-style: italic; }
.audit p { margin: 0; max-width: 64ch; font-size: 14px; color: var(--cream-dim); }
@media (max-width: 880px) {
  .audit { grid-template-columns: 1fr; justify-items: start; }
}

/* ---------- Offers ---------- */

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(12, 5, 6, 0.14);
  border: 1px solid rgba(12, 5, 6, 0.14);
}
.offer {
  background: var(--cream);
  padding: clamp(32px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  min-height: 560px;
  position: relative;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.offer:hover { background: linear-gradient(160deg, var(--bordeaux) 0%, var(--ink) 100%); color: var(--cream); }
.offer__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 72px;
}
.offer h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 4.4vw, 68px);
  line-height: 0.95;
  margin: 0 0 20px;
}
.offer h3 em { font-style: italic; }
.offer > p { margin: 0 0 32px; opacity: 0.72; max-width: 30ch; }
.offer ul {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  font-size: 15px;
}
.offer li {
  padding: 10px 0 10px 22px;
  border-top: 1px solid currentColor;
  border-top-color: rgba(127, 127, 127, 0.25);
  position: relative;
}
.offer li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 1px;
  background: currentColor;
}
.offer__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.offer__price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
}
.offer__go {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.offer:hover .offer__go {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
  transform: rotate(-45deg);
}
.offer--featured::before {
  content: "Le plus demandé";
  position: absolute;
  top: -1px; right: clamp(32px, 3.4vw, 52px);
  background: var(--acid);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 12px;
}

@media (max-width: 980px) {
  .offers { grid-template-columns: 1fr; }
  .offer { min-height: 0; }
  .offer__top { margin-bottom: 40px; }
}

/* ---------- Works (galerie) ---------- */

/* Each work hangs at its own format, framed by a cream passe-partout, with a cartel below */
.works {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2vw, 28px);
  row-gap: clamp(72px, 9vw, 140px);
  align-items: center;
}
.work { display: block; position: relative; cursor: pointer; }
.work:focus-visible { outline: 1px solid var(--acid); outline-offset: 6px; }
.work:nth-child(1) { grid-column: 1 / span 5; }
.work:nth-child(2) { grid-column: 7 / span 6; }
.work:nth-child(3) { grid-column: 2 / span 4; }
.work:nth-child(4) { grid-column: 7 / span 6; }

.work__media {
  position: relative;
  overflow: hidden;
  padding: clamp(12px, 1.6vw, 24px);
  background: var(--cream);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.work__art {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
  filter: saturate(0.9);
}
.work:hover .work__art { transform: scale(1.03); filter: saturate(1.05); }
.work__view {
  position: absolute;
  right: clamp(24px, 2.6vw, 40px); bottom: clamp(24px, 2.6vw, 40px);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
  transform: scale(0);
  transition: transform 0.6s var(--ease);
}
.work:hover .work__view,
.work:focus-visible .work__view { transform: scale(1); }
.work__info {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  padding-top: 24px;
}
.work__n {
  grid-row: span 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--acid);
  padding-top: 6px;
}
.work__info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.05;
  margin: 0;
}
.work__info h3 em { font-style: italic; font-weight: 300; color: var(--cream-dim); }
.work__label {
  margin: 8px 0 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

@media (max-width: 880px) {
  .works { grid-template-columns: 1fr; row-gap: 64px; }
  .work:nth-child(n) { grid-column: auto; }
  .work__view { transform: scale(1); width: 76px; height: 76px; }
}

/* ---------- Project view (fiche projet) ---------- */

.project-view {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.project-view[hidden] { display: none; }
.project-view.is-open { opacity: 1; }
.project-view__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gutter);
  background: rgba(12, 5, 6, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.project-view__count { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--acid); }
.project-view__close {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  transition: background 0.3s, color 0.3s;
}
.project-view__close:hover { background: var(--cream); color: var(--ink); }

.project { scroll-margin-top: 80px; }
.project__head {
  padding-top: clamp(56px, 8vw, 120px);
  padding-bottom: clamp(40px, 5vw, 72px);
  background: radial-gradient(70% 100% at 90% 0%, rgba(78, 0, 0, 0.7) 0%, rgba(78, 0, 0, 0) 70%);
}
.project__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 28px 0 24px;
}
.project__title em { font-style: italic; }
.project__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--cream-dim);
  margin: 0;
}
.project__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(32px, 6vw, 112px);
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.project__facts { margin: 0; }
.project__facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.project__facts dt {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 6px;
}
.project__facts dd { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.project__text { max-width: 68ch; color: var(--cream-dim); }
.project__text p { margin: 0 0 18px; }
.project__intro { font-size: clamp(18px, 1.6vw, 22px); color: var(--cream); }
.project__text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  color: var(--cream);
  margin: 40px 0 14px;
}
.project__text ul { list-style: none; margin: 0 0 18px; padding: 0; }
.project__text li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--line); }
.project__text li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 10px; height: 1px;
  background: var(--acid);
}
.project__text b { color: var(--cream); font-weight: 500; }

/* Masonry-style gallery */
.project__gallery {
  columns: 2;
  column-gap: clamp(16px, 2vw, 28px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.project__gallery figure {
  margin: 0 0 clamp(16px, 2vw, 28px);
  break-inside: avoid;
}
.project__gallery img,
.project__gallery video { display: block; width: 100%; height: auto; background: var(--ink-3); }
.project__gallery figcaption {
  padding-top: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.project__logo img { padding: 18%; background: var(--ink-3); }
.project__gallery--spreads { columns: 1; }
.project__gallery--spreads img { border: 1px solid var(--line); }

.project-view__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 48px;
  padding-bottom: 72px;
  border-top: 1px solid var(--line);
}
.project-view__next {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 20px;
  align-items: center;
}
.project-view__next small {
  grid-column: 1 / -1;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 8px;
}
.project-view__next-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
}
.project-view__next .arrow { font-size: 28px; transition: transform 0.5s var(--ease), color 0.3s; }
.project-view__next:hover .arrow { transform: translateX(8px); color: var(--acid); }

@media (max-width: 880px) {
  .project__body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .project__gallery { columns: 1; }
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  padding: clamp(120px, 18vw, 260px) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 0%, #260203 55%, var(--bordeaux) 100%);
}
.cta > * { position: relative; }
.cta .display { margin: 28px 0 40px; }
.cta .lead { margin: 0 auto 56px; text-align: center; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  padding: 72px 0 32px;
  font-size: 14px;
  color: var(--cream-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 96px;
}
.footer-grid h2 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin: 0 0 20px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--cream); }
.footer-mono img { height: 84px; width: auto; }
.footer-brand p { max-width: 40ch; margin: 20px 0 0; }
.footer-brand strong,
.footer-brandline strong { font-weight: 500; color: var(--cream); }
.footer-brand a:hover,
.footer-brandline a:hover { color: var(--cream); }
.footer-zone {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.footer-brand .footer-zone { margin-top: 16px; max-width: none; }
.footer-brandline { margin-bottom: 32px; }
.footer-brandline p { margin: 0; max-width: 90ch; }
.footer-brandline .footer-zone { margin-top: 10px; }
.site-footer--glow {
  border-top: 0;
  background: linear-gradient(180deg, var(--bordeaux) 0%, #1c0304 55%, var(--ink) 100%);
}
.footer-word {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 13.4vw, 230px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--cream);
  white-space: nowrap;
  margin: 0 0 clamp(56px, 7vw, 96px);
}
.footer-word em { font-style: italic; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-faint);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

.line-mask { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.08em; }
.line-mask > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.3s var(--ease);
}
.is-loaded .line-mask > span { transform: none; }
.line-mask:nth-child(2) > span { transition-delay: 0.08s; }
.line-mask:nth-child(3) > span { transition-delay: 0.16s; }

/* ==========================================================================
   Page Devis
   ========================================================================== */

.quote-hero {
  padding: 180px 0 72px;
  background:
    radial-gradient(80% 90% at 90% 0%, rgba(78, 0, 0, 0.9) 0%, rgba(78, 0, 0, 0) 70%),
    linear-gradient(180deg, #170405 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--line);
}
.quote-hero .display { font-size: clamp(52px, 8.4vw, 136px); margin-top: 28px; }
.lead__audit {
  display: flex;
  width: fit-content;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--acid);
  font-size: 15px;
  color: var(--acid);
  transition: gap 0.4s var(--ease);
}
.lead__audit:hover { gap: 16px; }
.quote-hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 112px);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(96px, 12vw, 160px);
  align-items: start;
}
@media (max-width: 1020px) {
  .quote-layout { grid-template-columns: 1fr; }
}

/* Form */

.qform fieldset {
  border: 0;
  margin: 0 0 clamp(56px, 6vw, 80px);
  padding: 0;
  min-width: 0;
}
.qform legend {
  display: flex;
  align-items: baseline;
  gap: 20px;
  width: 100%;
  padding: 0 0 20px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
}
.qform legend span {
  font-style: italic;
  font-size: 17px;
  color: var(--acid);
  min-width: 28px;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 32px;
}
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .fields { grid-template-columns: 1fr; }
}

.field { position: relative; }
.field label,
.field .label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 10px;
}
.field label .req { color: var(--acid); }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0 14px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.4;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(245, 245, 245, 0.22); font-style: italic; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--acid); }
.field select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(135deg, var(--cream) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field select option { background: var(--ink-2); color: var(--cream); font-family: var(--sans); font-size: 16px; }
.field.has-error input,
.field.has-error textarea { border-bottom-color: #ffb4a6; }
.field .err {
  display: none;
  font-size: 12px;
  color: #ffc9c0;
  margin-top: 8px;
}
.field.has-error .err { display: block; }

.hint { font-size: 13px; color: var(--cream-faint); margin: -16px 0 24px; }

/* Selectable cards (services) */

.choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 640px) { .choices { grid-template-columns: 1fr; } }

.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice__box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s;
  height: 100%;
}
.choice__n {
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream-faint);
  font-size: 17px;
  line-height: 1.6;
}
.choice__t {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
  display: block;
  margin-bottom: 6px;
}
.choice__d { font-size: 13px; color: var(--cream-faint); display: block; line-height: 1.5; }
.choice__check {
  width: 22px; height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  margin-top: 4px;
  display: grid;
  place-items: center;
  transition: background 0.3s, border-color 0.3s;
}
.choice__check::after {
  content: "";
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.choice:hover .choice__box { border-color: var(--line-strong); }
.choice input:checked + .choice__box {
  border-color: var(--acid);
  background: rgba(206, 251, 2, 0.04);
}
.choice input:checked + .choice__box .choice__n { color: var(--acid); }
.choice input:checked + .choice__box .choice__check {
  background: var(--acid);
  border-color: var(--acid);
}
.choice input:checked + .choice__box .choice__check::after { opacity: 1; }
.choice input:focus-visible + .choice__box { outline: 1px solid var(--acid); outline-offset: 3px; }

/* Pills (budget / deadline) */

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--cream-dim);
  transition: all 0.3s var(--ease);
}
.pill:hover span { border-color: var(--cream); color: var(--cream); }
.pill input:checked + span {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.pill input:focus-visible + span { outline: 1px solid var(--acid); outline-offset: 3px; }

.group-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin: 0 0 16px;
}
.group + .group { margin-top: 40px; }

.consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--cream-faint);
  margin-bottom: 40px;
  cursor: pointer;
}
.consent input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 18px; height: 18px;
  border: 1px solid var(--line-strong);
  margin: 2px 0 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.consent input:checked { background: var(--acid); border-color: var(--acid); }
.consent input:checked::after {
  content: "";
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg) translate(1px, -1px);
}
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent.has-error input { border-color: #ffb4a6; }

.submit-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.submit-row small { color: var(--cream-faint); font-size: 13px; }

.form-success {
  display: none;
  border: 1px solid var(--acid);
  padding: clamp(32px, 5vw, 64px);
}
.form-success.is-visible { display: block; }
.form-success h2 { margin: 20px 0 16px; }
.form-success p { color: var(--cream-dim); margin: 0 0 28px; max-width: 46ch; }

/* Contact aside (right column) */

.aside {
  position: sticky;
  top: 116px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 1020px) { .aside { position: static; } }

.card {
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 40px);
  background: var(--ink-2);
}
.card--portrait {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  align-items: center;
}
.avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #f5f5f5 0 18%, rgba(245,245,245,0) 19%),
    radial-gradient(ellipse 40% 34% at 50% 92%, #f5f5f5 0 98%, rgba(245,245,245,0) 100%),
    linear-gradient(160deg, #7a0d0d, #2a0000);
  border: 1px solid var(--line-strong);
  position: relative;
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar::after {
  content: "";
  position: absolute;
  right: 2px; bottom: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--acid);
  border: 3px solid var(--ink-2);
}
.card--portrait h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 4px;
}
.card--portrait p { margin: 0; font-size: 13px; color: var(--cream-faint); }
.status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.status i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(206, 251, 2, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(206, 251, 2, 0); }
  100% { box-shadow: 0 0 0 0 rgba(206, 251, 2, 0); }
}

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list a,
.contact-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
  padding: 18px 0;
}
.contact-list small {
  grid-column: 1 / -1;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.contact-list strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  overflow-wrap: anywhere;
}
.contact-list .go {
  font-size: 18px;
  transition: transform 0.4s var(--ease), color 0.3s;
}
.contact-list a:hover .go { transform: translate(3px, -3px); color: var(--acid); }
.card h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin: 0 0 20px;
}

.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.timeline li {
  position: relative;
  padding: 0 0 22px 40px;
  counter-increment: t;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(t, decimal-leading-zero);
  position: absolute;
  left: 0; top: 2px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--acid);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 9px; top: 28px; bottom: 4px;
  width: 1px;
  background: var(--line);
}
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-weight: 500; font-size: 15px; margin-bottom: 2px; }
.timeline span { font-size: 13px; color: var(--cream-faint); }

/* Live recap */

.recap { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.recap h4 { color: rgba(12, 5, 6, 0.55); }
.recap dl { margin: 0; }
.recap dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(12, 5, 6, 0.12);
  font-size: 14px;
}
.recap dt { color: rgba(12, 5, 6, 0.55); }
.recap dd { margin: 0; text-align: right; font-weight: 500; }
.recap dd.empty { font-weight: 400; color: rgba(12, 5, 6, 0.35); font-style: italic; }
.recap .meter {
  margin-top: 20px;
  height: 3px;
  background: rgba(12, 5, 6, 0.1);
  overflow: hidden;
}
.recap .meter i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 0.6s var(--ease);
}
.recap .meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(12, 5, 6, 0.55);
  margin-top: 10px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .line-mask > span { transform: none; }
  .hero__photo { opacity: 1; transform: none; }
}

/* ==========================================================================
   Pages légales
   ========================================================================== */

.legal-hero { padding-bottom: clamp(48px, 6vw, 72px); }
.legal {
  max-width: 820px;
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(96px, 12vw, 160px);
  color: var(--cream-dim);
}
.legal__updated {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin: 0 0 32px;
}
.legal__intro { font-size: clamp(18px, 1.6vw, 21px); color: var(--cream); margin: 0 0 16px; }
.legal section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.05;
  color: var(--cream);
  margin: 0 0 20px;
}
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--acid); }
.legal strong, .legal b { color: var(--cream); font-weight: 500; }
.legal a { color: var(--cream); border-bottom: 1px solid var(--acid); }
.legal a:hover { color: var(--acid); }
.legal__table { overflow-x: auto; margin: 0 0 16px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.legal th {
  text-align: left;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-faint);
  padding: 0 16px 12px 0;
}
.legal td { padding: 14px 16px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.legal td:first-child { color: var(--cream); width: 45%; }
/* Information still to be filled in before going live */
.todo { background: var(--acid); color: var(--ink); padding: 0 6px; }

/* ---------- 404 ---------- */

.notfound__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 40px 0 0; }
