/* =====================================================================
   HOPPY — shared site styles (header, footer, typography, components).
   Loaded after main.css on every page that has body.site; the home page
   adds home.css on top.
   ===================================================================== */

:root {
  --ink: #1d2a5d;
  --ink-2: #26366f;
  --ink-3: #304384;
  --blue: #004cf2;
  --blue-2: #3d7bff;
  --violet: #2a4fd6;
  --orange: #f3a031;
  --pink: #ff8a65;
  --mint: #2dd4a7;
  --paper: #f7f9ff;
  --paper-2: #fff3e0;
  --text: #1d2a5d;
  --muted: #60698d;
  --line: rgba(29, 42, 93, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);
  --radius: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Nunito", system-ui, sans-serif;
  --font-mono: "Nunito", system-ui, sans-serif;
  --header-h: 76px;
}

body.site {
  background: var(--paper);
  color: var(--muted);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

html:has(body.site) { scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }

.site h1, .site h2, .site h3, .site h4 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.site img { max-width: 100%; height: auto; }
.site ::selection { background: var(--blue); color: #fff; }
.site :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.site .container { max-width: 1240px; padding-left: 24px; padding-right: 24px; }
@media (max-width: 575px) { .site .container { padding-left: 16px; padding-right: 16px; } }

/* ── Reveal on scroll ─────────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
/* Above-the-fold content (LCP candidates): move only, never start invisible. */
.js [data-reveal="lift"] { opacity: 1; transform: none; transition: none; animation: site-lift 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes site-lift { from { transform: translate3d(0, 28px, 0); } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; animation: none; }
  .site *, .site *::before, .site *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ── Scroll progress ──────────────────────────────────────────────── */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--blue-2));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* ── Header ───────────────────────────────────────────────────────── */
.hh {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  padding: 14px 16px 0;
  transition: transform 0.5s var(--ease);
}
.hh.is-hidden { transform: translateY(-110%); }
.hh__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  height: 60px; padding: 0 10px 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hh.is-scrolled .hh__inner {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-color: rgba(20, 27, 69, 0.08);
  box-shadow: 0 10px 40px -12px rgba(10, 14, 46, 0.25);
}
.hh__brand { display: flex; align-items: center; gap: 8px; flex: none; }
.hh__brand .hh__logo { height: 34px; width: auto; transition: transform 0.6s var(--ease); }
.hh__brand:hover .hh__logo { transform: rotate(-12deg) scale(1.08); }
.hh__brand .hh__wordmark { height: 22px; width: auto; }
.hh__nav { margin-left: auto; }
.hh__links { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hh__links > li > a:not(.hh__cta) {
  position: relative; display: block;
  padding: 8px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, 0.86); font-weight: 700; font-size: 15px;
  transition: color 0.25s, background 0.25s;
}
.hh__links > li > a:not(.hh__cta):hover,
.hh__links > li > a.active { color: #fff; background: rgba(255, 255, 255, 0.12); }
.hh.is-scrolled .hh__links > li > a:not(.hh__cta) { color: var(--text); }
.hh.is-scrolled .hh__links > li > a:not(.hh__cta):hover,
.hh.is-scrolled .hh__links > li > a.active { background: var(--paper-2); color: var(--blue); }
.hh__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.hh__cta:hover { transform: translateY(-2px); color: var(--blue); }
.hh.is-scrolled .hh__cta { background: var(--blue); color: #fff; }
.hh.is-scrolled .hh__cta:hover { background: var(--ink); color: #fff; }
.hh .nav-item-lang { display: flex; align-items: center; padding: 0 6px; }
.hh.is-scrolled .lang-switch { border-color: #dfe4ee; }
.hh.is-scrolled .lang-switch__btn { color: var(--muted); }
.hh.is-scrolled .lang-switch__btn:hover { background: var(--paper-2); }
.hh.is-scrolled .lang-switch__btn.is-active { background: var(--blue); color: #fff; }

.hh__toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.14); position: relative; cursor: pointer;
}
.hh__toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease), background 0.3s;
}
.hh__toggle span:nth-child(1) { top: 19px; }
.hh__toggle span:nth-child(2) { top: 26px; }
.hh.is-scrolled .hh__toggle { background: var(--paper-2); }
.hh.is-scrolled .hh__toggle span { background: var(--text); }
.hh.is-open .hh__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hh.is-open .hh__toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 991px) {
  .hh__toggle { display: block; }
  .hh__nav {
    position: fixed; left: 12px; right: 12px; top: 84px;
    padding: 12px; border-radius: 24px;
    background: #fff; box-shadow: 0 30px 80px -20px rgba(10, 14, 46, 0.45);
    opacity: 0; visibility: hidden; transform: translateY(-12px) scale(0.98); transform-origin: top center;
    transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0.35s;
  }
  .hh.is-open .hh__nav { opacity: 1; visibility: visible; transform: none; }
  .hh.is-open .hh__toggle { background: #fff; }
  .hh.is-open .hh__toggle span { background: var(--text); }
  .hh__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .hh__links > li > a:not(.hh__cta) { color: var(--text); font-size: 18px; padding: 14px 16px; border-radius: 14px; }
  .hh__links > li > a:not(.hh__cta):hover { background: var(--paper-2); color: var(--blue); }
  .hh__cta-item { order: 10; margin-top: 8px; }
  .hh__cta { width: 100%; justify-content: center; padding: 14px; background: var(--blue); color: #fff; font-size: 17px; }
  .hh .nav-item-lang { padding: 8px 10px; }
  .hh .lang-switch { border-color: #dfe4ee; }
  .hh .lang-switch__btn { color: var(--muted); padding: 8px 12px; }
  .hh .lang-switch__btn.is-active { background: var(--blue); color: #fff; }
}

/* ── Buttons & shared bits ───────────────────────────────────────── */
.btn-x {
  --bg: var(--blue); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 800; font-size: 16px; line-height: 1;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.3s;
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--bg) 70%, transparent);
}
.btn-x::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn-x:hover { color: #fff; transform: translateY(-2px); }
.btn-x:hover::before { transform: none; }
.btn-x i { transition: transform 0.4s var(--ease); }
.btn-x:hover i { transform: translateX(4px); }
.btn-x--ghost { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn-x--light { --bg: #fff; --fg: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px; font-family: var(--font-mono); font-size: 14px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before {
  content: attr(data-num);
  display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px;
  border-radius: 999px; background: var(--orange); color: #fff; font-size: 13px;
}
.eyebrow::after { content: ""; width: 40px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.5; }
.sec--dark .eyebrow { color: #ffc46b; }
.sec--dark .eyebrow::before { background: var(--orange); color: #fff; }

.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec--dark { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--white { background: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-title { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; margin: 0; }
.sec-lead { margin: 22px 0 0; font-size: clamp(17px, 1.6vw, 19px); }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 64px; align-items: end; }
.sec-head--split .sec-lead { margin: 0; }
@media (max-width: 991px) { .sec-head--split { grid-template-columns: 1fr; } }

/* ── 03 · Activities ──────────────────────────────────────────────── */
.site #upcoming-activities { scroll-margin-top: calc(var(--header-h) + 8px); }
.acts__controls { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.site .sa-tabs-wrap, .site .sa-pills-wrap {
  justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 4px 2px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.site .sa-tabs-wrap::-webkit-scrollbar, .site .sa-pills-wrap::-webkit-scrollbar { display: none; }
.site .sa-tabs-wrap { gap: 6px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); width: max-content; max-width: 100%; }
.site .sa-tab {
  flex: none; border: 0; padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 800;
  color: var(--muted); background: transparent; transition: color 0.3s, background 0.4s var(--ease), box-shadow 0.4s;
}
.site .sa-tab:hover { color: var(--blue); background: var(--paper-2); }
.site .sa-tab.sa-tab--active { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 76, 242, 0.7); }
.site .sa-pills-wrap { gap: 8px; }
.site .sa-pill {
  flex: none; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font-weight: 700; font-size: 14px; color: var(--muted); transition: all 0.3s var(--ease);
}
.site .sa-pill:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.site .sa-pill.sa-pill--active { background: var(--ink); border-color: var(--ink); color: #fff; }

.site #sa-grid { min-height: 460px; }
.site .sa-card {
  border-radius: 22px; border: 1px solid var(--line); box-shadow: none; background: #fff;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  animation: cardin 0.7s var(--ease) both;
}
.site #sa-grid > div:nth-child(2) .sa-card { animation-delay: 0.07s; }
.site #sa-grid > div:nth-child(3) .sa-card { animation-delay: 0.14s; }
.site #sa-grid > div:nth-child(4) .sa-card { animation-delay: 0.21s; }
.site #sa-grid > div:nth-child(5) .sa-card { animation-delay: 0.28s; }
.site #sa-grid > div:nth-child(n+6) .sa-card { animation-delay: 0.35s; }
@keyframes cardin { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.site .sa-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 60px -24px rgba(10, 14, 46, 0.35); }
.site .sa-card__img-wrap { margin: 8px 8px 0; border-radius: 16px; overflow: hidden; }
.site .sa-card__img { transition: transform 0.9s var(--ease); }
.site .sa-card:hover .sa-card__img { transform: scale(1.06); }
.site .sa-card__title { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; }
.site .sa-card__cta { border-radius: 999px; padding: 12px 16px; font-weight: 800; background: var(--paper-2); color: var(--blue); }
.site .sa-card__cta:hover { background: var(--blue); color: #fff; }
.site .sa-card--skeleton { animation: none; }
.acts__more { display: flex; justify-content: center; margin-top: 24px; }

@media (max-width: 767px) {
  .site #sa-grid {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-left: -16px; margin-right: -16px; padding: 4px 16px 12px; min-height: 0; gap: 0;
  }
  .site #sa-grid::-webkit-scrollbar { display: none; }
  .site #sa-grid > [class*="col-"] { flex: 0 0 84%; max-width: 84%; scroll-snap-align: center; padding-left: 8px; padding-right: 8px; }
  .site #sa-grid > .col-12 { flex-basis: 100%; max-width: 100%; }
}

/* ── 05 · Partners ────────────────────────────────────────────────── */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.site .partner-card {
  display: flex; flex-direction: column; width: 100%; height: 100%;
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: none;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.site .partner-card::before { display: none; }
.site .partner-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 14, 46, 0.3); }
.site .partner-logo-box { height: 110px; border-radius: 16px; background: var(--paper); margin: 0 0 22px; display: grid; place-items: center; }
.site .partner-info { padding: 0; text-align: left; align-items: flex-start; }
.site .partner-info .partner-name { font-family: var(--font-display); font-size: 22px; }
.site .partner-link-btn { margin-top: auto; }
@media (max-width: 991px) { .partners { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ── 06 · Blog ────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.post {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 14, 46, 0.3); }
.post__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; margin: 8px 8px 0; border-radius: 18px; background: var(--paper-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post__img img { transform: scale(1.07); }
.post__tag {
  position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--text); font-family: var(--font-mono); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
}
.post__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.site .post__body h3 { font-size: 20px; line-height: 1.2; margin: 0 0 10px; }
.post__body h3 a { color: inherit; }
.post__body h3 a:hover { color: var(--blue); }
.post__body p { font-size: 15px; line-height: 1.55; margin: 0 0 18px; }
.post__more { margin-top: auto; font-weight: 800; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.post__more i { transition: transform 0.4s var(--ease); }
.post:hover .post__more i { transform: translateX(4px); }
.blog-foot { display: flex; justify-content: center; margin-top: 48px; }
@media (max-width: 1199px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .blog-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -16px; padding: 4px 16px 12px; gap: 14px;
  }
  .blog-grid::-webkit-scrollbar { display: none; }
  .post { flex: 0 0 82%; scroll-snap-align: center; }
}

/* ── Locations + footer ───────────────────────────────────────────── */
.locs { background: var(--ink); padding: 56px 0 0; }
.site .locs p { color: rgba(255, 255, 255, 0.45); font-size: 13px; line-height: 1.8; margin: 0; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.site .locs p strong { color: rgba(255, 255, 255, 0.75); }
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.6); padding: 64px 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand img { height: 40px; width: auto; }
.site-footer__brand p { margin: 18px 0 24px; max-width: 320px; font-size: 15px; }
.site .site-footer h3 { font-family: var(--font-mono); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); font-size: 15px; }
.site-footer a:hover { color: #fff; transform: translateX(3px); }
.site-footer .store-row .store-badge img { height: 44px; }
.site-footer__bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px;
}
.site-footer__bottom p { margin: 0; }
.site-footer__social { width: 42px; height: 42px; border-radius: 50%; display: grid !important; place-items: center; background: rgba(255, 255, 255, 0.08); font-size: 18px; }
.site-footer__social:hover { background: var(--blue); transform: none !important; }
.site-footer__wordmark {
  margin-top: 48px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8;
  font-size: clamp(80px, 22vw, 320px); text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 991px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* ── Back to top ──────────────────────────────────────────────────── */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: 18px; cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(10, 14, 46, 0.6);
  opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), background 0.3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 145; stroke-dashoffset: calc(145 - 145 * var(--p, 0)); }

/* =====================================================================
   Sub-pages (blog, articles, régions/activités, organisateurs, CGU)
   body.site beats the pages' own inline <style> rules.
   ===================================================================== */

/* ── Page hero ────────────────────────────────────────────────────── */
body.site .hero-section {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 90px) 0 clamp(70px, 9vw, 110px);
  background: linear-gradient(155deg, #1a5cff 0%, var(--blue) 45%, #1d3fa8 100%);
  color: rgba(255, 255, 255, 0.78);
}
body.site .hero-section::before {
  content: none; display: none; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 25%, transparent 75%);
}
body.site .hero-section::after {
  content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; left: -140px; bottom: -260px;
  border-radius: 50%; background: var(--orange); filter: blur(90px); opacity: 0.3;
  animation: site-drift 20s ease-in-out infinite alternate;
}
@keyframes site-drift { 50% { transform: translate3d(60px, -40px, 0) scale(1.1); } 100% { transform: translate3d(-20px, 20px, 0); } }
body.site .hero-section h1 {
  color: #fff !important; font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.04; margin-bottom: 24px !important;
  animation: site-rise 0.9s var(--ease) both;
}
body.site .hero-section p {
  color: rgba(255, 255, 255, 0.78); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6;
  max-width: 760px; margin-left: auto; margin-right: auto;
  animation: site-rise 0.9s 0.1s var(--ease) both;
}
body.site .hero-section p strong { color: #fff; }
body.site .hero-section a:not(.btn-x):not(.store-badge) { color: #9db8ff; }
body.site .hero-section .category-badge { animation: site-rise 0.9s var(--ease) both; }
@keyframes site-rise { from { transform: translateY(24px); } }
body.site .update-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 8px 16px; font-size: 13px;
}
@media (prefers-reduced-motion: reduce) {
  body.site .hero-section h1, body.site .hero-section p, body.site .hero-section .category-badge, body.site .hero-section::after { animation: none; }
}

/* ── Generic sub-page bits ────────────────────────────────────────── */
body.site:not(.home) .section-title h2 { font-family: var(--font-display); color: var(--text); letter-spacing: -0.02em; }
body.site .btn.btn-primary {
  border: 0 !important; border-radius: 999px !important; background: var(--blue) !important; color: #fff;
  font-weight: 800; box-shadow: 0 14px 30px -12px rgba(0, 76, 242, 0.7);
  transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.4s var(--ease);
}
body.site .btn.btn-primary:hover { background: var(--ink) !important; transform: translateY(-2px); }
body.site .text-primary { color: var(--blue) !important; }

/* ── Article content ──────────────────────────────────────────────── */
body.site .article-content { font-size: 18px; line-height: 1.75; color: #3c4470; }
body.site .article-content p { margin-bottom: 1.1rem; }
body.site .article-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.site .article-content a:hover { text-decoration-thickness: 2px; }
body.site .article-content strong { color: var(--text); }
body.site .article-content h2 {
  font-family: var(--font-display); color: var(--text); font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15; letter-spacing: -0.02em; margin-top: 3rem; margin-bottom: 1rem;
}
body.site .article-content h3 { font-family: var(--font-display); color: var(--text); font-size: 21px; }
body.site .article-banner-img { border-radius: 28px; max-height: 480px; box-shadow: 0 40px 80px -40px rgba(10, 14, 46, 0.5); margin-top: -40px; position: relative; }
body.site .quick-nav-box {
  border: 0; border-radius: 24px; padding: 28px 30px; background: var(--ink); color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 30px 60px -36px rgba(10, 14, 46, 0.6);
}
body.site .quick-nav-box h3, body.site .quick-nav-box strong { color: #fff; }
body.site .quick-nav-box h3 i { color: var(--orange) !important; }
body.site .quick-nav-box li::before { color: var(--orange); }
body.site .quick-nav-box a { color: #9db8ff; }
body.site .infos-pratiques {
  border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 22px 24px;
  box-shadow: 0 20px 40px -32px rgba(10, 14, 46, 0.4);
}
body.site .infos-pratiques h4 { font-family: var(--font-mono); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }
body.site .infos-pratiques li i { color: var(--orange); }
body.site .related-articles-section { background: #fff !important; }

/* ── Blog cards (blog page, related articles) ─────────────────────── */
body.site .single-blog-card {
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: none; overflow: hidden; background: #fff;
  height: 100%; display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
body.site .single-blog-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 14, 46, 0.3); }
body.site .single-blog-card .blog-img { margin: 8px 8px 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
body.site .single-blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
body.site .single-blog-card:hover .blog-img img { transform: scale(1.07); }
body.site .single-blog-card .blog-img .category-badge {
  background: rgba(255, 255, 255, 0.92); color: var(--text); font-family: var(--font-mono); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; border-radius: 999px; padding: 6px 12px;
}
body.site .single-blog-card .blog-content { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 24px; }
body.site .single-blog-card .blog-content h2,
body.site .single-blog-card .blog-content h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; color: var(--text); }
body.site .single-blog-card .blog-content p { font-size: 15px; line-height: 1.55; }
body.site .single-blog-card .blog-content .read-more { margin-top: auto; font-weight: 800; color: var(--blue); }

/* ── Regions / activity pages ─────────────────────────────────────── */
body.site .sa-region-links { gap: 8px; }
body.site a.sa-tab {
  border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 800; padding: 11px 20px;
  transition: all 0.35s var(--ease);
}
body.site a.sa-tab:hover, body.site a.sa-tab.sa-tab--active { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
body.site .sa-day__title {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-display); color: var(--text); font-size: clamp(22px, 2.4vw, 30px);
}
body.site .sa-day__title i { color: var(--blue); }
body.site .sa-breadcrumb { color: rgba(255, 255, 255, 0.6); }
body.site .sa-detail__img { border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(10, 14, 46, 0.5); }
body.site .sa-detail__label { font-family: var(--font-mono); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }

/* ── Organisers page ──────────────────────────────────────────────── */
body.site .org-step-number {
  background: var(--blue); color: #fff; font-family: var(--font-mono); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(0, 76, 242, 0.14);
}
body.site .org-benefit {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: none;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
body.site .org-benefit:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 14, 46, 0.3); }
body.site .org-benefit i { color: var(--blue); }
body.site .org-web { border-radius: clamp(24px, 3vw, 36px); }
body.site .org-faq .org-faq-item { border-radius: 20px; border: 1px solid var(--line); background: #fff; }
body.site .phone-frame img { border-radius: 28px; }

/* ── Legal (CGU) ──────────────────────────────────────────────────── */
body.site .terms { max-width: 780px; margin: 0 auto; padding: 64px 24px 100px; font-size: 17px; line-height: 1.75; color: #3c4470; }
body.site .terms h1 { display: none; }
body.site .terms h2 { font-family: var(--font-display); color: var(--text); font-size: 24px; margin: 2.4rem 0 0.8rem; }
body.site .terms .updated { font-family: var(--font-mono); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }
body.site .terms a { color: var(--blue); }
