/* Cadran — design tokens & composants Petrolicious-style (light only) */
/* --- text animations (mask-reveal-up / short-slide-right) --- */
.mru-line {
  display: block;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  transform-origin: 50% 55%;
}

@font-face {
  font-family: "Komplekt";
  src: url("/assets/fonts/komplekt-050-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Biro Script Plus";
  src: url("/assets/fonts/biro-script-plus.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Komplekt", "Instrument Serif", "Times New Roman", serif;
  --font-annotation: "Biro Script Plus", "Brush Script MT", cursive;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bg: #FAFAFA;
  --bg-soft: #FAFAFA;
  --bg-deep: #0F0D0C;
  --surface: #FAFAFA;
  --ink: #0F0D0C;
  --ink-soft: #3C3833;
  --ink-muted: #8A8178;
  --line: #E8E2D6;
  --line-soft: #EEE9DE;
  --accent: #C45A3C;
  --accent-ink: #9B4229;
  --gold: #9A7B3A;
  --hero-bg:    #FAFAFA;
  --annotation: #FF0000;
  --maxw: 1360px;
  --maxw-copy: 820px;
  --radius-ui: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #FAFAFA !important;
  color: #0F0D0C !important;
}
body {
  background: #FAFAFA !important;
  color: #0F0D0C !important;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--accent-ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-copy { max-width: var(--maxw-copy); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap, .wrap-copy { padding: 0 20px; } }

/* Typography */
.serif { font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; }
.mono { font-family: var(--font-mono); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.03;
  margin: 0;
}
h1 { font-size: clamp(48px, 8vw, 104px); }
h2 { font-size: clamp(36px, 5.2vw, 72px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }

p { margin: 0 0 1em; color: var(--ink-soft); }
p.lede { font-size: 19px; color: var(--ink); line-height: 1.5; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.on-dark { color: #E8D9B8; }

/* ───── Nav centrée Petrolicious ───── */
.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 28px;
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
}
.site-nav--transparent {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: none;
  z-index: 5;
}
.site-nav.on-hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  z-index: 5;
}
.site-nav .nav-left, .site-nav .nav-right {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav .nav-right { justify-content: flex-end; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--accent-ink); }
.site-nav .brand-mark {
  font-family: "Instrument Serif", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

/* Domaine en tête (ex. page d'accueil) — un seul libellé cadran.club */
.site-nav .brand-mark--domain {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}
.site-nav.on-hero .nav-left a,
.site-nav.on-hero .nav-right a,
.site-nav.on-hero .brand-mark { color: #FFFFFF; }
.site-nav.on-hero .nav-left a:hover,
.site-nav.on-hero .nav-right a:hover { color: #F4D8A8; }

@media (max-width: 720px) {
  .site-nav { grid-template-columns: auto 1fr; padding: 16px 20px; }
  .site-nav .nav-left { display: none; }
  .site-nav .brand-mark { font-size: 20px; justify-self: start; }
  .site-nav .nav-right { font-size: 11px; gap: 16px; }
}

/* ───── Hero full-bleed ───── */
.hero-full {
  position: relative;
  height: 92vh;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
  background: #0F0D0C;
}
.hero-full.shorter { height: 72vh; min-height: 480px; }
.hero-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,13,12,0.55) 0%, rgba(15,13,12,0.25) 40%, rgba(15,13,12,0.75) 100%);
  z-index: 2;
}
.hero-overlay {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 28px 80px;
  color: #FFFFFF;
}
.hero-overlay h1 {
  color: #FFFFFF;
  max-width: 22ch;
  margin-top: 18px;
  text-shadow: 0 1px 30px rgba(0,0,0,0.4);
}
.hero-overlay .sub {
  color: rgba(255,255,255,0.88);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 56ch;
  margin-top: 22px;
  line-height: 1.5;
}
.hero-overlay .cta-row { margin-top: 34px; }
.hero-overlay.align-left {
  align-items: flex-start;
  text-align: left;
}
.hero-overlay.align-left h1 { margin-left: 0; }

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #FFFFFF;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  font-family: inherit;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #FFFFFF; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.btn-on-dark {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}
.btn-on-dark:hover { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; justify-content: center; }
.cta-row.align-left { justify-content: flex-start; }

/* ───── Section heads Petrolicious ───── */
.section {
  padding: 96px 0 40px;
}
.section.tight { padding: 72px 0 32px; }
.section.soft-bg { background: var(--bg-soft); padding-bottom: 96px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head .label {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.section-head .chevrons {
  display: flex;
  gap: 14px;
  color: var(--ink-muted);
}
.section-head .chevrons svg { width: 28px; height: 28px; }
.section-head .chevrons .ch {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color .15s ease, color .15s ease;
}
.section-head .chevrons .ch:hover { border-color: var(--ink); color: var(--ink); }

/* Intro after section head */
.section-intro {
  max-width: 64ch;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 48px;
}

/* ───── Grilles ───── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1040px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ───── Cartes portrait 3:4 (style Petrolicious) ───── */
.card-portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1A1715;
  text-decoration: none;
  display: block;
  color: #FFFFFF;
  isolation: isolate;
}
.card-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.card-portrait:hover img { transform: scale(1.04); }
.card-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.75) 100%);
}
.card-portrait .overlay-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.card-portrait .overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 22px 24px 24px;
}
.card-portrait .title {
  font-family: "Instrument Serif", serif;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.04;
  color: #FFFFFF;
  margin: 0;
  text-shadow: 0 1px 20px rgba(0,0,0,0.4);
}
.card-portrait .years {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  margin-top: 8px;
}
.card-portrait .caption {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
  line-height: 1.45;
}
.card-portrait.soon img { filter: grayscale(1) brightness(0.6); }
.card-portrait.soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,13,12,0.25);
  z-index: 2;
}
.card-portrait.soon .overlay-top .tag { color: var(--accent); }

