@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #002FA7;
  --background-color: #FFFFFF;
  --title-color: #000000;
  --text-color: #222222;
  --footer-color: #000000;
  --blue: var(--primary-color, #002FA7);
  --blue-dark: var(--primary-color, #002FA7);
  --black: var(--title-color, #000000);
  --white: var(--background-color, #FFFFFF);
  --gray: #f5f5f5;
  --muted: var(--text-color, #222222);
  --line: #dedede;
  --radius: 1.5rem;
  --shadow: 0 22px 60px color-mix(in srgb, var(--primary-color, #002FA7) 12%, transparent);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--text-color, #222222); background: var(--background-color, #FFFFFF); font-family: "DM Sans", Arial, sans-serif; line-height: 1.55; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--primary-color, #002FA7); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 200; top: .5rem; left: .5rem; transform: translateY(-150%); background: white; color: var(--blue); padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 100; top: 0; height: 124px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: .5rem clamp(1rem, 4vw, 3rem); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(0,0,0,.08); backdrop-filter: blur(14px); }
.header-logo--left { justify-self: start; width: auto; height: 70px; }
.logo-paris13 { width: auto; height: auto; max-height: 70px; object-fit: contain; }
.header-logo--center { position: absolute; left: 50%; transform: translateX(-50%); width: clamp(170px, 21vw, 280px); }
.header-logo--center img { width: 100%; }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: .75rem; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 1.25rem; color: white; background: var(--primary-color, #002FA7); border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.header-cta:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--primary-color, #002FA7) 25%, transparent); }
.header-cta__mobile { display: none; }
.menu-button { width: 48px; height: 48px; display: grid; align-content: center; gap: 6px; padding: 0 11px; color: var(--primary-color, #002FA7); background: transparent; border: 1px solid color-mix(in srgb, var(--primary-color, #002FA7) 25%, transparent); border-radius: 50%; cursor: pointer; }
.menu-button span { height: 2px; background: currentColor; transition: transform .25s ease; }

.site-menu { position: fixed; z-index: 130; inset: 0 0 0 auto; width: min(410px, 88vw); padding: 7.25rem 2rem 3rem; overflow-y: auto; background: var(--white); transform: translateX(102%); transition: transform .38s cubic-bezier(.22,.8,.25,1); box-shadow: -24px 0 60px rgba(0,0,0,.14); }
.site-menu.open { transform: translateX(0); }
.site-menu > .eyebrow { margin-bottom: 1.35rem; }
.site-menu a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 57px; padding: .85rem 0; color: var(--black); font: 500 clamp(1.18rem, 1.8vw, 1.45rem)/1.2 "DM Sans", Arial, sans-serif; text-decoration: none; border-bottom: 1px solid var(--line); transition: color .2s ease, padding-left .2s ease; }
.site-menu a span { flex: 0 0 auto; font-size: 1.2rem; font-weight: 700; }
.site-menu a:hover { padding-left: .35rem; color: var(--blue); }
.menu-close { position: absolute; top: 1.6rem; right: 1.6rem; width: 50px; height: 50px; display: grid; place-items: center; padding: 0; color: var(--black); border: 0; background: var(--gray); border-radius: 50%; font: 500 2rem/1 "DM Sans", Arial, sans-serif; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.menu-close:hover { background: #e7e7e7; transform: rotate(6deg); }
.menu-overlay { position: fixed; z-index: 120; inset: 0; background: rgba(0,0,0,.38); opacity: 0; visibility: hidden; transition: opacity .38s ease, visibility .38s ease; }
.menu-overlay.open { opacity: 1; visibility: visible; }

.hero { position: relative; min-height: calc(100svh - 88px); display: flex; align-items: center; padding: clamp(4rem, 8vw, 8rem) max(1.25rem, calc((100vw - var(--max)) / 2)); color: white; background: #021024; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(2,15,36,.96) 0%, rgba(2,15,36,.82) 38%, rgba(0,15,45,.12) 75%); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(0,0,0,.35)); pointer-events: none; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { background-position: center; background-size: cover; opacity: 0; transform: scale(1.015); transition: opacity 1.1s ease, transform 7s ease; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__content { position: relative; z-index: 2; width: min(710px, 100%); }
.eyebrow { margin: 0 0 1.2rem; color: var(--blue); font-size: .75rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow--light { color: #bcd0ff; }
h1, h2, h3 { color: var(--title-color, #000000); font-family: "Manrope", Arial, sans-serif; letter-spacing: -.045em; }
.hero h1, .cta h2 { color: white; }
h1 { margin: 0 0 1.6rem; font-size: clamp(3.1rem, 7vw, 6.5rem); line-height: .96; font-weight: 600; }
h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1.04; font-weight: 600; }
h3 { line-height: 1.15; }
.hero__lead { max-width: 650px; margin: 0 0 1rem; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.35; }
.hero__copy { max-width: 660px; margin: 0 0 2rem; color: rgba(255,255,255,.78); font-size: 1rem; }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.hero__number { position: absolute; z-index: 1; right: -2rem; bottom: -5rem; margin: 0; color: rgba(255,255,255,.08); font: 600 clamp(15rem, 30vw, 30rem)/.7 "Manrope", sans-serif; letter-spacing: -.12em; }
.hero__pagination { position: absolute; z-index: 3; right: max(1.25rem, calc((100vw - var(--max)) / 2)); bottom: 2rem; display: flex; gap: .65rem; }
.hero__pagination button { width: 10px; height: 10px; padding: 0; border: 1px solid rgba(255,255,255,.8); background: transparent; border-radius: 50%; cursor: pointer; transition: width .25s ease, background .25s ease; }
.hero__pagination button.is-active { width: 30px; background: white; border-radius: 999px; }
.button { display: inline-flex; gap: 1.5rem; align-items: center; justify-content: center; min-height: 54px; padding: .9rem 1.35rem; border: 1px solid transparent; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(0,0,0,.2); }
.button--light { border-color: rgba(255,255,255,.55); }
.button--light:hover { color: var(--blue); background: white; }
.button--white { color: var(--blue); background: white; }
.hero-marathon-mobile { display: none; }

.section { padding: clamp(5rem, 9vw, 9rem) max(1.25rem, calc((100vw - var(--max)) / 2)); }
.intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.intro__copy { border-left: 3px solid var(--blue); padding-left: 2rem; color: var(--muted); font-size: 1.13rem; }
.intro__copy p:first-child { color: var(--black); font-size: 1.4rem; }
.section-heading { max-width: 730px; margin-bottom: 3.5rem; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.1rem; }
.journey { background: var(--gray); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.step { position: relative; min-height: 300px; padding: 1.5rem; background: white; border: 1px solid transparent; border-radius: var(--radius); transition: .3s ease; }
.step:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--primary-color, #002FA7) 30%, transparent); box-shadow: var(--shadow); }
.step__number { color: #999; font-size: .78rem; }
.step__icon { float: right; width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: 1.4rem; }
.step__icon img { width: 26px; height: 26px; object-fit: contain; }
.step h3 { margin: 7rem 0 .65rem; color: var(--blue); font-size: 1.65rem; }
.step p { margin: 0; color: var(--muted); }

.audiences { background: white; }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.audience-grid article { position: relative; min-height: 250px; padding: 2.3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: .25s ease; }
.audience-grid article:hover { z-index: 1; color: white; background: var(--blue); }
.audience-grid span { font-size: .75rem; }
.audience-grid h3 { max-width: 350px; margin: 4rem 0 .7rem; font-size: 1.7rem; }
.audience-grid p { max-width: 490px; color: var(--muted); }
.audience-grid article:hover p { color: rgba(255,255,255,.78); }

.facts { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); background: var(--gray); }
.facts__intro > p:last-child { max-width: 470px; margin-top: 1.5rem; color: var(--muted); font-size: 1.1rem; }
.facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.facts__grid div { min-height: 145px; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__grid dt { margin-bottom: 2rem; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.facts__grid dd { margin: 0; font: 600 1.15rem/1.25 "Manrope", sans-serif; }
.cta { text-align: center; color: white; background: var(--blue); }
.cta h2 { margin-bottom: 1.5rem; }
.cta > p:not(.eyebrow) { max-width: 630px; margin: 0 auto 2.25rem; color: rgba(255,255,255,.78); font-size: 1.15rem; }

.site-footer { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 3rem; align-items: end; padding: 4rem max(1.25rem, calc((100vw - var(--max)) / 2)); color: white; background: var(--footer-color, #000000); }
.footer__partners { grid-column: 1 / -1; display: flex; gap: 2rem; align-items: center; padding-bottom: 3rem; border-bottom: 1px solid #292929; }
.footer__partners p { max-width: 720px; margin: 0; color: #aaa; }
.footer__partners p a { color: white; font-weight: 600; }
.partner-logo { flex: 0 0 auto; display: block; padding: .75rem; background: white; border-radius: .75rem; }
.partner-logo img { width: 130px; max-height: 58px; object-fit: contain; }
.partner-logo[hidden] { display: none; }
.footer__brand { display: flex; gap: 1.5rem; align-items: center; }
.footer__brand img { width: auto; max-width: 260px; max-height: 90px; object-fit: contain; }
.footer__brand p { color: #aaa; font-size: .85rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-footer a { text-decoration-color: #777; text-underline-offset: .35rem; }
.site-footer a:hover { color: #87a8ff; }
.footer__legal { margin: 0; color: #888; font-size: .78rem; }

@media (max-width: 850px) {
  .header-logo--center { width: 170px; }
  .header-cta { height: 44px; padding-inline: 1rem; font-size: .8rem; }
  .header-cta__desktop { display: none; }
  .header-cta__mobile { display: inline; }
  .intro, .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 600px) {
  .site-header { height: 72px; padding: .55rem .65rem; }
  .header-logo--left { width: 36px; height: 46px; }
  .header-logo--center { width: 105px; }
  .header-actions { gap: .3rem; }
  .header-cta { height: 36px; padding-inline: .6rem; font-size: .68rem; }
  .menu-button { width: 38px; height: 38px; padding-inline: 9px; }
  .hero { min-height: calc(100svh - 72px); background-position: 62% center; }
  .hero__slide { background-position: 62% center; }
  .hero__copy { font-size: .95rem; }
  .button { width: 100%; }
  .steps, .audience-grid, .facts__grid { grid-template-columns: 1fr; }
  .step { min-height: 255px; }
  .audience-grid article { min-height: 230px; padding: 1.6rem; }
  .audience-grid h3 { margin-top: 3rem; }
  .facts__grid div { min-height: 125px; }
  .footer__partners { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .footer__brand { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 768px) {
  .site-header {
    min-height: 131px;
    height: 131px;
    padding: 18px 24px;
    background: #fff;
    border-bottom-color: rgba(0,0,0,.08);
  }
  .header-logo--left {
    width: 50px;
    height: 50px;
  }
  .header-logo--left img {
    width: auto;
    max-height: 50px;
    object-fit: contain;
    filter: none;
  }
  .site-header .header-logo--center {
    left: 50%;
    width: 203px;
    max-width: 42vw;
  }
  .site-header .header-logo--center img {
    width: auto;
    max-width: min(170px, 100%);
    max-height: 63px;
    margin-inline: auto;
    object-fit: contain;
    filter: none;
  }
  .header-cta {
    display: none;
  }
  .menu-button {
    width: 34px;
    height: 34px;
    padding-inline: 8px;
    color: #002FA7;
    border-color: transparent;
  }
  .menu-button span {
    background: #002FA7;
  }
  .hero {
    min-height: calc(100svh - 131px);
  }
  .hero__pagination { right: 1.5rem; bottom: 1.25rem; }
  .hero-marathon-mobile {
    display: flex;
    margin: 0 0 14px;
  }
  .hero .hero-button,
  .hero .hero-marathon-mobile {
    width: 100%;
  }
  .hero-donation {
    display: none;
  }
  .site-menu { width: min(390px, 88vw); padding: 7rem 1.75rem 2.5rem; }
}

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