/* MWENDO — livraison & billets
   Palette: steel + safety yellow · Typography: geometric bold
   Motion: gentle fade + rise on scroll · Layout: split hero + sections
   Signature: restraint · Background: plain with one signature colour reveal */

:root {
  --bg: #ffffff;
  --surface: #f1f3f5;
  --surface-2: #e7ebef;
  --ink: #1c232b;
  --ink-soft: #4a5561;
  --steel: #2b3440;
  --line: #d9dfe5;
  --accent: #f5b800;
  --accent-ink: #1c232b;
  --accent-soft: #fff3cc;
  --shadow: 0 1px 2px rgba(28, 35, 43, .06), 0 12px 32px rgba(28, 35, 43, .07);
  --radius: 14px;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(64px, 9vw, 120px);
}

html[data-theme="dark"] {
  --bg: #14181d;
  --surface: #1b2027;
  --surface-2: #232a33;
  --ink: #f2f4f6;
  --ink-soft: #b3bcc6;
  --steel: #dde3e9;
  --line: #2f3841;
  --accent: #f5b800;
  --accent-ink: #1c232b;
  --accent-soft: #3a3011;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 36px rgba(0, 0, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
  padding-block: .6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 1.05rem;
  margin-right: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--steel);
  color: var(--bg);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: 0;
}
html[data-theme="dark"] .brand-mark { color: #14181d; }
.nav {
  display: flex;
  gap: 1.4rem;
  font-size: .95rem;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: .5rem;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.theme-toggle:hover { background: var(--surface); }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ffc61a; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--steel); background: var(--surface); }
.btn-sm { min-height: 44px; padding: .55rem 1.05rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 84px) var(--section-y); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.accent-block {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .04em .18em .1em;
  border-radius: 6px;
  animation: revealFromLeft 800ms cubic-bezier(.2, .7, .1, 1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
@keyframes revealFromLeft {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
  font-size: .95rem;
  color: var(--ink-soft);
}
.hero-points li {
  position: relative;
  padding-left: 1.5rem;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
}

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: clamp(320px, 52vw, 620px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .95rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: .1rem;
}
.hero-badge-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.hero-badge-value { font-weight: 800; font-size: 1rem; }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--surface); }
.section-head { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-intro { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: clamp(20px, 2.5vw, 30px); display: flex; flex-direction: column; gap: .9rem; }
.card-body p { color: var(--ink-soft); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .95rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.link-arrow {
  margin-top: auto;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  align-self: flex-start;
  padding-bottom: 2px;
  transition: color .18s ease;
}
.link-arrow:hover { color: var(--ink-soft); }

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split-media img {
  width: 100%;
  height: clamp(300px, 42vw, 520px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-copy p { color: var(--ink-soft); max-width: 60ch; }
.split-copy h2 { margin-bottom: 1.1rem; }
.facts {
  margin: 1.75rem 0;
  display: grid;
  gap: .9rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.facts div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 1rem; }
.facts dt { font-weight: 700; font-size: .9rem; }
.facts dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- routes ---------- */
.routes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.5vw, 26px);
}
.route {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: border-color .18s ease, transform .18s ease;
}
.route:hover { border-color: var(--steel); transform: translateY(-2px); }
.route-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; justify-content: space-between; }
.route-head h3 { font-size: 1.1rem; }
.route-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 999px;
  padding: .25rem .6rem;
}
.route p { color: var(--ink-soft); font-size: .95rem; }
.route-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}
.route-price { font-weight: 800; font-size: 1.05rem; }
.routes-note {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ink-soft);
  font-size: .98rem;
  max-width: 70ch;
}
.routes-note a { color: var(--ink); font-weight: 700; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  counter-reset: step;
}
.steps li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
  display: grid;
  gap: .6rem;
  align-content: start;
}
.step-num {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--accent);
  padding-bottom: .35rem;
  justify-self: start;
}
.steps p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- faq ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.faq { display: grid; gap: .6rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 0 1.1rem;
}
.faq details[open] { border-color: var(--steel); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); font-size: .96rem; padding-bottom: 1.1rem; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.contact-copy p { color: var(--ink-soft); max-width: 52ch; }
.contact-copy h2 { margin-bottom: 1rem; }
.contact-list {
  margin: 1.75rem 0 0;
  display: grid;
  gap: .9rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.contact-list div { display: grid; grid-template-columns: minmax(110px, 32%) 1fr; gap: 1rem; }
.contact-list dt { font-weight: 700; font-size: .9rem; }
.contact-list dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.contact-list a { color: var(--ink-soft); text-decoration-color: var(--line); text-underline-offset: 3px; }
.contact-list a:hover { color: var(--ink); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .7rem .85rem;
  min-height: 46px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--steel); }
.form-status {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--accent);
  padding-left: .75rem;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: clamp(36px, 5vw, 56px);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-name { font-weight: 800; letter-spacing: .04em; margin: 0; }
.footer-tag { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: .92rem;
  margin-left: auto;
}
.footer-nav a { text-decoration: none; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--ink); }
.attribution {
  margin: 0;
  width: 100%;
  font-size: .78rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.attribution a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- motion ---------- */
@keyframes fadeRise {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@supports (animation-timeline: view()) {
  .section > .wrap,
  .hero-copy {
    animation: fadeRise 420ms cubic-bezier(.2, .7, .1, 1) both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
  .hero-copy { animation-timeline: none; animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-timeline: auto !important;
    transition-duration: .01ms !important;
  }
  .accent-block { clip-path: none !important; }
  .btn:hover, .route:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { height: clamp(280px, 62vw, 440px); }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .faq-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-actions .btn-accent { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .facts div, .contact-list div { grid-template-columns: 1fr; gap: .15rem; }
  .footer-nav { margin-left: 0; }
}
