*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── SELF-HOSTED FONTS ── */

/* Montserrat */
@font-face {
  font-family: 'Montserrat';
  src: url('/public/fonts/montserrat-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/public/fonts/montserrat-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/public/fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/public/fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Space Grotesk */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/public/fonts/space-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/public/fonts/space-grotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/public/fonts/space-grotesk-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/public/fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Fallback fonts with metric overrides */
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 114.28%;
  ascent-override: 84.65%;
  descent-override: 21.96%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Space Grotesk Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 107.04%;
  ascent-override: 98.92%;
  descent-override: 22.79%;
  line-gap-override: 0%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --green-dark: #1a3a2a;
  --green-mid: #2d6a4f;
  --green-light: #52b788;
  --green-pale: #b7e4c7;
  --cream: #f5f0e8;
  --cream-dark: #e8e0d0;
  --accent: #d4a24e;
  --text: #1a1a1a;
  --text-light: #555;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 8px;
  --card-dark: #0f1f17;
  --card-dark-lighter: #162b1f;
  --card-border: rgba(82, 183, 136, 0.15);
  --radius-lg: 28px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Montserrat', 'Montserrat Fallback', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Montserrat Fallback', system-ui, sans-serif;
  line-height: 1.15;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--accent);
  color: var(--green-dark);
  text-align: center;
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  overflow: hidden;
  border-bottom: 2px solid var(--accent);
}
.announcement-bar p {
  margin: 0;
  white-space: nowrap;
}
.announcement-bar strong { color: var(--green-dark); }

@media (max-width: 700px) {
  .announcement-bar p {
    display: inline-block;
    animation: marquee 12s linear infinite;
  }
  @keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }
}
body.has-announcement nav {
  top: var(--bar-h, 36px);
}
body.has-announcement nav.scrolled {
  box-shadow: none;
  border-top: 2px solid var(--accent);
}
body.has-announcement .hero-inner { padding-top: calc(1rem + var(--bar-h, 36px)); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}

nav.scrolled {
  background: rgba(245, 240, 232, .85);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
}

nav .logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 40px;
}

nav .logo img {
  height: 40px;
  width: auto;
  transition: opacity .3s;
}

nav .logo .logo-light { opacity: 1; }
nav .logo .logo-dark { opacity: 0; position: absolute; }
nav.scrolled .logo .logo-light { opacity: 0; }
nav.scrolled .logo .logo-dark { opacity: 1; }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: .9rem;
  transition: color .3s;
  position: relative;
}

nav.scrolled ul a { color: var(--green-dark); }

nav ul a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-light);
  transition: width .3s;
}

nav ul a:hover::after { width: 100%; }

.nav-cta {
  background: var(--green-light);
  color: var(--green-dark) !important;
  padding: .5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background .3s, transform .2s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-pale); transform: translateY(-1px); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 4px;
  transition: all .3s;
}

nav.scrolled .mobile-menu-btn span { background: var(--green-dark); }

.mobile-menu-btn span:nth-child(1) { top: 8px; }
.mobile-menu-btn span:nth-child(2) { top: 15px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }

.mobile-menu-btn.active span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(175deg, var(--green-dark) 0%, #1a4a35 40%, var(--green-mid) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(82, 183, 136, .2), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 162, 78, .1), transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  padding: 1rem 3rem 4rem;
  gap: 2rem;
}

