/* ==========================================================
   Msylabs — Landing
   Direction artistique : éditorial, contrasté, motifs textiles
   ========================================================== */

:root {
  /* Palette stricte : 3 couleurs, point. */
  --paper:   #f4efe4;            /* crème de fond */
  --paper-2: #ebe4d3;            /* crème + 1 stop pour les sous-sections */
  --ink:     #0d1014;            /* near-black neutre pour texte + dark */
  --ink-2:   #161a1f;            /* léger relief sur dark */
  --blue:    #1d3557;            /* unique accent (bleu marine de marque) */

  /* Aliases sémantiques */
  --navy:    var(--blue);
  --cream:   var(--paper);
  --red:     var(--blue);        /* compat — le nom 'red' ne représente plus une couleur */

  --line:    rgba(20, 24, 29, .12);
  --line-w:  rgba(244, 239, 228, .12);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body:    "Geist", -apple-system, system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(20px, 4vw, 72px);
  --maxw: 1320px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fraunces — axes variables : SOFT pour les courbes, WONK pour le caractère */
.hero__title,
.section__title,
.cta__title,
.brand__word,
.stat__n,
.kpi__v,
.city__n,
.pillar h3,
.ticket__row--big,
.quote blockquote {
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
}
.hero__title em,
.section__title em,
.cta__title em,
.brand__word,
.stat__n,
.city__n,
.kpi__v,
.quote blockquote,
.pillar__n,
.hero__title--alt {
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
em { font-style: italic; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(244, 239, 228, .82);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -.02em;
}
.brand__mark { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; }
.brand__mark svg,
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__mark--invert img { filter: invert(1); }
.brand__word { font-style: italic; }
.brand__dot { color: var(--red); font-style: normal; }

.nav__links {
  display: flex; gap: 28px; justify-content: center;
  font-size: 14px;
  letter-spacing: .02em;
}
.nav__links a {
  position: relative;
  padding: 6px 2px;
  color: var(--navy);
  opacity: .85;
  transition: opacity .2s;
}
.nav__links a:hover { opacity: 1; }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.6,.2,.2,1);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px 11px 20px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .01em;
  transition: background .25s, transform .25s;
}
.nav__cta svg { width: 14px; height: 14px; }
.nav__cta:hover { background: var(--red); transform: translateY(-1px); }

@media (max-width: 880px) {
  .nav__inner { grid-template-columns: auto 1fr; gap: 16px; }
  .nav__links { display: none; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 120px) var(--pad) clamp(64px, 10vw, 140px);
  background:
    radial-gradient(800px 500px at 88% 18%, rgba(29, 53, 87, .08), transparent 60%),
    var(--paper);
  overflow: hidden;
}

/* textile pattern décoratif */
.hero::before {
  content: "";
  position: absolute;
  top: 18%; right: -8%;
  width: 420px; height: 420px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, var(--navy) 8px 9px),
    var(--paper);
  opacity: .07;
  border-radius: 50%;
  pointer-events: none;
}

.hero__rail {
  display: flex; gap: 24px;
  margin-bottom: 48px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .55;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.hero__rail::-webkit-scrollbar { display: none; }
.hero__rail span { position: relative; padding-right: 24px; }
.hero__rail span + span::before {
  content: "·";
  position: absolute; left: -16px; top: 0;
}

.hero__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto auto auto auto;
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: 24px;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  grid-column: 1 / 2;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .8;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .5; }
}

.hero__title {
  grid-column: 1 / 2;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(52px, 8.6vw, 138px);
  line-height: .94;
  letter-spacing: -.035em;
  color: var(--navy);
  margin: 0;
}
.hero__title em {
  color: var(--red);
  font-style: italic;
}
.hero__title--alt {
  font-style: italic;
  color: var(--ink);
  opacity: .55;
}

.hero__lede {
  grid-column: 1 / 2;
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  opacity: .82;
  margin: 16px 0 0;
}

.hero__ctas {
  grid-column: 1 / 2;
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 20px;
}

