/* ============================================================
   AS ROMAGNAT ATHLÉTISME — Design system
   Couleurs CLUB : jaune & noir
   Couleurs ROMAGNATOISE : violet → rose → orange → rouge
   ============================================================ */

:root {
  /* === CLUB : jaune & noir === */
  --c-yellow:    #FFD500;
  --c-yellow-2:  #FFC107;
  --c-black:     #0a0a0a;
  --c-black-2:   #1a1a1a;
  --c-grey:      #2a2a2a;
  --c-pink-asr:  #ff8aa8;     /* clin d'œil au "athlétisme" rose du logo */

  /* Surfaces & texte */
  --c-surface:   #ffffff;
  --c-surface-2: #f7f7f4;
  --c-text:      #0a0a0a;
  --c-text-muted:#5a5a5a;
  --c-line:      #ececec;

  /* === ROMAGNATOISE : violet / rose / orange / rouge === */
  --c-roma-purple: #5b2a86;
  --c-roma-purple-2:#7b3fb0;
  --c-roma-pink:   #e6447b;
  --c-roma-orange: #ff7a2a;
  --c-roma-red:    #d62828;
  --c-roma-night:  #160d08;

  /* aligné sur l'identité volcanique de l'espace course */
  --grad-roma: linear-gradient(118deg, #ffb24d 0%, #ff7a2a 45%, #ff5a1f 72%, #d61f26 100%);

  --c-primary: var(--c-yellow);
  --c-on-primary: var(--c-black);
  --c-accent:  var(--c-black);

  --radius:   16px;
  --radius-lg:24px;
  --shadow:   0 10px 30px -10px rgba(0,0,0,.18);
  --shadow-lg:0 30px 60px -20px rgba(0,0,0,.35);

  --maxw: 1200px;
  --pad:  clamp(20px, 4vw, 48px);

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
}

.theme-roma {
  --c-primary: var(--c-roma-pink);
  --c-on-primary: #fff;
  --c-accent:  var(--c-roma-orange);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ----- Typo ----- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--c-text-muted); max-width: 60ch; }
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-black);
  padding: 6px 14px; border-radius: 999px;
  background: var(--c-yellow);
  margin-bottom: 1rem;
}
.eyebrow--light {
  color: #fff;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.theme-roma .eyebrow {
  background: rgba(255,255,255,.18);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hl { color: var(--c-yellow); background: var(--c-black); padding: 0 .25em; }
.theme-roma .hl { background: transparent; color: var(--c-yellow); padding: 0; }
.hl-roma {
  background: var(--grad-roma);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--c-text-muted); }
.light { color: #fff; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer; transition: all .25s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.btn--primary {
  background: var(--c-yellow); color: var(--c-black);
  box-shadow: 0 8px 24px -8px rgba(255,213,0,.6);
}
.btn--primary:hover { transform: translateY(-2px); background: #ffe44d; }
.btn--dark {
  background: var(--c-black); color: var(--c-yellow);
}
.btn--dark:hover { transform: translateY(-2px); background: #222; }
.btn--roma {
  background: var(--grad-roma);
  color: #fff;
  box-shadow: 0 12px 30px -10px var(--c-roma-pink);
  background-size: 200% 100%;
  background-position: 0% 50%;
}
.btn--roma:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
}
.btn--ghost {
  background: transparent; color: var(--c-text);
  border-color: var(--c-line);
}
.btn--ghost:hover { border-color: var(--c-black); }
.btn--ghost-light {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.18); }

/* ----- Brand / Logo officiel ----- */
.brand { display: flex; align-items: center; gap: 14px; color: var(--c-black); }
.brand__logo { height: 46px; width: auto; display: block; }
.brand__logo--dark { display: none; }
.nav.is-scrolled .brand__logo--light { display: none; }
.nav.is-scrolled .brand__logo--dark { display: block; }
.footer .brand__logo { height: 50px; }

