/* Libre Effort — feuille de style commune
   Polices hébergées sur le site (aucun appel externe) : Bodoni Moda (titres), Figtree (texte).
   Palette reprise du flyer : bleu piste, crème, encre. */

@font-face { font-family: "Bodoni Moda"; font-weight: 400; font-display: swap; src: url("fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 500; font-display: swap; src: url("fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 600; font-display: swap; src: url("fonts/bodoni-moda-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 700; font-display: swap; src: url("fonts/bodoni-moda-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --blue: #3e5890;      /* bleu piste */
  --blue-deep: #2f4677;
  --sky: #b4cbff;       /* surtitres sur fond bleu */
  --accent: #2c62d6;    /* numéros */
  --cream: #f5ead8;
  --ink: #221f1d;
  --ink-soft: #4d4741;
  --line: #d9cbb3;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

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

.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------- En-tête ---------- */
.top { background: var(--blue); color: var(--cream); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.mark { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .28em; text-transform: uppercase; text-decoration: none; }
.top-cta {
  font-size: 16px; font-weight: 600; text-decoration: none;
  border: 1.5px solid rgba(245,234,216,.6); border-radius: 999px; padding: 8px 20px;
}
.top-cta:hover { background: var(--cream); color: var(--blue); }

/* ---------- Héros ---------- */
.hero { background: var(--blue); color: var(--cream); position: relative; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 24px;
}
.hero .kicker { color: var(--sky); }
.hero .kicker span { display: block; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(68px, 11vw, 156px);
  line-height: .92;
  letter-spacing: -.015em;
  margin-top: 28px;
}
.hero .lede {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.32;
  max-width: 28ch;
  margin-top: 32px;
}
.hero .lede em { font-style: normal; border-bottom: 2px solid var(--sky); }

.visual { position: relative; justify-self: end; width: min(100%, 460px); aspect-ratio: 1; }
.visual .photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.visual .photo img { width: 100%; height: 100%; object-fit: cover; }
/* Cercle noir : placé sur la tête de l'athlète */
.visual .dot {
  position: absolute;
  width: 40%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  left: -1%; top: 51%;
}

/* Lignes de piste : transition bleu → crème */
.lanes { display: block; width: 100%; height: clamp(90px, 14vw, 200px); margin-top: -1px; }

/* ---------- Toutes disciplines ---------- */
.disciplines { padding: 40px 0 8px; }
.disciplines .kicker { color: var(--blue); }
.disciplines .big {
  font-size: clamp(28px, 4.4vw, 52px);
  letter-spacing: .14em;
  line-height: 1.15;
}

/* ---------- Manifeste + thèmes ---------- */
.intro { padding: 64px 0 96px; }
.statement {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.18;
  max-width: 24ch;
}
.tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; list-style: none; max-width: 820px; }
.tags li {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 9px 22px;
  font-weight: 500;
  font-size: 18px;
}
.tags li.on { background: var(--blue); border-color: var(--blue); color: var(--cream); }

/* ---------- Approche ---------- */
.approach { padding: 0 0 104px; }
.approach .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.approach figure img { border-radius: 240px 240px 6px 6px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.approach h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; margin: 14px 0 36px; }
.approach .kicker { color: var(--blue); }
.steps { list-style: none; display: grid; gap: 30px; }
.steps li { display: grid; grid-template-columns: 80px 1fr; align-items: baseline; gap: 8px 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.steps .n { font-family: var(--serif); font-weight: 700; font-size: 46px; line-height: 1; color: var(--accent); }
.steps h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.8vw, 36px); line-height: 1; }
.steps p { color: var(--ink-soft); }

/* ---------- Préinscription ---------- */
.signup { background: var(--blue); color: var(--cream); }
.signup .lanes { background: var(--blue); }
.signup-inner { padding-top: 24px; padding-bottom: 96px; text-align: center; }
.signup .kicker { color: var(--sky); }
.signup h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(40px, 6vw, 76px); line-height: 1.02;
  margin: 16px auto 0; max-width: 16ch;
}
.signup .pitch { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.55; max-width: 40ch; margin: 26px auto 0; }
.signup .pitch strong { font-weight: 600; }

.form { max-width: 760px; margin: 44px auto 0; text-align: left; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label.field { display: block; }
.form .lbl { display: block; font-size: 16px; font-weight: 600; margin: 0 0 8px 6px; }
.form .opt { font-weight: 400; opacity: .75; }
.form input[type="email"], .form input[type="text"], .form select {
  width: 100%; font: inherit; font-size: 19px; color: var(--cream);
  background: transparent; border: 1.5px solid rgba(245,234,216,.7); border-radius: 999px;
  padding: 16px 24px; appearance: none; -webkit-appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23f5ead8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 22px center; padding-right: 52px;
}
.form select option { color: var(--ink); }
.form input::placeholder { color: rgba(245,234,216,.7); }
.form .consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 16px; line-height: 1.5; }
.form .consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--cream); }
.form .consent a { color: var(--cream); }
.form button {
  display: block; width: 100%; margin-top: 26px;
  font: inherit; font-size: 19px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); background: var(--cream); border: 0; border-radius: 999px;
  padding: 18px 28px; cursor: pointer; transition: background .2s, color .2s;
}
.form button:hover { background: var(--ink); color: var(--cream); }
.form .hp { position: absolute; left: -9999px; }
.form .note { font-size: 15px; opacity: .8; text-align: center; margin-top: 16px; }
.form .status { margin-top: 18px; padding: 14px 20px; border-radius: 18px; font-size: 16px; text-align: center; background: rgba(245,234,216,.14); }
.form .status[hidden] { display: none; }
.form .status a { color: var(--cream); }
.form button[disabled] { opacity: .6; cursor: wait; }

/* ---------- Bandeau contact ---------- */
.cta { padding: 72px 0; }
.band {
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 22px 22px 22px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
}
.band strong { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); }
.band .links { display: flex; flex-wrap: wrap; gap: 10px; }
.band a {
  text-decoration: none; font-weight: 500; font-size: 18px;
  border: 1.5px solid rgba(245,234,216,.4); border-radius: 999px; padding: 10px 22px;
  transition: background .2s, border-color .2s, color .2s;
}
.band a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ---------- Pages secondaires (mentions, merci) ---------- */
.legal-head { background: var(--blue); color: var(--cream); }
.legal-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(46px, 7vw, 80px); line-height: 1; padding: 40px 0 8px; }
.legal { padding: 24px 0 80px; }
.legal .wrap, .legal-head .wrap { max-width: 840px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 27px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); max-width: 66ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin-top: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.back { display: inline-block; margin-top: 44px; font-weight: 600; }

/* ---------- Pied de page ---------- */
footer { border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 32px; }

/* ---------- Tablette / mobile ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; }
  .visual { justify-self: center; width: min(80%, 360px); order: -1; }
  .approach .wrap { grid-template-columns: 1fr; gap: 40px; }
  .approach figure { max-width: 440px; }
  .form .row { grid-template-columns: 1fr; }
  .band { border-radius: 28px; padding: 28px; }
}
@media (max-width: 480px) {
  :root { --gutter: 18px; }
  body { font-size: 18px; }
  .top-cta { font-size: 15px; padding: 7px 16px; }
  .mark { font-size: 16px; letter-spacing: .22em; }
  .intro { padding: 48px 0 72px; }
  .steps li { grid-template-columns: 58px 1fr; }
  .steps .n { font-size: 36px; }
  .tags li { font-size: 17px; }
  .band a { flex: 1 1 auto; text-align: center; }
}

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