/* ───── Full-bleed block ───── */
.full-bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 72vh;
  overflow: hidden;
  background: #0F0D0C;
  display: grid;
  place-items: center;
  color: #FFFFFF;
}
.full-bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.full-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,13,12,0.5), rgba(15,13,12,0.72));
  z-index: 2;
}
.full-bleed .inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 80px 28px;
  max-width: 820px;
}
.full-bleed h2, .full-bleed h3 { color: #FFFFFF; margin-bottom: 18px; text-shadow: 0 1px 20px rgba(0,0,0,0.4); }
.full-bleed .quote {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.18;
  color: #FFFFFF;
  max-width: 24ch;
  margin: 0 auto;
}
.full-bleed .attrib {
  display: block;
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-family: "DM Sans", sans-serif;
  font-style: normal;
}

/* ───── Newsletter inline (dans full-bleed) ───── */
.newsletter-inline {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 26px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-inline input[type="email"] {
  flex: 1 1 280px;
  padding: 15px 18px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 0;
  background: rgba(255,255,255,0.06);
  color: #FFFFFF;
  outline: none;
  backdrop-filter: blur(6px);
}
.newsletter-inline input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-inline input[type="email"]:focus { border-color: #FFFFFF; background: rgba(255,255,255,0.12); }
.newsletter-inline button { flex: 0 0 auto; }
.newsletter-note {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 14px;
  text-align: center;
}


/* ───── Landing simplifiée : baseline + newsletter + bio ───── */
.landing-below {
  background: #FAFAFA;
  padding: clamp(64px, 7vw, 96px) 28px clamp(72px, 8vw, 110px);
}

.landing-baseline {
  max-width: 760px;
  margin: 0 auto clamp(42px, 5vw, 64px);
  text-align: center;
}
.landing-baseline p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--ink-soft);
  line-height: 1.6;
}

.landing-newsletter {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

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

.landing-newsletter h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.45vw, 64px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.03;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: balance;
}

.landing-newsletter__intro {
  margin: 0 auto !important;
  max-width: 640px;
  color: var(--ink-muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  text-wrap: pretty;
}

.landing-newsletter__note {
  margin-top: 14px !important;
  font-size: 13px !important;
  color: var(--ink-muted) !important;
}


.landing-bio {
  padding: clamp(36px, 4vw, 52px) 28px clamp(40px, 4.5vw, 56px);
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.landing-bio p {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.landing-bio__sign {
  margin: 1.15em auto 0;
  max-width: 52ch;
  text-align: right;
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.landing-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 56px 40px;
  border-top: 1px solid var(--line-soft);
  background: #FAFAFA;
  font-family: var(--font-body);
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.4;
}

.landing-footer__nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.landing-footer__nav a {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
}
.landing-footer__nav a:hover { color: var(--ink); }

.landing-footer span:last-child {
  font-family: inherit;
  font-style: normal;
  font-size: inherit;
  color: var(--ink-muted);
}

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(3px);
  transition:
    opacity 460ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 460ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Kit form — override to match simplified light landing */
.formkit-form[data-uid="2620b9a73a"] {
  max-width: 540px !important;
  margin: 32px auto 0 !important;
  background: transparent !important;
}
.formkit-form[data-uid="2620b9a73a"] [data-style="clean"] {
  padding: 0 !important;
}
.formkit-form[data-uid="2620b9a73a"] .formkit-fields {
  display: flex !important;
  align-items: stretch !important;
  gap: 0;
  padding: 7px !important;
  background: #FFFFFF !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-ui) !important;
  overflow: hidden !important;
  box-shadow: 0 12px 30px rgba(15,13,12,0.05) !important;
  transition: border-color 160ms ease, box-shadow 160ms ease !important;
}
.formkit-form[data-uid="2620b9a73a"] .formkit-fields:focus-within {
  border-color: rgba(15, 13, 12, 0.34) !important;
  box-shadow: 0 16px 34px rgba(15,13,12,0.08) !important;
}
.formkit-form[data-uid="2620b9a73a"] .formkit-field {
  display: flex !important;
  align-items: stretch !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
}
.formkit-form[data-uid="2620b9a73a"] .formkit-input {
  width: 100% !important;
  height: 100% !important;
  min-height: 56px !important;
  background: #FFFFFF !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  padding: 15px 18px !important;
  box-shadow: none !important;
}
.formkit-form[data-uid="2620b9a73a"] .formkit-input::placeholder {
  color: #A7A098 !important;
  opacity: 1 !important;
}
.formkit-form[data-uid="2620b9a73a"] .formkit-input:focus {
  background: #FFFFFF !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.formkit-form[data-uid="2620b9a73a"] .formkit-submit {
  background: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  min-height: 56px !important;
  appearance: none !important;
  box-shadow: none !important;
  transition: background-color 160ms ease, border-color 160ms ease !important;
}
.formkit-form[data-uid="2620b9a73a"] .formkit-submit > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FFFFFF !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  min-height: 54px !important;
  padding: 0 28px !important;
  background: transparent !important;
}
@media (hover: hover) and (pointer: fine) {
  .formkit-form[data-uid="2620b9a73a"] .formkit-submit:hover {
    background-color: #2B2723 !important;
    border-color: #2B2723 !important;
  }
}
.formkit-form[data-uid="2620b9a73a"] .formkit-submit:focus-visible {
  outline: 2px solid rgba(15, 13, 12, 0.42) !important;
  outline-offset: 3px !important;
}
.formkit-form[data-uid="2620b9a73a"] .formkit-alert-success {
  background: transparent !important;
  border: 0 !important;
  color: var(--ink) !important;
  margin: 14px 0 0 !important;
}

@media (max-width: 760px) {
  .landing-footer {
    padding: 28px;
  }
}

@media (max-width: 820px) {
  .landing-below {
    padding-top: 64px;
  }
  .formkit-form[data-uid="2620b9a73a"] .formkit-fields {
    flex-direction: column !important;
    gap: 10px;
  }
  .formkit-form[data-uid="2620b9a73a"] .formkit-submit {
    width: 100% !important;
    min-height: 56px !important;
    flex: 0 0 56px !important;
  }
  .formkit-form[data-uid="2620b9a73a"] .formkit-submit > span {
    width: 100% !important;
    min-height: 56px !important;
  }
  .landing-footer {
    flex-direction: column;
  }
}

/* ───── Méthodologie — steps + rules ───── */
.step { display: grid; grid-template-columns: 80px 1fr; gap: 32px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 1px solid var(--line); }
.step-num {
  font-family: "Instrument Serif", serif;
  font-size: 72px;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.step h3 { margin-bottom: 14px; font-size: clamp(26px, 2.8vw, 36px); }
.step p { font-size: 16px; margin-bottom: 0; line-height: 1.6; color: var(--ink-soft); }
.step p b, .step p strong { color: var(--ink); font-weight: 600; }
.step ul { margin: 14px 0 0; padding-left: 20px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.step ul li { margin-bottom: 6px; }
.step ul b, .step ul strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .step-num { font-size: 56px; }
}

.rules {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 36px 40px;
}
.rules dl {
  margin: 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px 40px;
}
@media (max-width: 720px) { .rules dl { grid-template-columns: 1fr; gap: 6px 0; } .rules { padding: 24px; } }
.rules dt {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: -0.01em;
  padding-top: 2px;
}
.rules dd {
  margin: 0 0 14px 0;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.rules dd b, .rules dd strong { color: var(--ink); font-weight: 600; }

/* ───── Stats ───── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 8px;
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { background: #FFFFFF; padding: 26px 22px; }
.stat .n {
  font-family: "Instrument Serif", serif;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--ink);
  line-height: 1;
}
.stat .l {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ───── Bullet list (rapport page) ───── */
.bullet-list { list-style: none; padding: 0; margin: 0; }
.bullet-list li {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}
.bullet-list li:last-child { border-bottom: 1px solid var(--line); }
.bullet-list .i {
  font-family: "Instrument Serif", serif;
  font-size: 56px;
  color: var(--accent);
  line-height: 0.9;
}
.bullet-list .body b { color: var(--ink); font-weight: 600; font-size: 20px; display: block; margin-bottom: 8px; font-family: "Instrument Serif", serif; font-weight: 400; font-size: 26px; letter-spacing: -0.01em; }
.bullet-list .body p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 640px) {
  .bullet-list li { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .bullet-list .i { font-size: 42px; }
}

/* ───── Price block ───── */
.price-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .price-block { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; } }
.price-tag {
  font-family: "Instrument Serif", serif;
  font-size: clamp(72px, 10vw, 128px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.price-tag small {
  font-size: 16px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  margin-left: 6px;
  text-transform: uppercase;
}
.price-meta p { margin-bottom: 12px; font-size: 16px; color: var(--ink-soft); line-height: 1.55; }
.price-meta b { color: var(--ink); font-weight: 600; }

/* ───── Founder card ───── */
.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
}
@media (max-width: 720px) { .founder-card { grid-template-columns: 1fr; gap: 24px; } }
.founder-card .portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1A1715;
}
.founder-card .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-card .text p { margin-bottom: 16px; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.founder-card .text p b, .founder-card .text p strong { color: var(--ink); font-weight: 600; }
.founder-card .signature {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin-top: 12px;
}

/* ───── Split hero (méthodologie) ───── */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
}
@media (max-width: 880px) { .split-hero { grid-template-columns: 1fr; min-height: auto; } }
.split-hero .text {
  background: #0F0D0C;
  color: #FFFFFF;
  padding: 96px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 640px) { .split-hero .text { padding: 72px 24px; } }
.split-hero .text h1 {
  color: #FFFFFF;
  font-size: clamp(40px, 6vw, 84px);
  max-width: 14ch;
}
.split-hero .text .eyebrow { color: #C9AA71; margin-bottom: 14px; display: block; }
.split-hero .text p { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 44ch; margin-top: 22px; line-height: 1.55; }
.split-hero .image {
  position: relative;
  background: #1A1715;
  min-height: 400px;
}
.split-hero .image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ───── Footer ───── */
footer.foot {
  background: var(--bg-soft);
  padding: 64px 0 40px;
  font-size: 14px;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}
footer.foot .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
@media (max-width: 720px) { footer.foot .foot-grid { grid-template-columns: 1fr; gap: 32px; } }
footer.foot .brand-mark {
  font-family: "Instrument Serif", serif;
  font-size: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: 14px;
  text-decoration: none;
}
footer.foot h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin: 0 0 14px;
  font-weight: 600;
}
footer.foot a {
  color: var(--ink-soft);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 14px;
}
footer.foot a:hover { color: var(--accent-ink); }
footer.foot .legal {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 12px;
}

/* ───── Utilities ───── */
.divider { height: 1px; background: var(--line); margin: 48px 0; border: 0; }
.small { font-size: 13px; color: var(--ink-muted); }
hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }

/* Focus ring */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .card-portrait img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ───── Shared Hero replica (all pages) ───── */
.hero-replica {
  background: #ECECEC;
  width: 100%;
  overflow: hidden;
  padding: 48px 28px 36px;
}
.hero-replica__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.hero-replica__headline {
  margin: 0;
  text-align: center;
  max-width: 20ch;
  margin-inline: auto;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.03;
  font-size: clamp(38px, 5.4vw, 62px);
}
.hero-replica__stage {
  position: relative;
  margin: 34px auto 0;
  max-width: 920px;
}
.hero-replica__car {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: block;
}
.hero-replica__annotation {
  position: absolute;
  margin: 0;
  font-family: var(--font-annotation);
  color: var(--annotation);
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.hero-replica__price {
  margin: 24px 0 0;
  text-align: center;
  font-family: var(--font-annotation);
  color: var(--annotation);
  font-size: clamp(50px, 4.6vw, 70px);
  line-height: 1;
}
.hero-replica__support {
  margin: 14px auto 0;
  text-align: center;
  max-width: 70ch;
  color: var(--ink-soft);
  font-size: 15px;
}
.hero-replica__cta {
  margin-top: 16px;
}

/* Shared annotation anchors */
.hero-replica__annotation--left-top { top: 15%; left: 7%; }
.hero-replica__annotation--right-top { top: 17%; right: 7%; }
.hero-replica__annotation--left-mid { top: 52%; left: -2%; }
.hero-replica__annotation--right-mid { top: 55%; right: -2%; }

/* Per-page composition tweaks */
.hero-replica--methodologie .hero-replica__annotation--left-top { top: 12%; left: 8%; }
.hero-replica--methodologie .hero-replica__annotation--right-top { top: 14%; right: 5%; }
.hero-replica--methodologie .hero-replica__annotation--left-mid { top: 56%; left: -1%; }
.hero-replica--methodologie .hero-replica__annotation--right-mid { top: 58%; right: 2%; }

.hero-replica--rapport .hero-replica__annotation--left-top { top: 14%; left: 6%; }
.hero-replica--rapport .hero-replica__annotation--right-top { top: 14%; right: 7%; }
.hero-replica--rapport .hero-replica__annotation--left-mid { top: 54%; left: 0; }
.hero-replica--rapport .hero-replica__annotation--right-mid { top: 56%; right: 1%; }

@media (max-width: 880px) {
  .hero-replica { padding: 38px 22px 30px; }
  .hero-replica__stage { margin-top: 24px; }
  .hero-replica__annotation {
    font-size: clamp(26px, 5vw, 38px);
  }
  .hero-replica__annotation--left-mid,
  .hero-replica__annotation--right-mid {
    top: auto;
    bottom: 8%;
  }
}

@media (max-width: 640px) {
  .hero-replica {
    padding: 32px 16px 24px;
  }
  .hero-replica__headline {
    font-size: clamp(30px, 7.6vw, 44px);
  }
  .hero-replica__annotation {
    display: none;
  }
  .hero-replica__price {
    margin-top: 16px;
    font-size: clamp(40px, 10vw, 58px);
  }
  .hero-replica__support {
    font-size: 14px;
  }
}

/* ─── Sticky blended logo ─── */
.landing-logo {
  position: fixed;
  top: clamp(22px, 2.6vw, 38px);
  left: 50%;
  z-index: 80;
  transform: translateX(-50%);
  text-decoration: none;
  mix-blend-mode: difference;
  isolation: auto;
  will-change: transform;
}

.landing-logo img {
  display: block;
  width: clamp(142px, 14.44vw, 208px);
  height: auto;
  filter: invert(1);
}

/* ─── Hero v2 — Figma Desktop 7 ─── */
.hero-v2 {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 84.44vw, 1216px);
  overflow: hidden;
  background: #FAFAFA;
  isolation: isolate;
}

.hero-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}

.hero-v2__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  max-width: none;
}

.hero-v2__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-v2__headline {
  position: absolute;
  top: clamp(92px, 10.56vw, 152px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: min(980px, 86vw);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(48px, 4.72vw, 68px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.12;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}

.hero-v2__note {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.73vw, 10px);
  margin: 0;
  font-family: var(--font-annotation);
  color: #FFFFFF;
  font-size: clamp(28px, 4.21vw, 61px);
  line-height: 1;
  justify-content: center;
  text-align: center;
  text-shadow: 0 1px 12px rgba(15, 13, 12, 0.3);
  pointer-events: none;
}

.hero-v2__note-line {
  display: block;
  color: #FFFFFF;
}

.hero-v2__note-line--pct {
  margin: 0;
  color: #FFFFFF;
}

.hero-v2__note--hist {
  top: 40.98%;
  left: 17.72%;
  width: 29.46%;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.hero-v2__note--couleur {
  top: 40.99%;
  left: 81.94%;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.hero-v2__note--match {
  left: 50.09%;
  top: 75.29%;
  width: 39.34%;
  transform: translate(-50%, -50%) rotate(-2deg);
  text-align: center;
}

/* ─── Pen-write animation ─── */
@keyframes pen-write {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

@media (max-width: 1024px) {
  .hero-v2 {
    min-height: clamp(460px, 98vw, 600px);
  }
  .hero-v2::after {
    opacity: 1;
    background:
      linear-gradient(
        180deg,
        rgba(250, 250, 250, 0.56) 0%,
        rgba(250, 250, 250, 0.48) 26%,
        rgba(250, 250, 250, 0.26) 48%,
        rgba(250, 250, 250, 0) 70%
      );
  }
  .hero-v2__image {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 66%;
  }
  .hero-v2__headline {
    top: clamp(74px, 9vw, 104px);
    width: min(90vw, 620px);
    white-space: normal;
    font-size: clamp(34px, 7.2vw, 56px);
    line-height: 1.02;
  }
  .hero-v2__note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .hero-v2__note { animation: none; clip-path: none; }
}
