
:root {
  --cream: #f8f5ee;
  --paper: #fffdf8;
  --navy: #183b57;
  --navy-soft: #2b526d;
  --gold: #c99a43;
  --gold-soft: #e7c987;
  --text: #26333d;
  --muted: #687078;
  --border: #e2ddd2;
  --shadow: 0 16px 40px rgba(24, 59, 87, .08);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: .7rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 245, 238, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 900;
  color: var(--navy);
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  letter-spacing: .05em;
  font-size: .78rem;
}

.brand-name span { display: block; }
.brand-name .gold { color: var(--gold); }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .25rem;
}

.nav a {
  padding: .55rem .7rem;
  border-radius: 10px;
  color: var(--navy);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: white;
}

.nav .help-link {
  margin-left: .4rem;
  background: var(--navy);
  color: white;
  padding-inline: .95rem;
}

.nav .help-link:hover { background: var(--navy-soft); }

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--navy);
  padding: .55rem .7rem;
  cursor: pointer;
}

.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .82rem;
}

h1, h2, h3, h4 {
  line-height: 1.12;
  color: var(--navy);
  text-wrap: balance;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.45rem, 7vw, 4.5rem);
  letter-spacing: -.045em;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -.025em;
}

h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

h4 {
  margin-top: 0;
  font-size: 1.2rem;
}

.lead {
  max-width: 740px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-quote {
  margin: 1.8rem 0 0;
  max-width: 720px;
  padding-left: 1rem;
  border-left: 4px solid var(--gold);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.05rem;
  border: 1px solid var(--navy);
  border-radius: 12px;
  background: var(--navy);
  color: white;
  font-weight: 850;
  text-decoration: none;
}

.btn:hover { background: var(--navy-soft); }

.btn.secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn.secondary:hover { background: white; }

.logo-panel {
  padding: 1.5rem;
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.logo-panel img {
  width: min(100%, 390px);
  margin-inline: auto;
  mix-blend-mode: multiply;
}

.logo-fallback {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--navy);
}
.logo-fallback strong { font-size: 2rem; }
.logo-fallback span { color: var(--gold); }

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section.white {
  background: var(--paper);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 800px;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 26px rgba(24, 59, 87, .045);
}

.card p:last-child { margin-bottom: 0; }
.card .number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-weight: 900;
  margin-bottom: .8rem;
}

.link-card {
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.value-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--navy);
  color: var(--gold-soft);
  font-weight: 800;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  align-items: start;
}

.prose {
  max-width: 800px;
  font-size: 1.04rem;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: .7rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.prose h3 {
  margin-top: 1.8rem;
  margin-bottom: .4rem;
}

.prose h4 {
  margin-top: 1.3rem;
  margin-bottom: .4rem;
}

.prose blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--gold);
  background: white;
  border-radius: 0 14px 14px 0;
  color: var(--navy);
  font-weight: 750;
}

.sidebar {
  position: sticky;
  top: 100px;
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
}

.sidebar ul {
  margin: .8rem 0 0;
  padding-left: 1.1rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-item .step {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-weight: 900;
}

.budget {
  display: grid;
  gap: .75rem;
  margin-top: 1.5rem;
}

.budget-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

.budget-row strong:last-child {
  color: var(--gold);
  font-size: 1.2rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.contact-item {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

.contact-item small {
  display: block;
  color: var(--muted);
  margin-bottom: .2rem;
}

.contact-item a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.cta {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
}

.cta h2, .cta h3 { color: white; }
.cta p { color: #e6edf2; }
.cta .btn {
  background: var(--gold);
  border-color: var(--gold);
  color: #172c3b;
}
.cta .btn:hover { filter: brightness(.96); }

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner a { color: var(--navy); }

.note {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  border-radius: 0 12px 12px 0;
}

@media (max-width: 900px) {
  .mobile-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    margin-left: 0;
    padding: .75rem 0 1rem;
    justify-content: flex-start;
  }
  .nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; padding-block: .6rem; }
  .nav .help-link { margin-left: 0; }
  .hero-grid, .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 2.8rem; }
  .logo-panel { order: -1; padding: .8rem; }
  .logo-panel img { max-height: 280px; object-fit: contain; }
  .hero-actions .btn { width: 100%; }
  .budget-row { grid-template-columns: 1fr; }
  .budget-row strong:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* --------------------------------------------------------------------------
   Header partagÃ© : menu utilisateur
   -------------------------------------------------------------------------- */

.user-menu {
  position: relative;
  flex: 0 0 auto;
}

.brand {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + .75rem);
  left: 0;
  z-index: 50;
  width: min(290px, calc(100vw - 2rem));
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--text);
}