.hero__stats {
  grid-column: 1 / 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero__stats li { display: flex; flex-direction: column; gap: 6px; }
.stat__n {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: var(--navy);
  font-style: italic;
}
.stat__n small { font-size: .55em; vertical-align: super; color: var(--red); }
.stat__l {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .65;
}

/* hero card / ticket */
.hero__card {
  grid-column: 2 / 3;
  grid-row: 1 / 6;
  position: relative;
  align-self: start;
  margin-top: 8px;
}
.ticket {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--navy);
  padding: 22px 22px 18px;
  font-size: 14px;
  box-shadow:
    14px 14px 0 0 var(--red),
    14px 14px 0 1px var(--navy);
  transform: rotate(-1.2deg);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  background: var(--paper);
  border: 1px solid var(--navy);
  border-radius: 50%;
}
.ticket::before { top: -9px; left: 36px; }
.ticket::after  { top: -9px; right: 36px; }

.ticket__head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--navy);
  opacity: .85;
}
.ticket__row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(20, 24, 29, .25);
  color: var(--navy);
}
.ticket__row:last-of-type { border-bottom: 0; }
.ticket__row--total { font-style: italic; opacity: .8; }
.ticket__row--big {
  font-family: var(--f-display);
  font-size: 28px;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px dashed var(--navy);
  border-bottom: 0;
  margin-top: 6px;
}
.ticket hr { border: 0; border-top: 1px dashed var(--navy); margin: 6px 0 0; }

.ticket__btn {
  margin-top: 14px;
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--navy);
  color: var(--cream);
  border: 0;
  padding: 13px 16px;
  font-size: 14px;
  letter-spacing: .02em;
  transition: background .25s;
}
.ticket__btn:hover { background: var(--red); }
.ticket__btn svg { width: 18px; height: 18px; }

.ticket__stamp {
  position: absolute;
  top: -14px; right: -22px;
  width: 86px; height: 86px;
  background: var(--red);
  color: var(--navy);
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--f-display);
  font-size: 14px;
  font-style: italic;
  line-height: 1.05;
  text-align: center;
  transform: rotate(8deg);
  border: 1px solid var(--navy);
  z-index: 2;
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { grid-column: 1 / -1; grid-row: auto; margin-top: 40px; max-width: 420px; }
  .ticket { transform: none; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 0;
  font-size: 15px;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--solid {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 5px 5px 0 0 var(--red);
}
.btn--solid:hover { background: var(--red); box-shadow: 5px 5px 0 0 var(--navy); transform: translate(-1px, -1px); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn--dark {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 5px 5px 0 0 var(--red);
}
.btn--dark:hover { background: var(--red); box-shadow: 5px 5px 0 0 var(--navy); }
.btn--big {
  padding: 18px 30px;
  font-size: 16px;
}
.btn--apk {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 0 var(--navy);
  padding-top: 10px;
  padding-bottom: 10px;
}
.btn--apk:hover { background: var(--navy); border-color: var(--navy); box-shadow: 5px 5px 0 0 var(--ink); transform: translate(-1px, -1px); }
.btn--apk svg { width: 22px; height: 22px; }
.btn__stack { display: inline-flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn__stack small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; font-weight: 400; }
.btn__stack strong { font-size: 15px; font-weight: 500; font-family: var(--f-display); font-style: italic; letter-spacing: -.01em; }
.cta .btn--apk { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: 5px 5px 0 0 var(--navy); }
.cta .btn--apk:hover { background: var(--cream); border-color: var(--cream); }

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee {
  background: var(--navy);
  color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink-2);
  border-bottom: 1px solid var(--ink-2);
}
.marquee__track {
  display: flex; gap: 36px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 48px);
  font-style: italic;
  animation: scroll 38s linear infinite;
}
.marquee__track .diamond { color: var(--red); font-style: normal; font-size: .55em; align-self: center; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.section {
  padding: clamp(72px, 10vw, 140px) var(--pad);
  position: relative;
}
.section--dark {
  background: var(--ink);
  color: var(--cream);
}
.section--cream {
  background: var(--cream);
}
.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.section__head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section__head--center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.section__num {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: .85;
  margin-bottom: 24px;
}
.section__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 20px;
}
.section__title em {
  font-style: italic;
  color: var(--red);
}
.section--cream .section__title em { color: var(--red); }
.section__lede {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  opacity: .82;
  max-width: 60ch;
  margin: 0 auto;
}
.section__head:not(.section__head--center) .section__lede { margin-left: 0; }

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-w);
  border-bottom: 1px solid var(--line-w);
}
.pillar {
  padding: 40px 32px 44px;
  border-right: 1px solid var(--line-w);
  display: flex; flex-direction: column; gap: 14px;
}
.pillar:last-child { border-right: 0; }
.pillar--accent {
  background: var(--ink-2);
  position: relative;
}
.pillar--accent::after {
  content: "";
  position: absolute;
  top: -6px; right: -6px;
  width: 12px; height: 12px;
  background: var(--red);
}
.pillar__n {
  font-family: var(--f-display);
  font-size: 28px;
  font-style: italic;
  color: var(--red);
}
.pillar h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  margin: 4px 0 0;
  letter-spacing: -.01em;
}
.pillar p {
  margin: 0;
  opacity: .82;
  font-size: 15px;
  line-height: 1.6;
}
.pillar ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .8;
}
.pillar li {
  padding-left: 18px;
  position: relative;
}
.pillar li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--red);
}