.hero-content {
  flex: 1.8;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-illustration {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0;
}

.hero-illustration .hero-location {
  margin-top: -2.5rem;
  margin-bottom: 0;
}

.hero-illustration img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  mask-image: radial-gradient(ellipse 75% 70% at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at center, black 40%, transparent 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  padding: .65rem 1.75rem;
  border-radius: 100px;
  color: var(--green-pale);
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 2rem;
  white-space: nowrap;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-logo {
  max-width: clamp(160px, 28vw, 280px);
  height: auto;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.hero-location svg { flex-shrink: 0; }

/* Countdown */
.countdown {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 2rem;
}
.countdown-title {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .12em;
  text-align: center;
  font-weight: 600;
}
.countdown-items {
  display: flex;
  gap: 1rem;
}

.countdown-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: .65rem .5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-label {
  font-size: .65rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .35rem;
}

.hero-actions-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@keyframes beam-spin { to { transform: rotate(360deg); } }
@keyframes lines-slide { 0% { background-position: 0 0; } 100% { background-position: 24px 0; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all .3s;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--green-dark);
  color: #fff;
  padding: 1.1rem 2.25rem;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -150%;
  background: conic-gradient(from 0deg, transparent 0 300deg, var(--green-light) 360deg);
  animation: beam-spin 3s linear infinite;
  z-index: 0;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 100px;
  background: var(--green-dark);
  z-index: 1;
}

.btn-primary .btn-bg {
  position: absolute;
  inset: 2px;
  border-radius: 100px;
  z-index: 2;
  overflow: hidden;
}

.btn-primary .btn-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(82,183,136,.2), transparent);
}

.btn-primary .btn-bg-lines {
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: repeating-linear-gradient(90deg, #fff, #fff 1px, transparent 1px, transparent 8px);
  background-size: 24px 100%;
  animation: lines-slide 1.5s linear infinite;
}

.btn-primary .btn-bg-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 66%;
  height: 50%;
  background: rgba(82,183,136,.2);
  filter: blur(16px);
  border-radius: 50%;
  transition: background .5s;
}

.btn-primary:hover .btn-bg-glow {
  background: rgba(82,183,136,.45);
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 3;
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px -10px rgba(82,183,136,.5);
}

.btn-primary svg {
  transition: transform .3s;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.btn-solid {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 1.1rem 2.25rem;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 0 20px rgba(82,183,136,.2), inset 0 1px 0 rgba(255,255,255,.3);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}

.btn-solid::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  animation: shimmer 2.5s ease-in-out infinite;
  z-index: 1;
}

.btn-solid:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 40px rgba(82,183,136,.45), 0 8px 24px rgba(82,183,136,.3), inset 0 1px 0 rgba(255,255,255,.3);
  background: #5fcf96;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.05);
  transform: scale(1.03);
}

/* ── SECTION COMMONS ── */
section { padding: 6rem 2rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--green-mid);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── KEY NUMBERS ── */
.stats {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-mid);
  line-height: 1;
}

.stat-value small {
  font-size: .55em;
  font-weight: 500;
}

.stat-label {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: .5rem;
}

/* ── PARTENAIRES (ligne unique) ── */
.partners-row {
  padding: 4rem 2rem;
  overflow: hidden;
}

.partners-row-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: nowrap;
}

.partners-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.partners-group-label {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.partners-group-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.partners-group-logos img {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: opacity .3s;
}

.partners-group-logos img:hover { opacity: .5; }

.partners-sep {
  width: 1px;
  height: 50px;
  background: var(--cream-dark);
  align-self: center;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .partners-row-inner { flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .partners-row-inner { flex-direction: column; align-items: center; gap: 2rem; }
  .partners-sep { width: 60px; height: 1px; }
  .partners-group-logos { flex-direction: column; align-items: center; }
  .partners-group-logos img { height: 35px; }
}

/* ── COURSE INFO ── */
#course { padding-top: 5rem; }

.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: transform .3s, box-shadow .3s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

.course-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.course-card-icon.green { background: var(--green-pale); color: var(--green-mid); }
.course-card-icon.gold { background: #fef3d1; color: var(--accent); }

.course-card h3 {
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: .75rem;
}

.course-card p {
  color: var(--text-light);
  font-size: .95rem;
}

.course-highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.course-highlight h3 { color: var(--white); }
.course-highlight p { color: rgba(255,255,255,.75); }

.course-profile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,.15);
  border-radius: 100px;
  overflow: hidden;
}

.profile-bar-fill {
  height: 100%;
  background: var(--green-light);
  border-radius: 100px;
}

.profile-bar-label {
  font-size: .85rem;
  min-width: 100px;
  color: rgba(255,255,255,.7);
}

.profile-bar-value {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  min-width: 60px;
  text-align: right;
}

/* ── MAP ── */
@keyframes defi-line-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.defi-glow-line { animation: defi-line-pulse 1.5s ease-in-out infinite; }
.defi-main-line { animation: defi-line-pulse 1.5s ease-in-out infinite; }

#course { background: var(--cream-dark); }

.map-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.08);
}

.map-container {
  width: 100%;
  height: 500px;
}

.map-container .leaflet-tile-pane {
  filter: grayscale(.9) contrast(1.1) brightness(1.05);
}

.map-legend {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 500;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
}

.map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-legend-dot.track { background: var(--green-light); box-shadow: 0 0 6px rgba(82,183,136,.8); }