/* ----- Brand / Logo CSS (ancien placeholder, conservé pour .theme-roma) ----- */
.brand { display: flex; align-items: center; gap: 14px; color: var(--c-black); }
.brand-logo {
  width: 56px; height: 56px;
  background: #fff;
  border: 2px solid var(--c-black);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-logo__as {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.5rem;
  color: var(--c-black);
  letter-spacing: -.06em;
  position: relative;
  z-index: 2;
}
.brand-logo__yellow {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 35%;
  background: var(--c-yellow);
  z-index: 1;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--c-black);
  text-transform: uppercase; letter-spacing: .02em;
}
.brand__text em {
  font-style: normal; font-size: .72rem;
  color: var(--c-pink-asr); font-weight: 600;
  text-transform: lowercase;
  letter-spacing: .05em;
}
.theme-roma .brand-logo {
  background: var(--c-black);
  border-color: var(--c-black);
}
.theme-roma .brand-logo__as { color: #fff; font-size: 1.1rem; }
.theme-roma .brand-logo__yellow {
  height: 40%;
  background: var(--grad-roma);
}
.theme-roma .brand__text strong { color: #fff; }
.theme-roma .brand__text em { color: var(--c-roma-orange); }

/* ----- NAV ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; transition: all .3s ease;
  background: transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--c-line);
}
.theme-roma .nav.is-scrolled {
  background: rgba(15, 8, 26, .92);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px var(--pad);
  display: flex; align-items: center; gap: 32px;
}
.nav .brand { color: #fff; }
.nav.is-scrolled .brand { color: var(--c-black); }
.theme-roma .nav .brand,
.theme-roma .nav.is-scrolled .brand { color: #fff; }
.theme-roma .nav .brand__text strong,
.theme-roma .nav.is-scrolled .brand__text strong { color: #fff; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  color: #fff; font-weight: 600; font-size: .9rem;
  position: relative; padding: 6px 0;
  text-transform: uppercase; letter-spacing: .05em;
}
.nav.is-scrolled .nav__links a { color: var(--c-black); }
.theme-roma .nav__links a,
.theme-roma .nav.is-scrolled .nav__links a { color: #fff; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--c-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.theme-roma .nav__links a::after { background: var(--c-roma-orange); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__back { opacity: .7; }
.nav__back::after { display: none; }

/* ----- Nav dropdown ("Le club") ----- */
.nav__item--has-sub { position: relative; display: flex; align-items: center; }
.nav__caret {
  display: inline-block; margin-left: 4px; font-size: .7em;
  transition: transform .25s ease;
}
.nav__item--has-sub:hover .nav__caret,
.nav__item--has-sub:focus-within .nav__caret { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: 0;
  min-width: 220px; padding: 10px 0;
  display: flex; flex-direction: column;
  background: rgba(15, 8, 26, .97);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub a {
  color: #fff; padding: 11px 22px; font-size: .82rem;
  white-space: nowrap;
}
.nav__sub a::after { display: none; }
.nav__sub a:hover,
.nav__sub a.active { background: rgba(255,255,255,.09); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  background: var(--c-yellow); border: none; border-radius: 10px;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  cursor: pointer; margin-left: auto;
}
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--c-black); }

/* ----- HERO ----- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.05); }
  to   { transform: scale(1.18) translateY(-2%); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.85) 100%),
    linear-gradient(120deg, rgba(255,213,0,.15), rgba(0,0,0,.4));
}
.hero__overlay--roma {
  background:
    linear-gradient(180deg, rgba(26,14,46,.4) 0%, rgba(26,14,46,.92) 100%),
    linear-gradient(120deg, rgba(91,42,134,.6) 0%, rgba(230,68,123,.4) 50%, rgba(255,122,42,.4) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: 140px var(--pad) 100px;
  width: 100%;
}
.hero__content--roma h1 { font-size: clamp(3rem, 9vw, 7rem); line-height: .92; text-transform: uppercase; }
.hero__sub {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400; font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0; margin-top: 18px; opacity: .9;
  text-transform: none;
}
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 56ch; opacity: .92; margin: 1.5rem 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  display: flex; gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(40px, 8vw, 80px);
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 28px;
}
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats strong {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--c-yellow);
}
.theme-roma .hero__stats strong { color: var(--c-roma-orange); }
.hero__stats span { font-size: .8rem; opacity: .75; text-transform: uppercase; letter-spacing: .12em; }

.hero__countdown {
  display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap;
}
.hero__countdown div {
  background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; padding: 16px 22px;
  display: flex; flex-direction: column; align-items: center;
  min-width: 88px;
}
.hero__countdown strong {
  font-family: var(--font-display); font-size: 2rem;
  background: var(--grad-roma);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__countdown span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }

.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1; width: 26px; height: 44px;
  border: 2px solid rgba(255,255,255,.5); border-radius: 20px;
  display: grid; place-items: center;
}
.hero__scroll span {
  width: 4px; height: 8px; background: var(--c-yellow); border-radius: 2px;
  animation: scrollDot 2s infinite;
}
.theme-roma .hero__scroll span { background: var(--c-roma-orange); }
@keyframes scrollDot {
  0%   { transform: translateY(-8px); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

.hero__edition {
  position: absolute; right: var(--pad); top: 50%;
  transform: translateY(-50%) rotate(8deg);
  width: clamp(160px, 18vw, 220px); height: clamp(160px, 18vw, 220px);
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-black);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display);
  box-shadow: 0 30px 60px -20px rgba(255,213,0,.6);
  animation: floatBadge 6s ease-in-out infinite;
  z-index: 1;
}
.hero__edition strong { display: block; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; }
.hero__edition span { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; display: block; }
.hero__edition em { font-style: normal; font-size: .85rem; margin-top: 4px; display: block; font-weight: 600; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(-50%) rotate(8deg) translateY(0); }
  50%      { transform: translateY(-50%) rotate(8deg) translateY(-12px); }
}
@media (max-width: 860px) { .hero__edition { display: none; } }

/* ----- Sections ----- */
.section { padding: clamp(60px, 10vw, 120px) 0; }
.section--alt { background: var(--c-surface-2); }
.section--dark { background: var(--c-black); color: #fff; }
.section--dark .lead { color: rgba(255,255,255,.7); }
.section--roma-night {
  background: linear-gradient(180deg, var(--c-roma-night) 0%, #0e0518 100%);
  color: #fff;
}
.section--roma-night .lead { color: rgba(255,255,255,.75); }
.section__head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head .lead { margin: 0 auto; }

/* ----- Marquee ----- */
.marquee {
  background: var(--c-yellow);
  color: var(--c-black);
  padding: 18px 0;
  overflow: hidden;
  border-top: 2px solid var(--c-black);
  border-bottom: 2px solid var(--c-black);
}
.marquee__track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; text-transform: uppercase;
  letter-spacing: .08em;
}
.marquee__track span::after { content: " ★ "; margin-left: 48px; color: var(--c-black); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.theme-roma .marquee {
  background: var(--grad-roma);
  color: #fff; border-color: transparent;
}

/* ----- Grid 2 ----- */
.grid-2 {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: 1fr 1fr; align-items: center;
}
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 1.5rem 0; }
.checks li { padding-left: 36px; position: relative; margin-bottom: 14px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px;
  background: var(--c-yellow); color: var(--c-black);
  border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
}
.theme-roma .checks li::before { background: var(--grad-roma); color: #fff; }

/* ----- Club photos ----- */
.club__media { position: relative; aspect-ratio: 1; }
.club__photo {
  position: absolute; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.club__photo img { width: 100%; height: 100%; object-fit: cover; }
.club__photo--1 { top: 0; right: 0; width: 65%; aspect-ratio: 3/4; }
.club__photo--2 { bottom: 0; left: 0; width: 60%; aspect-ratio: 4/3; border: 8px solid var(--c-surface); }
.club__sticker {
  position: absolute; top: 50%; right: -20px;
  transform: translateY(-50%) rotate(-8deg);
  background: var(--c-yellow); color: var(--c-black);
  padding: 18px 24px; border-radius: 16px;
  font-family: var(--font-display);
  border: 3px solid var(--c-black);
  display: flex; flex-direction: column; line-height: 1.2;
  z-index: 2;
}
.club__sticker strong { font-size: 1.3rem; }
.club__sticker span { font-size: .8rem; }

/* ----- Icônes monoline ----- */
.ico {
  width: 26px; height: 26px; display: block; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ----- Cards activités ----- */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--c-surface);
  padding: 34px;
  border-radius: 20px;
  border: 1px solid var(--c-line);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--c-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--c-black); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--c-yellow);
  color: var(--c-black);
  border-radius: 16px;
  margin-bottom: 20px;
  transition: transform .35s ease;
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); }
.card__icon .ico { width: 28px; height: 28px; }
.card h3 { color: var(--c-black); }
.card p { color: var(--c-text-muted); margin: 0 0 16px; }
.card__tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-black);
  padding: 5px 12px; border-radius: 999px;
  background: var(--c-yellow);
  border: 1.5px solid var(--c-black);
}