@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line-w); }
  .pillar:last-child { border-bottom: 0; }
}

/* ---------- Split (vendeurs) ---------- */
.section__inner--split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin: 36px 0;
}
.bullet { display: flex; flex-direction: column; gap: 8px; }
.bullet__k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.bullet__v {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  opacity: .85;
}

/* fake dashboard */
.dashboard {
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 22px 22px 0 0 var(--red), 22px 22px 0 1px var(--ink);
  transform: rotate(-1deg);
}
.dashboard__head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dashboard__head .dot { width: 10px; height: 10px; animation: none; }
.dot--r { background: var(--red); }
.dot--y { background: rgba(244, 239, 228, .35); }
.dot--g { background: rgba(244, 239, 228, .35); }
.dashboard__url {
  margin-left: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  opacity: .55;
}
.dashboard__body { padding: 22px 24px 26px; display: grid; gap: 18px; }
.dash__kpi { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.kpi__l {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .6;
}
.kpi__v {
  font-family: var(--f-display);
  font-size: 36px;
  font-style: italic;
}
.kpi__d {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--red);
}
.dash__chart svg { width: 100%; height: 60px; }
.dash__orders {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,.08);
}
.dash__orders li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}
.dash__orders li:last-child { border-bottom: 0; }
.tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}
.tag--ok { background: rgba(244,239,228,.08); color: rgba(244,239,228,.7); }
.tag--w  { background: rgba(244,239,228,.08); color: rgba(244,239,228,.7); }
.tag--n  { background: rgba(29,53,87,.18);    color: #6b94d6; }

@media (max-width: 980px) {
  .section__inner--split { grid-template-columns: 1fr; }
  .bullets { grid-template-columns: 1fr; }
  .dashboard { transform: none; box-shadow: 12px 12px 0 0 var(--red); }
}

/* ---------- Livraison ---------- */
.section--map {
  background: var(--paper-2);
}
.cities {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.city {
  background: var(--paper);
  border: 1px solid var(--navy);
  padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  transition: transform .25s, background .25s, color .25s;
}
.city::before {
  content: "";
  position: absolute;
  top: 16px; right: 16px;
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
}
.city:hover { transform: translate(-2px, -2px); background: var(--navy); color: var(--cream); }
.city:hover::before { background: var(--red); }
.city__n {
  font-family: var(--f-display);
  font-size: 28px;
  font-style: italic;
}
.city__d {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}
.city:hover .city__d { color: var(--red); }
.city__p { font-size: 14px; opacity: .8; }

@media (max-width: 820px) { .cities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cities { grid-template-columns: 1fr; } }

/* ---------- Quotes ---------- */
.section--quotes { padding-top: clamp(72px, 9vw, 120px); }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.quote {
  margin: 0;
  padding: 32px 28px;
  border: 1px solid var(--line-w);
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  background: rgba(255,255,255,.02);
}
.quote::before {
  content: "“";
  position: absolute;
  top: -10px; left: 18px;
  font-family: var(--f-display);
  font-size: 90px;
  line-height: 1;
  color: var(--red);
}
.quote blockquote {
  margin: 24px 0 0;
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -.005em;
  font-style: italic;
}
.quote figcaption {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 14px;
  border-top: 1px solid var(--line-w);
  padding-top: 16px;
}
.quote figcaption strong { font-weight: 500; }
.quote figcaption span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
  margin-top: 2px;
}

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

/* ==========================================================
   CTA
   ========================================================== */
.cta {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 10vw, 140px) var(--pad);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(244,239,228,.035) 28px 29px);
  pointer-events: none;
}
.cta__inner {
  position: relative; z-index: 1;
  max-width: 960px; margin: 0 auto;
  text-align: center;
}
.cta__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(46px, 7.6vw, 116px);
  line-height: .98;
  margin: 0 0 20px;
  letter-spacing: -.03em;
}
.cta__title em { color: var(--red); font-style: italic; }
.cta__lede {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 56ch;
  margin: 0 auto 36px;
  opacity: .72;
}
.cta__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .btn--ghost { border-color: var(--paper); color: var(--paper); }
.cta .btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ==========================================================
   FOOT
   ========================================================== */