@keyframes defi-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(255,140,50,.7); opacity: 1; }
  50% { box-shadow: 0 0 14px rgba(255,140,50,1); opacity: .6; }
}
.map-legend-dot.defi { background: #ff8c32; animation: defi-pulse 1.5s ease-in-out infinite; }

.map-legend-dot.start {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: repeating-conic-gradient(var(--green-dark) 0% 25%, #fff 0% 50%) 0 0 / 6px 6px;
}

.map-stats {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background: var(--white);
  border-top: 1px solid var(--cream);
  flex-wrap: wrap;
}

.map-stat {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-light);
}

.map-stat strong {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.elevation-wrapper {
  position: relative;
  padding: 1.25rem 2rem 1rem;
  background: var(--white);
}

.elevation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
}

.elevation-header span {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green-mid);
}

.elevation-tooltip {
  position: absolute;
  background: var(--green-dark);
  color: var(--white);
  padding: .35rem .75rem;
  border-radius: var(--radius-sm);
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  white-space: nowrap;
  z-index: 5;
}

.elevation-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--green-dark);
}

#elevation-canvas {
  width: 100%;
  height: 250px;
  cursor: crosshair;
  display: block;
}

@media (max-width: 700px) {
  .map-container { height: 550px; }
  #elevation-canvas { height: 180px; }
  .map-stats { padding: 1rem 1.25rem; gap: 1rem; }
  .elevation-wrapper { padding: 1rem 1.25rem .75rem; }
}

/* ── FORMATS ── */
#formats {
  background: #0a1a12;
  position: relative;
  overflow: hidden;
}

#formats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(45, 106, 79, 0.12), transparent 70%);
  pointer-events: none;
}

#formats .section-label { color: var(--green-light); }
#formats .section-title { color: var(--white); }
#formats .section-desc { color: rgba(255, 255, 255, 0.6); }

.formats-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.formats-header .section-title { margin: 0; }
.formats-anchors {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.formats-anchor {
  font-size: .8rem;
  font-weight: 600;
  border-radius: 100px;
  padding: .35rem .9rem;
  text-decoration: none;
  transition: all .3s;
}
.formats-anchor--entreprise {
  color: var(--accent);
  background: rgba(212, 162, 78, .1);
  border: 1px solid var(--accent);
}
.formats-anchor--entreprise:hover {
  background: var(--accent);
  color: var(--green-dark);
}
.formats-anchor--enfants {
  color: var(--white);
  background: rgba(82, 183, 136, .15);
  border: 1px solid var(--green-light);
}
.formats-anchor--enfants:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.format-card {
  background: linear-gradient(168deg, var(--card-dark-lighter), var(--card-dark));
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.format-img {
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .06);
}

.format-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.format-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(82, 183, 136, 0.06), transparent);
  pointer-events: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.format-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3), 0 0 40px rgba(82, 183, 136, .08);
  border-color: rgba(82, 183, 136, .3);
}

/* Featured card (Duo) */
.format-card.featured {
  border-color: rgba(212, 162, 78, .25);
}

.format-card.featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0 320deg, var(--accent) 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: beam-spin 4s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.format-card.featured::before {
  background: linear-gradient(180deg, rgba(212, 162, 78, .08), transparent);
}

.format-card.featured:hover {
  border-color: rgba(212, 162, 78, .5);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3), 0 0 40px rgba(212, 162, 78, .12);
}

.format-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(212, 162, 78, .15);
  border: 1px solid rgba(212, 162, 78, .3);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .3rem .85rem;
  border-radius: 100px;
  z-index: 2;
}

.format-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: .5rem;
  letter-spacing: -.02em;
  padding: 0 .75rem;
  position: relative;
  z-index: 1;
}

.format-card .format-desc {
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 0 .75rem;
  position: relative;
  z-index: 1;
}

.format-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82, 183, 136, .2), transparent);
  margin: 0 .75rem 1.5rem;
  position: relative;
  z-index: 1;
}

.format-card.featured .format-separator {
  background: linear-gradient(90deg, transparent, rgba(212, 162, 78, .25), transparent);
}

.format-details {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  padding: 0 .75rem;
  position: relative;
  z-index: 1;
}