.user-menu-panel[hidden] {
  display: none;
}

.user-menu-panel strong {
  display: block;
  color: var(--navy);
}

.user-menu-panel p {
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 900px) {
  .user-menu-panel {
    top: calc(100% + .45rem);
  }
}


/* Le bouton "Aide en ligne" reste visible lorsqu'il correspond Ã  la page active. */
.nav a.help-link[aria-current="page"] {
  background: #183b57;
  color: #ffffff;
}

.nav a.help-link[aria-current="page"]:hover,
.nav a.help-link[aria-current="page"]:focus-visible {
  background: #2b526d;
  color: #ffffff;
}


/* --------------------------------------------------------------------------
   Mise en avant du dÃ©fi vÃ©lo sur la page d'accueil
   -------------------------------------------------------------------------- */

.bike-feature {
  background:
    linear-gradient(135deg, rgba(24, 59, 87, .98), rgba(43, 82, 109, .96));
  color: white;
}

.bike-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.bike-feature .eyebrow {
  color: var(--gold-soft);
}

.bike-feature h2 {
  max-width: 780px;
  color: white;
}

.bike-feature .lead {
  color: #e7edf1;
}

.bike-feature-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.8rem 0;
}

.bike-feature-stats > div {
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.07);
}

.bike-feature-stats strong,
.bike-feature-stats span {
  display: block;
}

.bike-feature-stats strong {
  color: var(--gold-soft);
  font-size: 1.08rem;
}

.bike-feature-stats span {
  margin-top: .2rem;
  color: #dfe7ec;
  font-size: .88rem;
}

.bike-feature .btn {
  border-color: var(--gold);
  background: var(--gold);
  color: #172c3b;
}

.bike-feature .btn:hover {
  filter: brightness(.96);
}

.bike-feature-message {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
}

.bike-feature-message blockquote {
  margin: .65rem 0 1rem;
  color: white;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.3;
}

.bike-feature-message p {
  margin-bottom: 0;
  color: var(--gold-soft);
  font-weight: 800;
}

.bike-feature-kicker {
  color: #dfe7ec;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .bike-feature-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .bike-feature-stats {
    grid-template-columns: 1fr;
  }

  .bike-feature .btn {
    width: 100%;
  }
}


/* --------------------------------------------------------------------------
   Notre mission â€” Le deuil â†’ Lâ€™aprÃ¨s
   -------------------------------------------------------------------------- */

.mission-why-section .section-head {
  margin-bottom: 2.2rem;
}

.mission-journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: center;
}

.mission-journey-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(2rem, 5vw, 3.2rem);
  border: 1px solid var(--border);
  border-radius: 48px;
  background: white;
  text-align: center;
}

.mission-journey-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.mission-journey-rule {
  width: 110px;
  height: 5px;
  margin: 1.35rem 0 2.5rem;
  background: var(--gold);
}

.mission-journey-card p {
  max-width: 540px;
  margin: auto 0;
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.mission-journey-arrow {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  justify-self: center;
  border-radius: 50%;
  background: var(--gold);
  color: white;
}

.mission-journey-arrow span {
  display: block;
  margin-top: -3px;
  font-size: 3.25rem;
  font-weight: 300;
  line-height: 1;
}

@media (max-width: 900px) {
  .mission-journey {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mission-journey-card {
    min-height: 260px;
  }

  .mission-journey-arrow {
    width: 82px;
    height: 82px;
  }

  .mission-journey-arrow span {
    transform: rotate(90deg);
    font-size: 2.7rem;
  }
}

@media (max-width: 620px) {
  .mission-journey-card {
    min-height: 0;
    padding: 2rem 1.35rem;
    border-radius: 30px;
  }

  .mission-journey-card h3 {
    font-size: 1.8rem;
  }

  .mission-journey-rule {
    width: 82px;
    height: 4px;
    margin: 1rem 0 1.5rem;
  }

  .mission-journey-card p {
    font-size: 1.05rem;
  }

  .mission-journey-arrow {
    width: 68px;
    height: 68px;
  }

  .mission-journey-arrow span {
    font-size: 2.25rem;
  }
}