/* ============================================================
   Erreur 404L — Equipage 4L Trophy
   Couleurs: #ADFA24 (primaire), #618D12 (secondaire),
            #FFFFFF, #000000, #F3FDF3 (fond secondaire)
   ============================================================ */

:root {
  --lime: #ADFA24;
  --lime-dark: #618D12;
  --black: #000000;
  --white: #FFFFFF;
  --cream: #F3FDF3;
  --ink: #0a0d08;
  --muted: #5a6a4e;
  --border: #1a1f15;
  --display: "Archivo Black", "Anton", "Nexo", system-ui, sans-serif;
  --body: "DM Sans", "Nexo", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ========== Layout: 25/75 ========== */

.shell {
  display: grid;
  grid-template-columns: 25% 75%;
  min-height: 100vh;
}

.shell.no-rail {
  grid-template-columns: 1fr;
}

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  background: var(--black);
  color: var(--lime);
  border-right: 2px solid var(--black);
  overflow: hidden;
}

.rail-sticky {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.content {
  background: var(--cream);
  min-width: 0;
}

/* ========== NAVBAR ========== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--cream);
  border-bottom: 2px solid var(--black);
}

.navbar.scrolled {
  background: rgba(243, 253, 243, 0.96);
  backdrop-filter: blur(10px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-link {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

.nav-link:hover { background: var(--black); color: var(--lime); }

.nav-cta {
  background: var(--lime);
  color: var(--black);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 2px solid var(--black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--black);
}

.cart-button {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid var(--black);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
}

.cart-badge {
  background: var(--black);
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ========== HERO ========== */

.hero {
  padding: 80px 48px 100px;
  border-bottom: 2px solid var(--black);
  position: relative;
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--black);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero h1 .accent { color: var(--lime-dark); }
.hero h1 .lime-block {
  display: inline-block;
  background: var(--lime);
  padding: 0 12px;
  transform: skew(-4deg);
}
.hero h1 .lime-block span { display: inline-block; transform: skew(4deg); }

.hero-lede {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  background: var(--black);
  color: var(--lime);
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--black);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--lime-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--black);
  transition: background 0.2s, color 0.2s;
}

.btn-ghost:hover { background: var(--black); color: var(--lime); }

/* Hero stat strip */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  margin: 0 -48px;
  padding: 0 48px;
}

.hero-stat {
  padding: 24px 16px;
  border-right: 2px solid var(--black);
}

.hero-stat:last-child { border-right: none; }

.hero-stat .num {
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ========== SECTION BASE ========== */

.section {
  padding: 96px 48px;
  border-bottom: 2px solid var(--black);
  position: relative;
}

.section.alt { background: var(--white); }
.section.dark { background: var(--black); color: var(--white); }
.section.lime-bg { background: var(--lime); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px; height: 2px;
  background: var(--lime-dark);
}

.section.dark .section-eyebrow { color: var(--lime); }
.section.dark .section-eyebrow::before { background: var(--lime); }

/* ========== ABOUT / TEAM ========== */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.team-card {
  background: var(--cream);
  border: 2px solid var(--black);
  padding: 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.team-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--lime);
}

.team-photo {
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(45deg, #2a2a2a 0 2px, transparent 2px 14px),
    #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--black);
}

.team-photo::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--lime);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 6px;
}

.team-name {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.team-bio {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}

.team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-meta .chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background: var(--black);
  color: var(--lime);
  border-radius: 999px;
  text-transform: uppercase;
}

/* ========== MISSION ========== */

.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.mission-text p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.mission-text p strong {
  background: var(--lime);
  color: var(--black);
  padding: 0 6px;
}

.mission-pillars {
  display: grid;
  gap: 14px;
}

.pillar {
  border: 2px solid var(--white);
  background: rgba(255,255,255,0.04);
  padding: 22px;
  position: relative;
  transition: background 0.2s;
}

.pillar:hover { background: rgba(173,250,36,0.08); }

.pillar-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 8px;
}

.pillar h4 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: rgba(255,255,255,0.7);
}

/* ========== GOODIES ========== */

.goodies-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  background: var(--black);
  color: var(--lime);
  border-radius: 999px;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.goodies-banner .marquee {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: scroll-x 30s linear infinite;
  overflow: hidden;
}

@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

.goodies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.good {
  background: var(--white);
  border: 2px solid var(--black);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.good:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--black);
}

.good-img {
  aspect-ratio: 1;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--black);
  position: relative;
  overflow: hidden;
}

.good-img svg { width: 60%; height: 60%; }

.good-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--lime);
  color: var(--black);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 700;
  border: 1.5px solid var(--black);
}