.format-details li {
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: .9rem;
  color: rgba(255, 255, 255, .75);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.format-details li:last-child { border-bottom: none; }
.format-details li svg { flex-shrink: 0; color: var(--green-light); }
.format-card.featured .format-details li svg { color: var(--accent); }

.btn-format {
  width: calc(100% - 1.5rem);
  margin: 0 .75rem;
  justify-content: center;
  background: rgba(82, 183, 136, .12);
  border: 1px solid rgba(82, 183, 136, .25);
  color: var(--green-light);
  padding: .75rem 1rem;
  border-radius: 100px;
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.btn-format:hover {
  background: rgba(82, 183, 136, .2);
  border-color: rgba(82, 183, 136, .4);
  box-shadow: 0 0 24px rgba(82, 183, 136, .15);
}

.format-card.featured .btn-format {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--card-dark);
}

.format-card.featured .btn-format:hover {
  background: #e0b05e;
  box-shadow: 0 0 24px rgba(212, 162, 78, .3);
}

/* ── DISABLED BUTTONS (avant ouverture inscriptions) ── */
.btn-disabled {
  opacity: .5;
  cursor: default;
  pointer-events: none;
}

/* ── ENTREPRISE BANNER ── */
.entreprise-banner {
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(82, 183, 136, .15);
  border-radius: var(--radius-lg);
  scroll-margin-top: 100px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.entreprise-body {
  flex: 1;
}

.entreprise-banner-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.entreprise-banner-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 162, 78, .12);
  border: 1px solid rgba(212, 162, 78, .25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.entreprise-banner-header h3 {
  font-size: 1.25rem;
  color: var(--white);
}

.entreprise-banner-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.entreprise-args {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.entreprise-args li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .75);
}

.entreprise-args li svg {
  flex-shrink: 0;
  color: var(--accent);
}

.entreprise-packs {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex-shrink: 0;
}

.btn-entreprise {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 2rem;
  border-radius: 100px;
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  background: var(--accent);
  color: var(--green-dark);
  border: none;
  transition: all .3s;
  white-space: nowrap;
  min-width: 200px;
}

.btn-entreprise:hover {
  background: #e0b35c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 162, 78, .3);
}

@media (max-width: 700px) {
  .entreprise-banner { flex-direction: column; padding: 2rem 1.5rem; align-items: stretch; gap: 1.5rem; }
  .entreprise-packs { flex-direction: row; }
  .btn-entreprise { flex: 1; min-width: 0; font-size: .85rem; padding: .85rem 1.25rem; }
}

/* Courses enfants */
.enfants-banner {
  margin-top: 1.5rem;
  scroll-margin-top: 100px;
  background: linear-gradient(168deg, rgba(82, 183, 136, .12), rgba(45, 106, 79, .08));
  border: 1px solid rgba(82, 183, 136, .3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.enfants-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(82, 183, 136, .15), transparent 70%);
  pointer-events: none;
}

.enfants-banner-icon {
  width: 48px;
  height: 48px;
  background: rgba(82, 183, 136, .12);
  border: 1px solid rgba(82, 183, 136, .25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-light);
}

.enfants-badge {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green-dark);
  background: var(--green-light);
  padding: .25rem .75rem;
  border-radius: 100px;
  white-space: nowrap;
}