.cta-line {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 48px; flex-wrap: wrap;
}
.cta-line p { margin: 0; color: var(--c-text-muted); }

/* ----- Tarifs ----- */
.tarif__formula {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
}
.tarif__formula:last-of-type { margin-bottom: 0; }
.tarif__formula h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  color: var(--c-black);
}
.tarif__note { font-size: .85rem; color: var(--c-text-muted); margin: 0 0 12px; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding: 7px 0;
  border-bottom: 1px dashed var(--c-line);
}
.price-list li:last-child { border-bottom: none; }
.price-list .label { color: var(--c-text); }
.price-list .price {
  font-family: var(--font-display); font-weight: 700;
  color: var(--c-black); white-space: nowrap;
}
.price-list .price--accent {
  background: var(--c-yellow); padding: 1px 8px; border-radius: 999px;
}

/* ----- Valeurs ----- */
.values__grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.value {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--c-black);
  color: #fff;
  border-bottom: 6px solid var(--c-yellow);
  transition: all .3s ease;
}
.value:hover { transform: translateY(-6px); border-bottom-width: 12px; }
.value__num {
  font-family: var(--font-display);
  font-size: 2.5rem; color: var(--c-yellow); font-weight: 700;
  margin-bottom: 12px; line-height: 1;
}
.value h3 { margin-bottom: 8px; color: #fff; }
.value p { color: rgba(255,255,255,.75); margin: 0; }

/* ----- Romagnatoise feature on home ----- */
.roma-feature {
  background: var(--c-roma-night);
  color: #fff;
  position: relative; overflow: hidden;
}
.roma-feature::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-roma);
  opacity: .25;
  z-index: 0;
}
.roma-feature .container { position: relative; z-index: 1; }
.roma-feature__inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
@media (max-width: 860px) { .roma-feature__inner { grid-template-columns: 1fr; } }
.roma-feature h2 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); text-transform: uppercase; }
.roma-feature .lead { color: rgba(255,255,255,.85); }
.roma-distances {
  display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0;
}
.roma-distances > div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex; flex-direction: column; align-items: center;
  min-width: 80px;
}
.roma-distances strong {
  font-family: var(--font-display); font-size: 1.8rem;
  background: var(--grad-roma);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.roma-distances span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.roma-distances .alt strong {
  background: none; -webkit-text-fill-color: var(--c-yellow);
  color: var(--c-yellow); font-size: 1.4rem;
}
.roma-feature__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.roma-feature__visual { position: relative; aspect-ratio: 1; }
.roma-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 80%; max-width: 280px; aspect-ratio: 1; border-radius: 50%;
  background: var(--grad-roma);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); color: #fff;
  box-shadow: 0 30px 80px -20px var(--c-roma-pink);
}
.roma-badge__inner {
  width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: var(--c-roma-night);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.14);
}
.roma-badge strong { font-size: 3rem; line-height: 1; display: block; color: var(--c-yellow); }
.roma-badge span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; display: block; margin: 6px 0; }
.roma-badge em { font-style: normal; font-size: .85rem; font-weight: 600; display: block; }
.roma-badge__ring { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----- Roma : parcours ----- */
.parcours {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.parcours__card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  position: relative; overflow: hidden;
  transition: all .3s ease;
  --card-color: var(--c-roma-pink);
}
.parcours__card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--card-color) 0%, transparent 65%);
  opacity: 0; transition: opacity .35s;
}
.parcours__card:hover {
  transform: translateY(-6px);
  border-color: var(--card-color);
  box-shadow: 0 20px 40px -10px var(--card-color);
}
.parcours__card:hover::before { opacity: .25; }
.parcours__card > * { position: relative; z-index: 1; }
.parcours__card header {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 12px;
}
.parcours__card header strong {
  font-family: var(--font-display); font-size: 3.6rem; line-height: 1;
  color: var(--card-color);
}
.parcours__card header span {
  font-size: 1rem; opacity: .7; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
}
.parcours__card h3 {
  color: #fff; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: .04em;
}
.parcours__card .label-mn {
  display: inline-block; font-size: .65rem;
  background: var(--c-roma-purple); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 8px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.parcours__card ul { list-style: none; padding: 0; margin: 16px 0; }
.parcours__card li {
  padding: 8px 0; font-size: .9rem;
  border-bottom: 1px dashed rgba(255,255,255,.1);
  display: flex; justify-content: space-between;
}
.parcours__card li b { opacity: .6; font-weight: 500; }
.parcours__card p { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0 0 16px; }
.parcours__card .more {
  font-size: .8rem; font-weight: 700; color: var(--card-color);
  letter-spacing: .1em; text-transform: uppercase;
}

/* ----- Labels ----- */
.labels {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: center; align-items: center;
  margin-top: 32px;
}
.label-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700;
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff;
}
.label-pill__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-roma-orange);
}
.label-pill--bronze .label-pill__dot { background: #cd7f32; }
.label-pill--itra .label-pill__dot   { background: var(--c-roma-pink); }
.label-pill--utmb .label-pill__dot   { background: var(--c-roma-purple); }

/* ----- Info pratiques ----- */
.info-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.info {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.info:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--c-black); }
.info__ico {
  color: var(--c-black);
  width: 56px; height: 56px;
  background: var(--c-yellow);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.info__ico .ico { width: 26px; height: 26px; }
.info h4 { font-family: var(--font-display); margin: 0 0 4px; }
.info p { color: var(--c-text-muted); margin: 0; font-size: .95rem; }

/* ----- Timeline ----- */
.timeline {
  list-style: none; padding: 0; margin: 0 auto;
  max-width: 720px; position: relative;
}
.timeline::before {
  content: ""; position: absolute;
  left: 110px; top: 8px; bottom: 8px; width: 3px;
  background: var(--grad-roma);
  border-radius: 2px;
}
.timeline li {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 32px; padding: 18px 0;
  position: relative;
}
.timeline li::before {
  content: ""; position: absolute;
  left: 102px; top: 28px;
  width: 18px; height: 18px;
  background: var(--c-roma-pink); border-radius: 50%;
  border: 4px solid var(--c-roma-night);
  box-shadow: 0 0 0 2px var(--c-roma-pink);
}
.timeline .t {
  font-family: var(--font-display); font-weight: 700;
  color: var(--c-roma-orange); text-transform: uppercase;
  letter-spacing: .08em; font-size: .9rem;
}
.timeline h4 { margin: 0 0 4px; color: #fff; }
.timeline p { margin: 0; color: rgba(255,255,255,.65); font-size: .92rem; }
@media (max-width: 600px) {
  .timeline::before { left: 8px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; }
  .timeline li::before { left: 0; top: 28px; }
}

/* ----- Roma CTA ----- */
.roma-cta {
  background: var(--c-roma-night);
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.roma-cta::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-roma); opacity: .35;
}
.roma-cta .container { position: relative; z-index: 1; }
.roma-cta__inner { max-width: 800px; margin: 0 auto; }
.roma-cta h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); text-transform: uppercase; }
.roma-cta .lead { color: rgba(255,255,255,.85); margin: 0 auto 32px; }
.roma-cta__buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 60px;
}
.roma-cta__partners { margin-top: 40px; }
.partners {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 16px;
}
.partners > div {
  padding: 10px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  font-size: .82rem; opacity: .85;
  font-weight: 600;
}