.foot {
  background: var(--ink);
  color: var(--cream);
  padding: 72px var(--pad) 32px;
}
.foot__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.foot__brand p {
  margin: 18px 0 0;
  font-size: 14px;
  opacity: .65;
  max-width: 32ch;
  line-height: 1.55;
}
.foot__brand .brand { color: var(--cream); }
.foot__brand .brand__dot { color: var(--paper); opacity: .6; }
.foot__col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 4px 0 16px;
}
.foot__col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  opacity: .75;
  transition: opacity .2s, transform .2s;
}
.foot__col a:hover { opacity: 1; transform: translateX(2px); }

.foot__bottom {
  max-width: var(--maxw);
  margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .55;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 880px) {
  .foot__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .foot__inner { grid-template-columns: 1fr; }
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================
   Overrides — sur dark, l'accent devient crème
   (le bleu marine se confondrait avec l'encre)
   ========================================================== */
.section--dark .section__title em,
.cta__title em,
.section--quotes .quote blockquote em,
.marquee__track .diamond,
.section--dark .pillar__n,
.section--dark .stat__n small,
.foot__col h4,
.kpi__d {
  color: var(--paper);
}
.section--dark .pillar li::before,
.pillar--accent::after {
  background: var(--paper);
}
.section--quotes .quote::before { color: var(--paper); opacity: .35; }
.tag--n  { background: rgba(244,239,228,.12); color: var(--paper); }
.dashboard { box-shadow: 22px 22px 0 0 var(--blue), 22px 22px 0 1px var(--ink); }
.ticket { box-shadow: 14px 14px 0 0 var(--blue), 14px 14px 0 1px var(--ink); }
.btn--solid { box-shadow: 5px 5px 0 0 var(--ink); }
.btn--solid:hover { background: var(--ink); box-shadow: 5px 5px 0 0 var(--blue); transform: translate(-1px, -1px); }
.btn--ghost:hover { background: var(--blue); color: var(--paper); }
.btn--dark { box-shadow: 5px 5px 0 0 var(--blue); }
.btn--dark:hover { background: var(--blue); box-shadow: 5px 5px 0 0 var(--ink); }
.nav__cta:hover { background: var(--ink); }
.ticket__btn:hover { background: var(--ink); }
.city:hover { background: var(--blue); color: var(--paper); }
.city:hover::before { background: var(--paper); }
.city:hover .city__d { color: var(--paper); opacity: .7; }