.enfants-banner-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.enfants-grid {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.enfants-course {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(82, 183, 136, .2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.enfants-cat {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
}

.enfants-annees {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

.enfants-infos {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
  font-style: italic;
}

@media (max-width: 700px) {
  .enfants-banner { padding: 2rem 1.5rem; }
  .enfants-grid { flex-direction: column; }
}

/* ── DEFIS ── */
#defis {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}

#defis .section-label { color: var(--green-light); }
#defis .section-title { color: var(--white); }
#defis .section-desc { color: rgba(255,255,255,.6); }

.defis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.defi-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  transition: background .3s, border-color .3s;
}

.defi-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
}

.defi-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.defi-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
}

.defi-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.defi-card--orange .defi-icon-wrap svg { color: #ffaa55; }
.defi-card--blue .defi-icon-wrap svg { color: #66bbff; }
.defi-card--purple .defi-icon-wrap svg { color: #cc88ff; }

.defi-card-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.defi-card p {
  color: rgba(255, 255, 255, .5);
  font-size: .875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.defi-metrics {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.defi-metric {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 500;
}

.defi-card--orange .defi-metric { color: #ffaa55; }
.defi-card--blue .defi-metric { color: #66bbff; }
.defi-card--purple .defi-metric { color: #cc88ff; }

.defi-metric svg { flex-shrink: 0; width: 14px; height: 14px; }

.defi-metric-sep {
  color: rgba(255, 255, 255, .15);
  font-size: .75rem;
}

@media (max-width: 900px) {
  .defis-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ── PROGRAMME ── */
#programme { background: var(--cream-dark); }

.programme-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.programme-left {
  flex: 1;
  min-width: 0;
}

.programme-right {
  flex: 0 0 380px;
  position: relative;
}

.programme-img {
  border-radius: var(--radius);
  overflow: hidden;
}

.programme-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.programme-caption {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .programme-layout { flex-direction: column; }
  .programme-right { flex: none; width: 100%; max-width: 480px; }
}

.timeline {
  position: relative;
  max-width: 600px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--green-pale);
}

.timeline-item {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  margin-bottom: 2.25rem;
  position: relative;
  cursor: default;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 3px solid var(--green-dark);
  flex-shrink: 0;
  z-index: 1;
  margin-top: 6px;
  transition: border-color .3s, background .3s, box-shadow .3s, transform .3s;
}

.timeline-item:hover .timeline-dot {
  border-color: var(--green-light);
  background: var(--green-light);
  box-shadow: 0 0 12px rgba(82, 183, 136, .5);
  transform: scale(1.3);
}

.timeline-dot.active {
  background: var(--green-light);
  border-color: var(--green-light);
  box-shadow: 0 0 10px rgba(82, 183, 136, .35);
}

.timeline-item:hover .timeline-dot.active {
  box-shadow: 0 0 16px rgba(82, 183, 136, .6);
}

.timeline-time {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--green-dark);
  letter-spacing: -.03em;
  line-height: 1;
  transition: color .3s;
}

.timeline-item:hover .timeline-time {
  color: var(--green-light);
}

.timeline-content {
  transition: transform .3s;
}

.timeline-item:hover .timeline-content {
  transform: translateX(4px);
}

.timeline-title {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: .2rem;
}

.timeline-content p {
  color: var(--text-light);
  font-size: .875rem;
}

/* ── INFOS ── */
.infos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform .3s;
}

.info-card:hover { transform: translateY(-4px); }

.info-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card h4 {
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: .5rem;
}

.info-card p {
  color: var(--text-light);
  font-size: .9rem;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  text-align: center;
  padding: 6rem 2rem;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,.7);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  font-size: 1.15rem;
  padding: 1.15rem 2.5rem;
}

.cta-date {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: .5rem 1.25rem;
  color: var(--green-pale);
  font-size: .9rem;
  margin-bottom: 2rem;
}

/* ── FAQ ── */
#faq {
  background: var(--cream-dark);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  border: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.faq-item.open {
  border-color: var(--green-light);
  box-shadow: 0 4px 20px rgba(45, 106, 79, .08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--green-dark);
  text-align: left;
  line-height: 1.4;
  transition: color .3s;
}

.faq-question:hover { color: var(--green-mid); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s, transform .3s;
}

.faq-item.open .faq-icon {
  background: var(--green-light);
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-dark);
  transition: stroke .3s;
}

.faq-item.open .faq-icon svg { stroke: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.6);
  padding: 3rem 2rem 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-brand .footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  margin-bottom: .75rem;
}

.footer-brand p {
  font-size: .85rem;
  max-width: 280px;
}

.footer-heading {
  color: var(--white);
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .85rem;
  transition: color .3s;
}

.footer-links a:hover { color: var(--green-light); }

.footer-partners {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-partners span {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.partner-logo {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: background .3s, color .3s;
}

.footer-socials a:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

/* ── REGLEMENT ── */
.reglement {
  padding-top: 8rem;
}

.reglement .section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.reglement-content {
  max-width: 800px;
  margin: 3rem auto 0;
}

.reglement-article {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.reglement-article:last-child {
  border-bottom: none;
}

.reglement-article h2 {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .75rem;
}

.reglement-article p {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--green-dark);
  opacity: .8;
  margin-bottom: .5rem;
}

.reglement-article ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.reglement-article li {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--green-dark);
  opacity: .8;
  padding-left: 1.25rem;
  position: relative;
}

.reglement-article li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
}

.reglement-article a {
  color: var(--green-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reglement-article a:hover {
  color: var(--green-light);
}

.reglement-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .9rem;
}

.reglement-table th,
.reglement-table td {
  padding: .65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--green-dark);
}

.reglement-table th {
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--green-mid);
}

.reglement-table td:last-child {
  font-weight: 600;
  text-align: right;
}

.reglement-table th:last-child {
  text-align: right;
}

.reglement-back {
  text-align: center;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.reglement-back .btn-outline {
  color: var(--green-dark);
  border-color: var(--green-mid);
}

.reglement-back .btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

/* ── LEGAL NAV ── */
.legal-nav {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 2rem;
  position: sticky;
  top: 72px;
  z-index: 10;
  background: var(--cream);
  padding: .75rem 0;
}

.legal-nav-link {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  padding: .5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  transition: all .3s;
}

.legal-nav-link:hover {
  color: var(--green-mid);
  border-color: var(--green-mid);
}

.legal-nav-link.active {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.legal-part {
  margin-top: 3rem;
}

.legal-part-title {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--green-light);
}

/* ── 404 PAGE ── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--green-dark) 0%, #0f2a1a 100%);
  padding: 8rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(82, 183, 136, .08) 0%, transparent 60%);
  pointer-events: none;
}

.error-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.error-illustration {
  max-width: 220px;
  margin: 0 auto 1.5rem;
}

.error-svg {
  width: 100%;
  height: auto;
}

.error-sign {
  animation: error-bob 3s ease-in-out infinite;
}

.error-float-1 {
  animation: error-float 2.5s ease-in-out infinite;
}

.error-float-2 {
  animation: error-float 3s ease-in-out infinite .5s;
}

@keyframes error-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes error-float {
  0%, 100% { opacity: .6; transform: translateY(0); }
  50% { opacity: .2; transform: translateY(-6px); }
}

.error-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.error-4 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', monospace;
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  opacity: .9;
}

.error-0 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-shoe {
  width: clamp(3.5rem, 8vw, 5.5rem);
  height: auto;
  animation: error-shoe-bounce 2s ease-in-out infinite;
}

@keyframes error-shoe-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(-3deg); }
  75% { transform: translateY(2px) rotate(2deg); }
}

.error-title {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
}

.error-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.error-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.error-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}

.error-stat-value {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-light);
}

.error-stat-label {
  font-size: .75rem;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.error-stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, .12);
}

.error-stat-timer {
  min-width: 70px;
  text-align: center;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.error-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.error-btn-outline {
  color: rgba(255, 255, 255, .7);
  border-color: rgba(255, 255, 255, .2);
}

.error-btn-outline:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

@media (max-width: 700px) {
  .error-page { padding: 6rem 1.5rem 3rem; }
  .error-stats { gap: 1rem; }
  .error-stat-sep { height: 24px; }
  .error-actions { flex-direction: column; align-items: center; }
  .error-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .legal-nav { flex-direction: column; align-items: center; }
}

/* ── ADMIN LOGIN ── */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(175deg, var(--green-dark) 0%, #1a4a35 40%, var(--green-mid) 100%);
  padding: 2rem;
}

.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}

.admin-login-card img {
  margin-bottom: 1.5rem;
}

.admin-login-card h1 {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}

.admin-login-error {
  color: #c0392b;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.admin-login-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-login-card input[type="password"] {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 100px;
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: .95rem;
  color: var(--text);
  outline: none;
  transition: border-color .3s;
}

.admin-login-card input[type="password"]:focus {
  border-color: var(--green-light);
}

.admin-login-card .btn {
  width: 100%;
  justify-content: center;
}

/* ── ADMIN DASHBOARD ── */
.admin-dashboard {
  padding-top: 8rem;
  min-height: 100vh;
}

.admin-dashboard .section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: transform .3s, box-shadow .3s;
}

.admin-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
}

.admin-stat-value {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', monospace;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: .5rem;
}

.admin-stat-label {
  font-size: .85rem;
  color: var(--text-light);
  font-weight: 500;
}

.admin-chart-wrap {
  margin-top: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.admin-chart-title {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}

.admin-chart-sub {
  font-weight: 400;
  font-size: .85rem;
  color: var(--text-light);
}

.admin-chart-container {
  position: relative;
  width: 100%;
}

.admin-chart-container canvas {
  display: block;
  width: 100%;
}

.admin-chart-tooltip {
  position: absolute;
  background: var(--green-dark);
  color: var(--white);
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', monospace;
  font-size: .75rem;
  font-weight: 500;
  padding: .35rem .65rem;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .15s;
  transform: translateX(-50%);
}

.admin-table-wrap {
  margin-top: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.admin-table th,
.admin-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--green-dark);
}

.admin-table th {
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--green-mid);
}