/* ----- Join form ----- */
.join__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
@media (max-width: 860px) { .join__inner { grid-template-columns: 1fr; } }
.join__form {
  background: var(--c-surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: 18px;
}
.join__form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .8rem; font-weight: 700; color: var(--c-black);
  text-transform: uppercase; letter-spacing: .08em;
}
.join__form input, .join__form select, .join__form textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  font-size: 1rem; font-family: inherit;
  background: var(--c-surface-2);
  transition: all .2s;
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.join__form input:focus,
.join__form select:focus,
.join__form textarea:focus {
  outline: none;
  border-color: var(--c-black);
  background: var(--c-surface);
  box-shadow: 0 0 0 4px var(--c-yellow);
}
.join__ok { color: #16a34a; font-weight: 700; }

/* ----- Tableau entrainements ----- */
.schedule {
  display: grid; gap: 24px;
}
.schedule__group {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.schedule__head {
  background: var(--c-black); color: var(--c-yellow);
  padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.schedule__head h3 {
  margin: 0; color: var(--c-yellow); text-transform: uppercase;
  letter-spacing: .04em;
  display: flex; align-items: center; gap: 12px;
}
.schedule__head h3 .ico { width: 22px; height: 22px; color: var(--c-yellow); }
.schedule__contact { font-size: .85rem; opacity: .85; color: rgba(255,255,255,.85); }
.schedule__body { padding: 8px 0; }
.schedule__row {
  display: grid; grid-template-columns: 130px 110px 1fr;
  gap: 20px; padding: 16px 28px;
  border-top: 1px solid var(--c-line);
  align-items: center;
}
.schedule__row:first-child { border-top: none; }
.schedule__day {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; font-size: .9rem;
  letter-spacing: .06em;
}
.schedule__hour {
  background: var(--c-yellow); color: var(--c-black);
  padding: 6px 12px; border-radius: 8px;
  font-weight: 700; text-align: center;
  font-family: var(--font-display); font-size: .9rem;
}
.schedule__loc { color: var(--c-text-muted); font-size: .92rem; }
.schedule__loc a { color: var(--c-black); font-weight: 600; border-bottom: 2px solid var(--c-yellow); }
@media (max-width: 640px) {
  .schedule__row { grid-template-columns: 1fr; gap: 6px; }
}

/* ----- Contact ----- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 64px);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact__item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--c-line);
}
.contact__item:last-child { border-bottom: none; }
.contact__ico {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--c-yellow); color: var(--c-black);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact__ico .ico { width: 24px; height: 24px; }
.contact__item h4 { margin: 0 0 2px; }
.contact__item p, .contact__item a { margin: 0; color: var(--c-text-muted); }
.contact__item a:hover { color: var(--c-black); }

/* ----- Footer ----- */
.footer {
  background: var(--c-black); color: rgba(255,255,255,.7);
  padding: 80px 0 24px;
}
.footer--roma { background: var(--c-roma-night); }
.footer__inner {
  display: grid; gap: 40px;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  margin-bottom: 48px;
}
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__inner { grid-template-columns: 1fr; } }
.footer h4 {
  color: var(--c-yellow); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .15em; margin-bottom: 16px;
}
.footer--roma h4 {
  background: var(--grad-roma); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer a { display: block; padding: 4px 0; opacity: .75; transition: opacity .2s; }
.footer a:hover { opacity: 1; color: var(--c-yellow); }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer .brand__text strong { color: #fff; }
.footer__bottom {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 16px;
  text-align: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem; opacity: .6;
}
.footer__bottom a { display: inline; padding: 0; }

/* ----- Reveal animation ----- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__bg img, .roma-badge__ring, .marquee__track, .hero__edition {
    animation: none !important; transition: none !important;
    transform: none !important; opacity: 1 !important;
  }
}

/* ----- Mobile nav ----- */
@media (max-width: 860px) {
  .nav__links {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--c-black);
    flex-direction: column; padding: 84px var(--pad) 28px;
    gap: 18px;
    transform: translateY(-100%); transition: transform .3s ease;
  }
  .nav__links a { color: #fff; font-size: 1.1rem; }
  .nav.is-scrolled .nav__links a,
  .theme-roma .nav__links a { color: #fff; }
  .nav__links.is-open { transform: translateY(0); }
  .nav__burger { display: flex; margin-left: auto; }
  .nav .btn--sm { display: none; }

  .nav__item--has-sub { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav__caret { display: none; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; box-shadow: none;
    padding: 0 0 0 16px; margin-top: 2px; gap: 16px;
    border-left: 2px solid rgba(255,255,255,.18);
  }
  .nav__sub a { padding: 0; font-size: 1rem; }
  .nav__sub a:hover,
  .nav__sub a.active { background: transparent; }
}

/* ============================================================
   PAGES CLUB — sous-pages texte (charte) & équipe (bureau)
   ============================================================ */

/* ----- Hero compact des sous-pages club ----- */
.club-hero {
  position: relative; overflow: hidden;
  background: var(--c-black); color: #fff;
  padding: clamp(120px, 16vw, 180px) 0 clamp(48px, 7vw, 80px);
}
.club-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(62% 80% at 85% 0%, rgba(255,213,0,.18), transparent 60%);
}
.club-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--c-yellow);
}
.club-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.club-hero .eyebrow { background: var(--c-yellow); color: var(--c-black); }
.club-hero__crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.club-hero__crumbs a { color: rgba(255,255,255,.6); }
.club-hero__crumbs a:hover { color: var(--c-yellow); }
.club-hero h1 { color: #fff; }
.club-hero h1 .hl { color: var(--c-black); background: var(--c-yellow); }
.club-hero__lead { color: rgba(255,255,255,.82); max-width: 64ch; margin-top: 16px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }

/* ----- Layout document (sommaire + corps) ----- */
.doc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 24px; } }
.doc-toc {
  position: sticky; top: 96px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 18px; padding: 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
@media (max-width: 900px) { .doc-toc { position: static; } }
.doc-toc h2 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: .85rem; letter-spacing: .1em; color: var(--c-text-muted);
  margin: 0 0 14px;
}
.doc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.doc-toc li { margin: 0; counter-increment: toc; }
.doc-toc a {
  display: flex; gap: 12px; align-items: baseline;
  padding: 8px 0; color: var(--c-text); font-size: .92rem; line-height: 1.35;
  border-bottom: 1px solid var(--c-line);
}
.doc-toc li:last-child a { border-bottom: 0; }
.doc-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700;
  color: var(--c-text-muted); font-size: .8rem; min-width: 26px;
}
.doc-toc a:hover { color: var(--c-black); }
.doc-toc a:hover::before { color: var(--c-black); }

.doc-body { max-width: 760px; }
.doc-article {
  padding: 0 0 36px; margin: 0 0 36px;
  border-bottom: 1px solid var(--c-line); scroll-margin-top: 100px;
}
.doc-article:last-of-type { border-bottom: 0; margin-bottom: 0; }
.doc-article h2 { font-size: 1.7rem; margin: 0 0 8px; line-height: 1.15; }
.doc-article__eyebrow {
  display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-text-muted); margin-bottom: 8px; font-weight: 700;
}
.doc-article h3 {
  font-family: var(--font-display); font-size: 1.1rem;
  margin: 28px 0 10px; color: var(--c-black);
  display: inline-flex; align-items: center; gap: 10px;
}
.doc-article h3::before {
  content: ""; width: 22px; height: 3px; background: var(--c-yellow); border-radius: 2px;
}
.doc-article p { color: var(--c-text); line-height: 1.75; margin: 0 0 14px; }
.doc-article ul { margin: 0 0 16px; padding-left: 1.3em; }
.doc-article li { color: var(--c-text); line-height: 1.7; margin: 0 0 8px; }
.doc-article li::marker { color: var(--c-yellow-2); }
.doc-article a { color: var(--c-black); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--c-yellow-2); }
.doc-lead { font-size: 1.15rem; line-height: 1.7; color: var(--c-text); margin: 0 0 28px; }