.good-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.good-name {
  font-family: var(--display);
  font-size: 18px;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.good-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
  flex: 1;
}

.good-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.good-price {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.01em;
}

.good-price .currency {
  font-size: 14px;
  vertical-align: top;
  margin-left: 2px;
}

.add-btn {
  background: var(--black);
  color: var(--lime);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
  text-transform: uppercase;
}

.add-btn:hover { background: var(--lime-dark); color: var(--white); }

.add-btn.added {
  background: var(--lime);
  color: var(--black);
}

/* Cart drawer */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cart-drawer-backdrop.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: var(--cream);
  border-left: 2px solid var(--black);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { transform: translateX(0); }

.cart-head {
  padding: 22px 24px;
  border-bottom: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-head h3 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0;
  text-transform: uppercase;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border: 2px solid var(--black);
  margin-bottom: 10px;
  align-items: center;
}

.cart-line .thumb {
  width: 56px; height: 56px;
  background: var(--cream);
  border: 1.5px solid var(--black);
  display: flex; align-items: center; justify-content: center;
}

.cart-line .thumb svg { width: 70%; height: 70%; }

.cart-line .meta { display: flex; flex-direction: column; }
.cart-line .meta b { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: -0.01em; }
.cart-line .meta span { font-size: 12px; color: var(--muted); }

.qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--black);
  border-radius: 999px;
  overflow: hidden;
}
.qty button { width: 24px; height: 24px; font-size: 14px; font-weight: 700; }
.qty button:hover { background: var(--lime); }
.qty span { font-family: var(--mono); font-size: 12px; min-width: 18px; text-align: center; }

.cart-foot {
  padding: 20px 24px;
  border-top: 2px solid var(--black);
  background: var(--white);
}

.cart-line-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
}

.cart-shipping-progress {
  margin: 12px 0 16px;
  font-size: 12px;
  color: var(--muted);
}

.cart-bar {
  height: 6px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}

.cart-bar > div {
  height: 100%;
  background: var(--lime);
  transition: width 0.4s;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 8px 0 14px;
}

.cart-total b { font-family: var(--display); font-size: 28px; }

.cart-checkout {
  width: 100%;
  background: var(--black);
  color: var(--lime);
  padding: 16px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 14px;
  text-transform: uppercase;
  transition: background 0.2s;
}

.cart-checkout:hover { background: var(--lime-dark); color: var(--white); }

.cart-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
}

.cart-empty .big {
  font-family: var(--display);
  font-size: 60px;
  color: var(--lime);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

/* ========== SPONSORS ========== */

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--black);
  background: var(--black);
  margin-bottom: 56px;
}

.sponsor {
  aspect-ratio: 1.6;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
  position: relative;
  transition: background 0.2s, color 0.2s;
  cursor: default;
}

.sponsor:hover {
  background: var(--lime);
}

.sponsor.empty {
  background: var(--cream);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.sponsor.empty::before {
  content: "+ ";
}

.sponsor .tier {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Sponsor tiers */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.tier-card {
  border: 2px solid var(--black);
  padding: 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tier-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--black);
}

.tier-card.feature {
  background: var(--lime);
}

.tier-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 6px;
}

.tier-card.feature .tier-name { color: var(--black); font-weight: 700; }

.tier-price {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.tier-price .small { font-size: 18px; opacity: 0.6; }

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 13px;
  flex: 1;
}

.tier-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px dashed rgba(0,0,0,0.15);
}

.tier-list li:last-child { border-bottom: none; }

.tier-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lime-dark);
  font-weight: 700;
}

.tier-card.feature .tier-list li::before { color: var(--black); }

.tier-btn {
  background: var(--black);
  color: var(--lime);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}

.tier-btn:hover { background: var(--lime-dark); color: var(--white); }

.tier-card.feature .tier-btn { background: var(--black); color: var(--lime); }

/* Contact form */

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  border: 2px solid var(--black);
  background: var(--white);
  overflow: hidden;
}

.contact-side {
  background: var(--black);
  color: var(--white);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.contact-side h3 {
  font-family: var(--display);
  font-size: 32px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

.contact-side h3 span { color: var(--lime); }

.contact-side p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; margin: 0; }

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-info .row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
}

.contact-info .row .ic {
  width: 28px; height: 28px;
  background: var(--lime);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  padding: 36px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--body);
  font-size: 14px;
  padding: 12px 14px;
  border: 2px solid var(--black);
  background: var(--cream);
  border-radius: 0;
  transition: background 0.2s, border-color 0.2s;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: var(--white);
  box-shadow: 4px 4px 0 var(--lime);
  transform: translate(-2px, -2px);
}