.admin-table td:last-child,
.admin-table th:last-child {
  text-align: right;
  font-weight: 600;
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', monospace;
}

.admin-table tbody tr:hover {
  background: rgba(82, 183, 136, .04);
}

@media (max-width: 700px) {
  .admin-stats { grid-template-columns: 1fr; }
  .admin-chart-wrap, .admin-table-wrap { padding: 1.5rem 1rem; }
}

/* ── PARTENAIRES ── */

.partenaire-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  text-align: center;
  padding: 10rem 2rem 4rem;
}

.partenaire-hero .section-label { color: var(--green-pale); }

.partenaire-hero .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.partenaire-hero .section-desc {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.partenaire-anchors {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.partenaire-anchors a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1.25rem;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .3s, border-color .3s;
}

.partenaire-anchors a:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
}

/* Mécénat */
.partenaire-mecenat {
  background: var(--cream);
  padding: 3rem 2rem;
}

.partenaire-mecenat-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  border: 1px solid var(--cream-dark);
}

.partenaire-mecenat-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 162, 78, .1);
  border: 1px solid rgba(212, 162, 78, .2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.partenaire-mecenat-body {
  flex: 1;
  min-width: 0;
}

.partenaire-mecenat-body h2 {
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: .35rem;
}

.partenaire-mecenat-body p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.partenaire-mecenat-inner .btn-partenaire--mecenat {
  width: auto;
  flex-shrink: 0;
  padding: .75rem 1.75rem;
  font-size: .85rem;
  margin-top: 0;
}

@media (max-width: 700px) {
  .partenaire-mecenat { padding: 2rem 1.5rem; }
  .partenaire-mecenat-inner { flex-direction: column; text-align: center; padding: 1.75rem 1.5rem; gap: 1rem; }
  .btn-partenaire--mecenat { width: 100%; }
}

/* Dark section */
.partenaire-section-dark {
  background: #0a1a12;
  scroll-margin-top: 80px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.partenaire-section-dark .section-desc {
  max-width: none;
}

/* Réassurance bloc (arguments communs) */
.partenaire-reassurance {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(82, 183, 136, .12);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.partenaire-reassurance ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.partenaire-reassurance li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .7);
}

.partenaire-reassurance li svg { flex-shrink: 0; color: var(--green-light); }

/* Grid */
.partenaire-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.partenaire-grid--2 { grid-template-columns: repeat(2, 1fr); }
.partenaire-grid--3 { grid-template-columns: repeat(3, 1fr); }
.partenaire-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Cards (dark, like format-card) */
.partenaire-card {
  background: linear-gradient(168deg, var(--card-dark-lighter), var(--card-dark));
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  display: flex;
  flex-direction: column;
}

.partenaire-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(82, 183, 136, .06), transparent);
  pointer-events: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.partenaire-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3), 0 0 40px rgba(82, 183, 136, .08);
  border-color: rgba(82, 183, 136, .3);
}