.doc-note {
  background: var(--c-surface-2); border-left: 4px solid var(--c-yellow);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 0 0 16px;
}
.doc-note p { margin: 0; }
.doc-sign { font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; margin-top: 24px; }

/* ----- Cartes équipe (bureau & référents) ----- */
.team-group { margin-bottom: clamp(40px, 6vw, 64px); }
.team-group:last-child { margin-bottom: 0; }
.team-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.team-group__head h2 { margin: 0; }
.team-group__count {
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  color: var(--c-black); background: var(--c-yellow);
  border: 1.5px solid var(--c-black); border-radius: 999px; padding: 4px 12px;
}
.team-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.team-card {
  position: relative; overflow: hidden;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 18px; padding: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.team-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--c-yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--c-black); }
.team-card:hover::before { transform: scaleX(1); }
.team-card__avatar {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--c-black); color: var(--c-yellow);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .02em;
}
.team-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--c-black); margin: 0 0 6px; }
.team-card__role { color: var(--c-text-muted); font-size: .92rem; margin: 0 0 16px; min-height: 2.6em; }
.team-card__role b { color: var(--c-black); font-weight: 600; }
.team-card__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; color: var(--c-black);
  text-decoration: none;
}
.team-card__phone svg { width: 16px; height: 16px; flex-shrink: 0; }
.team-card__phone:hover { color: var(--c-yellow-2); }
.team-card__phone--none { color: var(--c-text-muted); font-weight: 500; font-size: .85rem; font-style: italic; }

.team-address {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--c-black); color: #fff;
  border-radius: 16px; padding: 18px 24px; margin-bottom: 40px;
}
.team-address svg { width: 24px; height: 24px; color: var(--c-yellow); flex-shrink: 0; }
.team-address strong { font-family: var(--font-display); }
.team-address span { color: rgba(255,255,255,.75); }