.form-field input.error,
.form-field textarea.error { border-color: #c0392b; }

.form-field .err {
  font-family: var(--mono);
  font-size: 11px;
  color: #c0392b;
}

.form-submit {
  grid-column: 1 / -1;
  background: var(--lime);
  color: var(--black);
  padding: 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--black);
  transition: transform 0.15s, box-shadow 0.15s;
}

.form-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--black);
}

.form-submit:disabled { opacity: 0.6; cursor: wait; }

.form-success {
  grid-column: 1 / -1;
  padding: 18px;
  background: var(--lime);
  border: 2px solid var(--black);
  font-family: var(--mono);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ========== SOUTENIR ========== */

.soutenir {
  background: var(--lime);
  color: var(--black);
  padding: 96px 48px;
  border-bottom: 2px solid var(--black);
  position: relative;
  overflow: hidden;
}

.soutenir-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.soutenir h2 {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.soutenir p {
  font-size: 18px;
  max-width: 540px;
  margin: 0 0 32px;
  line-height: 1.5;
}

.soutenir-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.soutenir-cta {
  background: var(--black);
  color: var(--lime);
  padding: 18px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 2px solid var(--black);
}

.soutenir-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--white);
}

.cagnotte-card {
  background: var(--white);
  border: 2px solid var(--black);
  padding: 28px;
  position: relative;
}

.cagnotte-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.cagnotte-amount {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.cagnotte-goal {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.cagnotte-progress {
  height: 14px;
  background: var(--cream);
  border: 2px solid var(--black);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.cagnotte-progress > div {
  height: 100%;
  background: var(--lime);
  position: relative;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(0,0,0,0.08) 8px 16px);
  transition: width 1.5s cubic-bezier(.2,.8,.2,1);
}

.cagnotte-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  text-align: center;
}

.cagnotte-stats .stat {
  border-right: 1px solid rgba(0,0,0,0.1);
  padding: 8px 0;
}

.cagnotte-stats .stat:last-child { border-right: none; }

.cagnotte-stats .num {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.cagnotte-stats .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ========== FOOTER ========== */

footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 48px 32px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-brand img { height: 64px; margin-bottom: 18px; }

.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0 0 18px; max-width: 320px; }

.footer-socials { display: flex; gap: 8px; }

.footer-socials a {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-socials a:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }

.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-col a { color: rgba(255,255,255,0.7); transition: color 0.15s; }
.footer-col a:hover { color: var(--lime); }

.newsletter {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  background: rgba(255,255,255,0.04);
  margin-top: 12px;
}

.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--body);
  font-size: 13px;
  outline: none;
  padding: 8px 0;
  min-width: 0;
}