.partenaire-card h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: .5rem;
  letter-spacing: -.02em;
  padding: 0 .25rem;
  position: relative;
  z-index: 1;
}

.partenaire-card-desc {
  color: rgba(255, 255, 255, .55);
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding: 0 .25rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.partenaire-card-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82, 183, 136, .2), transparent);
  margin: 0 0 1rem;
  position: relative;
  z-index: 1;
}

.partenaire-card-details {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.partenaire-card-details li {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.5;
}

.partenaire-card-details li:last-child { border-bottom: none; }
.partenaire-card-details li svg { flex-shrink: 0; color: var(--green-light); margin-top: 2px; }

/* Price — doré partout */
.partenaire-card-price {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', monospace;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.partenaire-card-price small {
  font-size: .5em;
  font-weight: 500;
}

/* Badge */
.partenaire-badge {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: .35rem;
  padding: .3rem .85rem;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.partenaire-badge--disponible {
  background: rgba(82, 183, 136, .15);
  color: var(--green-light);
}

.partenaire-badge--negociation {
  background: rgba(212, 162, 78, .15);
  border: 1px solid rgba(212, 162, 78, .3);
  color: var(--accent);
  font-size: .65rem;
}

.partenaire-badge--reserve {
  background: rgba(220, 60, 60, .15);
  border: 1px solid rgba(220, 60, 60, .4);
  color: #e06060;
}

.partenaire-card--reserve {
  pointer-events: none;
  border-color: rgba(220, 60, 60, .2);
}

.partenaire-card--reserve::before {
  background: linear-gradient(180deg, rgba(220, 60, 60, .06), transparent);
}

.partenaire-card--reserve h3 {
  color: rgba(255, 255, 255, .5);
}

.partenaire-card--reserve .partenaire-card-desc {
  color: rgba(255, 255, 255, .3);
}

.partenaire-card--reserve .partenaire-card-price {
  color: rgba(255, 255, 255, .25);
}

/* CTA button — style entreprise (doré) */
.btn-partenaire {
  width: 100%;
  justify-content: center;
  background: var(--accent);
  border: none;
  color: var(--green-dark);
  padding: .85rem 1.5rem;
  border-radius: 100px;
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  margin-top: auto;
  white-space: nowrap;
}

.btn-partenaire:hover {
  background: #e0b35c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 162, 78, .3);
}

.btn-partenaire--accent {
  background: var(--accent);
  border: none;
  color: var(--green-dark);
}

.btn-partenaire--accent:hover {
  background: #e0b35c;
  box-shadow: 0 8px 24px rgba(212, 162, 78, .3);
}

/* Premium banner */
.partenaire-premium {
  background: linear-gradient(168deg, var(--card-dark-lighter), var(--card-dark));
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  margin-top: 2.5rem;
}

.partenaire-premium-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.partenaire-premium-body { position: relative; }

.partenaire-dotations-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.partenaire-dotations-ctas .btn-partenaire {
  width: auto;
}

.btn-partenaire--secondary {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .7);
}

.btn-partenaire--secondary:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .4);
  box-shadow: none;
}