.newsletter input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter button {
  background: var(--lime);
  color: var(--black);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.newsletter button:hover { background: var(--white); }
.newsletter.success button { background: var(--lime); }

.newsletter-note { font-size: 11px; font-family: var(--mono); color: rgba(255,255,255,0.4); margin-top: 8px; }
.newsletter-success { font-family: var(--mono); font-size: 12px; color: var(--lime); margin-top: 8px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom .micro a:hover { color: var(--lime); }

/* ========== RAIL: rally path + car ========== */

.rail-head {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 22px 24px;
  z-index: 5;
  border-bottom: 1px solid rgba(173,250,36,0.15);
}

.rail-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(173,250,36,0.6);
  margin-bottom: 4px;
}

.rail-route {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rail-route .arr { color: rgba(173,250,36,0.4); }

.rail-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.rail-bottom {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 18px 24px;
  border-top: 1px solid rgba(173,250,36,0.15);
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(173,250,36,0.5);
  letter-spacing: 0.1em;
}

.rail-bottom .kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rail-bottom .kpis b { color: var(--lime); font-family: var(--display); font-size: 14px; letter-spacing: 0; }

/* Stop labels (positioned absolutely in the rail) */
.stop-label {
  position: absolute;
  left: 50%;
  transform: translateX(20px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(173,250,36,0.7);
  pointer-events: none;
  white-space: nowrap;
}

.stop-label.active {
  color: var(--lime);
  font-weight: 700;
}

.stop-label .km {
  display: block;
  font-size: 9px;
  color: rgba(173,250,36,0.4);
  margin-top: 2px;
}

.car-glow {
  filter: drop-shadow(0 0 6px rgba(173,250,36,0.6));
}

.car-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 36px;
  height: 48px;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 0 8px rgba(173,250,36,0.7));
  will-change: transform;
  transform-origin: center center;
}

.stop-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stop-labels .stop-label {
  pointer-events: auto;
  cursor: pointer;
  transition: color 0.2s;
}

.stop-labels .stop-label:hover {
  color: var(--lime);
}

/* ========== TWEAKS-related ========== */

.swatch-row { display: flex; gap: 8px; }

/* ========== Misc ========== */

.divider-strip {
  background: var(--black);
  color: var(--lime);
  padding: 14px 24px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  gap: 32px;
  overflow: hidden;
  white-space: nowrap;
}

.divider-strip .marquee {
  display: flex;
  gap: 32px;
  animation: scroll-x 25s linear infinite;
}

.divider-strip .dot {
  color: var(--lime-dark);
  font-size: 18px;
}

/* responsive collapse */
@media (max-width: 1100px) {
  .shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 2px solid var(--black); }
  .team-grid, .goodies-grid, .tier-grid, .sponsors-grid, .contact-card, .footer-top, .soutenir-inner, .mission-grid {
    grid-template-columns: 1fr !important;
  }
  .navbar { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; }
  .section, .hero, .soutenir { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }

  /* Navbar — collapse links to a horizontal scroller, shrink logo */
  .navbar { padding: 12px 16px; gap: 8px; }
  .nav-logo img { height: 28px; }
  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 4px;
    padding: 4px 0;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-link { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  .nav-cta { padding: 10px 14px; font-size: 12px; gap: 6px; }
  .nav-cta svg { width: 14px; height: 14px; }
  .cart-button { padding: 8px 12px; font-size: 12px; }

  /* Sections — tighter padding */
  .section, .hero, .soutenir, footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero { padding-top: 48px; padding-bottom: 56px; }
  .soutenir { padding-top: 56px; padding-bottom: 56px; }
  footer { padding-top: 56px; padding-bottom: 24px; }

  /* Hero — tighter, no skew block weirdness */
  .hero h1 { font-size: clamp(40px, 11vw, 64px); line-height: 0.95; }
  .hero h1 .lime-block { padding: 0 8px; }
  .hero-lede { font-size: 16px; margin-bottom: 28px; }
  .hero-actions { gap: 10px; margin-bottom: 36px; }
  .btn-primary, .btn-ghost { padding: 13px 20px; font-size: 14px; }

  /* Hero stats: keep 2 cols but smaller */
  .hero-stats { margin: 0 -18px; padding: 0 18px; }
  .hero-stat { padding: 18px 12px; }
  .hero-stat .num { font-size: 30px; }
  .hero-stat .label { font-size: 10px; }

  /* Section title */
  .section-title { font-size: clamp(32px, 9vw, 44px); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }

  /* Team cards */
  .team-card { padding: 20px; }
  .team-name { font-size: 22px; }

  /* Mission pillars */
  .mission-grid { gap: 28px; }
  .pillar { padding: 18px; }
  .pillar h4 { font-size: 18px; }

  /* Goodies */
  .goodies-banner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 14px 18px;
    font-size: 11px;
    border-radius: 18px;
  }
  .goodies-grid { gap: 14px; }
  .good-name { font-size: 16px; }
  .good-body { padding: 14px; }
  .good-price { font-size: 18px; }
  .add-btn { padding: 7px 11px; font-size: 11px; }

  /* Sponsors: 2 cols */
  .sponsors-grid { grid-template-columns: 1fr 1fr !important; }
  .sponsor { font-size: 14px; }

  /* Contact card */
  .contact-side, .contact-form { padding: 22px; }
  .contact-side h3 { font-size: 26px; }
  .contact-form { grid-template-columns: 1fr; gap: 12px; }

  /* Soutenir */
  .soutenir h2 { font-size: clamp(36px, 10vw, 56px); }
  .soutenir p { font-size: 16px; }
  .soutenir-cta { padding: 14px 22px; font-size: 14px; }
  .cagnotte-amount { font-size: 42px; }
  .cagnotte-card { padding: 22px; }

  /* Footer */
  .footer-brand img { height: 48px; }
  .footer-col h5 { margin-bottom: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .newsletter { padding: 4px 4px 4px 12px; }
  .newsletter input { font-size: 12px; }
  .newsletter button { padding: 9px 12px; font-size: 11px; }

  /* Divider marquee */
  .divider-strip { font-size: 12px; padding: 12px 18px; gap: 20px; }

  /* Cart drawer */
  .cart-drawer { width: 100vw; }
}

@media (max-width: 420px) {
  .goodies-grid { grid-template-columns: 1fr !important; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: none !important; border-bottom: 2px solid var(--black); }
  .hero-stat:last-child { border-bottom: none; }
  .sponsors-grid { grid-template-columns: 1fr 1fr !important; }
  .nav-cta span { display: none; }
}