@media (max-width: 700px) {
  .partenaire-dotations-ctas .btn-partenaire { width: 100%; justify-content: center; }
}

.partenaire-premium .partenaire-badge { margin-bottom: .75rem; }

.partenaire-premium-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.partenaire-premium-header h3 {
  font-size: 1.4rem;
  color: var(--white);
}

/* Contact info */
.partenaire-contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.partenaire-contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color .3s;
}

.partenaire-contact-link:hover { color: var(--green-pale); }
.partenaire-contact-link svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .partenaire-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .partenaire-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .partenaire-reassurance ul { gap: .4rem; }
}

@media (max-width: 700px) {
  .partenaire-hero { padding: 8rem 1.5rem 3rem; }
  .partenaire-anchors { gap: .5rem; }
  .partenaire-anchors a { font-size: .78rem; padding: .45rem 1rem; }
  .partenaire-grid--2,
  .partenaire-grid--3,
  .partenaire-grid--4 { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .partenaire-premium { padding: 2rem 1.5rem; }
  .partenaire-card-price { font-size: 1.8rem; }
  .partenaire-card { align-items: center; }
  .partenaire-badge { align-self: center; }
  .partenaire-reassurance { padding: 1.25rem 1.5rem; }
  .partenaire-contact-info { flex-direction: column; align-items: center; gap: 1rem; }
  .partenaire-contact-link { font-size: .95rem; }
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: 1fr; }
  .course-highlight { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .formats-header { flex-direction: column; align-items: flex-start; }
  .formats-header .formats-anchors { margin-bottom: 1rem; }
  .infos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero-inner { flex-direction: column; padding: 5rem 1.5rem 2rem; text-align: center; max-width: 100%; }
  body.has-announcement .hero-inner { padding-top: calc(5rem + var(--bar-h, 36px)); }
  .hero-content { align-items: center; text-align: center; }
  .hero-badge { font-size: .85rem; padding: .5rem 1.25rem; margin-bottom: 1.25rem; }
  .hero-illustration img { max-width: 320px; }
  .hero-actions-wrap { width: 100%; display: flex; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .announcement-bar { font-size: .75rem; padding: .5rem .75rem; }
  nav ul { display: none; }
  .mobile-menu-btn { display: block; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  nav ul.open a { color: var(--green-dark); }
  .hero-content { padding: 1rem; }
  .countdown { gap: .5rem; }
  .countdown-items { gap: .75rem; }
  .countdown-value { font-size: 2rem; min-width: 60px; padding: .5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -3rem; padding: 2rem 1.5rem; }
  section { padding: 4rem 1.5rem; }
  .footer-top { flex-direction: column; }
}
