/* ============================================================
   Eli10 Groupe — SINE 2026 Landing Page
   Fonts: Outfit (display) + DM Sans (body)
   ============================================================ */

/* --- Reset & Variables --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-primary: #4A1D6A;
  --color-primary-medium: #6B3FA0;
  --color-primary-light: #D8B4E2;
  --color-accent-green: #C8D530;
  --color-accent-warm: #E8734A;
  --color-accent-teal: #2ABFBF;

  --color-eligreen: #00A596;
  --color-elivolt: #F0733C;
  --color-elisafe: #009BD7;
  --color-eli10: #BE64A5;

  --color-white: #FFFFFF;
  --color-bg: #FAFAFA;
  --color-bg-dark: #F0EDF4;
  --color-text: #1A1A1A;
  --color-text-light: #666666;
  --color-text-on-dark: #FFFFFF;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --max-width: 1200px;
  --section-padding: clamp(3rem, 8vw, 6rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Splash Screen --- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.splash.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.splash__logo {
  max-width: 150px;
  height: auto;
  animation: splashFade 1.8s ease forwards;
}
@keyframes splashFade {
  0% { opacity: 0; transform: scale(0.9); }
  30% { opacity: 1; transform: scale(1); }
  75% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.02); }
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.header.is-scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 0.75rem 0;
}
.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo: 2 images, switch visibility on scroll */
.logo-white,
.logo-color {
  max-height: 35px;
  width: auto;
}
.logo-color {
  display: none;
}

/* Nav links */
.header__nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.header__nav a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-on-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-green);
  transition: width 0.3s ease;
}
.header__nav a:hover { color: #00A596; }
.header__nav a.is-active::after { width: 100%; }

/* Scrolled state: links turn violet */
.header.is-scrolled .header__nav a { color: var(--color-primary); }
.header.is-scrolled .header__nav a:hover { color: #00A596; }

/* Header right group (CTA + burger) */
.header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* CTA button in nav */
.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--color-accent-green);
  color: var(--color-text);
  padding: 10px 20px;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 213, 48, 0.4);
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.header.is-scrolled .header__burger span {
  background: var(--color-primary);
}
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.35s var(--ease-out);
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    align-items: flex-start;
  }
  .header__nav.is-open { right: 0; }
  .header__nav a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
  }
  .header__nav a:hover { color: #00A596; }
  .header__burger { display: flex; }
  .header__cta { display: none; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lime {
  background: var(--color-accent-green);
  color: var(--color-text);
  box-shadow: 0 4px 15px rgba(200, 213, 48, 0.3);
}
.btn--lime:hover { box-shadow: 0 6px 25px rgba(200, 213, 48, 0.45); }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-primary-medium); }

.btn--outline-white {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--color-white);
  background: transparent;
}
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn--ghost {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid #ddd;
}
.btn--ghost:hover { border-color: #bbb; color: var(--color-text); }

/* --- Section shared --- */
.section {
  padding: var(--section-padding) 0;
}
.section__header {
  text-align: center;
}
.section__header .section__intro {
  margin-bottom: 0;
}
.section__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-medium);
  background: var(--color-bg-dark);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section__tag--light {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.section__title--center { text-align: center; }
.section__title--light { color: var(--color-white); }
.section__intro {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin-bottom: 2rem;
}
.section__intro--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__intro--light { color: rgba(255,255,255,0.8); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('https://journee-mondiale-eau.eli10.ch/Image/Littoral%2013.JPG') center/cover no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 29, 106, 0.85);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 6rem 1.25rem 3rem;
  max-width: 800px;
}
.hero__badge-edition {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero__date {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}
.hero__stand21 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--color-accent-green);
  animation: stand21Pulse 0.5s ease 0.8s 2;
}
@keyframes stand21Pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}
.countdown__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  min-width: 70px;
  text-align: center;
}
.countdown__number.is-changing {
  animation: countBounce 0.3s ease;
}
@keyframes countBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.countdown__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero__badge-free {
  display: inline-block;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
  cursor: default;
  animation: badgePulse 0.8s ease 0.5s 3;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* --- Section Stand 21 --- */
.section--stand { background: var(--color-white); }
.stand__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) {
  .stand__grid { grid-template-columns: 55fr 45fr; align-items: center; }
}
.stand__arguments {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.stand__arg {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.stand__arg-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--color-bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.stand__arg-icon img { width: 48px; height: 48px; }
.stand__arg strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.25rem;
}
.stand__arg p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0;
}
.stand__visual {
  position: relative;
  display: flex;
  align-items: center;
}
.stand__flyer {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(74,29,106,0.1);
}

/* --- Section Nos Métiers --- */
.section--metiers { background: var(--color-bg); }
.metiers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .metiers__grid { grid-template-columns: 1fr 1fr; }
}

.metier-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  border-top: 6px solid var(--entity-color, var(--color-primary));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.metier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.metier-card__head { margin-bottom: 1rem; }
.metier-card__logo {
  max-width: 100px;
  height: auto;
}
.metier-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.metier-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.metier-card__services {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.metier-card__services li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.metier-card__services li img { flex-shrink: 0; }
.metier-card__cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-white);
  background: var(--entity-color, var(--color-primary));
  padding: 12px 24px;
  border-radius: 8px;
  transition: filter 0.2s, transform 0.2s;
  align-self: flex-start;
}
.metier-card__cta-btn:hover {
  filter: brightness(0.85);
  transform: translateY(-2px);
}

/* --- Section Programme --- */
.section--programme { background: var(--color-bg); }
.programme__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .programme__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .programme__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.programme__item {
  background: var(--color-white);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.programme__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.programme__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--color-bg-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.programme__item-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}
.programme__item-content p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.55;
}

/* Banner — colleagues help */
.programme__banner {
  max-width: 900px;
  margin: 1.5rem auto 0;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.programme__banner-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}
.programme__banner strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.programme__banner span {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.55;
}

/* Footer card — schedule + CTA */
.programme__footer-card {
  max-width: 900px;
  margin: 2rem auto 0;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 2rem;
  text-align: center;
}
.programme__schedule {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.programme__schedule-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: var(--color-bg-dark);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  min-width: 140px;
}
.programme__schedule-badge svg {
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}
.programme__schedule-badge span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
}
.programme__schedule-badge strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
}
.programme__cta {
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
}
@media (max-width: 480px) {
  .programme__item { padding: 1.25rem; }
  .programme__banner { flex-direction: column; align-items: center; text-align: center; }
  .programme__footer-card { padding: 1.5rem; }
}

/* --- Section Jeu-Concours --- */
.section--concours {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-medium) 100%);
  text-align: center;
}
.concours__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .concours__grid { grid-template-columns: repeat(3, 1fr); }
}
.concours__card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s;
}
.concours__card:hover { transform: translateY(-4px); }
.concours__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.concours__icon img { width: 48px; height: 48px; filter: brightness(0) invert(1); }
.concours__icon img.concours__icon-white { width: 40px; height: 40px; }
.concours__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.concours__badge--gold { background: #FFF3CD; color: #856404; }
.concours__badge--orange { background: #FDEBD0; color: #C0540A; }
.concours__badge--green { background: #D4F0ED; color: #007A6B; }
.concours__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.concours__card p { font-size: 0.9rem; color: var(--color-text-light); }
.concours__note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* --- Section Offres --- */
.section--offres { background: #541C75; border: none; outline: none; }
.section--offres .section__tag { background: #7B3FA0; color: #ffffff; }
.section--offres .section__title { color: #ffffff; }
.section--offres .section__intro { color: #D4B8E8; }
.offres__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .offres__grid { grid-template-columns: repeat(3, 1fr); }
}
.offre-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem;
  border-top: 4px solid var(--color-primary);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.offre-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.offre-card__icon-wrap {
  position: relative;
  margin-bottom: 1rem;
}
.offre-card__emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--color-bg-dark);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--color-primary);
}
.offre-card__svg { color: var(--color-primary); }
.offre-card__svg--dark { filter: brightness(0); }
.offre-card__num {
  position: absolute;
  top: -4px;
  right: -8px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offre-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-text);
  margin-bottom: 0.6rem;
}
.offre-card p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.55;
}
.offre-card__btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}
.offre-card__btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* --- Section RDV --- */
.section--rdv {
  background: linear-gradient(160deg, var(--color-primary) 0%, #3A1555 100%);
  text-align: center;
}
.rdv__header { margin-bottom: 2.5rem; }
.rdv__logo { margin: 0 auto 1.5rem; display: block; border-radius: 8px; max-width: 100px; transition: opacity 0.3s ease; }
.rdv__form-logo {
  display: block;
  max-width: 100px;
  height: auto;
  margin: 0 auto 1rem;
  mix-blend-mode: multiply;
}
.rdv__free {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-green);
  background: rgba(200,213,48,0.12);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-top: 0.75rem;
}

.rdv__form-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
}

/* Progress bar */
.rdv__progress {
  position: relative;
  height: 4px;
  background: #eee;
  border-radius: 4px;
  margin-bottom: 2rem;
}
.rdv__progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--color-primary);
  border-radius: 4px;
  transition: width 0.3s ease, background 0.3s ease;
}
.rdv__progress-steps {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}
.rdv__progress-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eee;
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.rdv__progress-step.is-active {
  background: var(--color-primary);
  color: var(--color-white);
}
.rdv__progress-step.is-done {
  background: var(--color-accent-green);
  color: var(--color-text);
}

/* Form steps */
.form-steps-track {
  position: relative;
  min-height: 250px;
}
.form-step {
  display: none;
  opacity: 0;
}
.form-step.is-active {
  display: block;
  animation: stepFadeIn 0.25s ease forwards;
}
@keyframes stepFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.form-step__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Service cards */
.form-step__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .form-step__cards { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  border: 2px solid #eee;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-align: center;
}
.service-card input { position: absolute; opacity: 0; }
.service-card img { width: 50px; height: auto; mix-blend-mode: multiply; }
.service-card span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}
.service-card:hover { border-color: var(--color-primary-light); transform: translateY(-2px); }
.service-card.is-selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74,29,106,0.12);
  background: var(--color-bg-dark);
}

/* Day cards */
.form-step__cards--days {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 480px) {
  .form-step__cards--days { grid-template-columns: repeat(3, 1fr); }
}
.day-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
  border: 2px solid #eee;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-align: center;
}
.day-card input { position: absolute; opacity: 0; }
.day-card__day {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary-medium);
}
.day-card__date {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}
.day-card__hours {
  font-size: 0.75rem;
  color: var(--color-text-light);
}
.day-card:hover { border-color: var(--color-primary-light); transform: translateY(-2px); }
.day-card.is-selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74,29,106,0.12);
  background: var(--color-bg-dark);
}

/* Time cards */
.form-step__cards--times {
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 480px) {
  .form-step__cards--times { grid-template-columns: repeat(4, 1fr); }
}
.time-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 2px solid #eee;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}
.time-card input { position: absolute; opacity: 0; }
.time-card:hover { border-color: var(--color-primary-light); }
.time-card.is-selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74,29,106,0.12);
  background: var(--color-bg-dark);
}

/* Reserved time card */
.time-card.is-reserved {
  background: #F0F0F0;
  color: #BBBBBB;
  border-color: #E0E0E0;
  cursor: not-allowed;
  pointer-events: none;
  flex-direction: column;
  gap: 0.2rem;
}
.time-card.is-reserved:hover {
  border-color: #E0E0E0;
}
.time-card__reserved-badge {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #E8734A;
  line-height: 1;
}

/* Form fields */
.form-step__fields { display: flex; flex-direction: column; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}
.field input, .field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #eee;
  border-radius: 10px;
  background: var(--color-bg);
  transition: border-color 0.2s;
  color: var(--color-text);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary-medium);
}

/* RDV navigation */
.rdv__nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

/* RDV Loading overlay */
.rdv__loading {
  text-align: center;
  padding: 3rem 2rem;
}
.rdv__spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #eee;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: rdvSpin 0.7s linear infinite;
}
@keyframes rdvSpin {
  to { transform: rotate(360deg); }
}
.rdv__loading p {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text-light);
}

/* RDV Error */
.rdv__error {
  text-align: center;
  padding: 2rem;
}
.rdv__error-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-warm);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.rdv__error p {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

/* RDV Success */
.rdv__success {
  text-align: center;
  padding: 2rem;
}
.rdv__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent-green);
  color: var(--color-text);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.rdv__success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.rdv__success-recap {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1rem auto 1.5rem;
  max-width: 400px;
  text-align: left;
}
.rdv__success-recap p {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
}
.rdv__success-recap p:last-child { border-bottom: none; }
.rdv__success-recap span { font-weight: 600; color: var(--color-text); }
.rdv__success-recap em { font-style: normal; color: var(--color-text-light); }

/* Day card complet state */
.day-card.is-complet {
  opacity: 0.45;
  pointer-events: none;
  position: relative;
}
.day-card__complet-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-accent-warm);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Time card loading state */
.form-step__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
}
.form-step__loading-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #eee;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: rdvSpin 0.7s linear infinite;
}

/* Step 2 loading on day cards */
.form-step__cards--days.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

/* --- Section Infos Pratiques --- */
.section--infos { background: #F5F3F7; }

/* Main card — infos + map */
.infos__main-card {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(74, 29, 106, 0.07);
  overflow: hidden;
  margin-top: 2.5rem;
}

/* 4 columns row */
.infos__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 2rem;
}
@media (min-width: 768px) {
  .infos__columns {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .infos__columns {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* Single info column */
.infos__col {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
}
@media (min-width: 1024px) {
  .infos__col {
    border-right: 1px solid rgba(74, 29, 106, 0.1);
  }
  .infos__col:last-child {
    border-right: none;
  }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .infos__col:nth-child(odd) {
    border-right: 1px solid rgba(74, 29, 106, 0.1);
  }
  .infos__col:nth-child(1),
  .infos__col:nth-child(2) {
    border-bottom: 1px solid rgba(74, 29, 106, 0.1);
    padding-bottom: 1.25rem;
  }
  .infos__col:nth-child(3),
  .infos__col:nth-child(4) {
    padding-top: 1.25rem;
  }
}
@media (max-width: 767px) {
  .infos__col {
    border-bottom: 1px solid rgba(74, 29, 106, 0.08);
    padding: 1rem 0.5rem;
  }
  .infos__col:last-child {
    border-bottom: none;
  }
}

/* Icon circles — solid violet */
.infos__icon-circle {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Labels & values */
.infos__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 0.2rem;
}
.infos__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
}

/* Map embed inside card */
.infos__map-wrap {
  position: relative;
  height: 380px;
  background: var(--color-bg-dark);
}
.infos__map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Maps link below card */
.infos__maps-link {
  text-align: center;
  margin-top: 1.25rem;
}
.infos__maps-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-light);
  transition: color 0.2s ease;
}
.infos__maps-link a:hover {
  color: var(--color-primary);
}

/* Comment venir — below map */
.infos__access {
  margin-top: 3rem;
}
.infos__access-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}
.infos__access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .infos__access-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.infos__access-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.infos__access-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(74, 29, 106, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.infos__access-item strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  display: block;
  margin-bottom: 0.25rem;
}
.infos__access-item p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* --- Section À propos --- */
.section--apropos { background: var(--color-white); }
.section--apropos .section__intro { max-width: 700px; }
.section--apropos .btn { margin-top: 0.5rem; }

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  padding: 3rem 0 1.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr; }
}
.footer__logo {
  margin-bottom: 1rem;
  max-height: 40px;
  width: auto;
}
.footer__entities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.footer__entities img { width: 90px; height: 28px; object-fit: contain; }
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__nav a {
  font-size: 0.9rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer__nav a:hover { opacity: 1; }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__contact a {
  font-size: 0.9rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer__contact a:hover { opacity: 1; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}
.footer__bottom a { text-decoration: underline; }

/* --- Scroll Animations --- */
[data-anim] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-anim].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-anim][data-delay="1"] { transition-delay: 0.1s; }
[data-anim][data-delay="2"] { transition-delay: 0.2s; }
[data-anim][data-delay="3"] { transition-delay: 0.3s; }

/* Hero anim plays immediately */
.hero [data-anim] {
  opacity: 0;
  transform: translateY(20px);
}
.hero [data-anim].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MOBILE RESPONSIVE — 375px optimized === */
@media (max-width: 480px) {

  /* 1. HERO — compact, CTAs side by side */
  .hero { min-height: auto; }
  .hero__content { padding: 5rem 1rem 2rem; }
  .hero__badge-edition { font-size: 0.7rem; padding: 0.35rem 1rem; margin-bottom: 1rem; }
  .hero__title { font-size: 1.65rem; margin-bottom: 0.75rem; }
  .hero__date { font-size: 1.15rem; margin-bottom: 0.35rem; }
  .hero__subtitle { font-size: 0.9rem; margin-bottom: 1.25rem; }
  .hero__stand21 { font-size: 1.1rem; }
  .countdown { gap: 0.5rem; margin-bottom: 1.25rem; }
  .countdown__number { font-size: 1.5rem; padding: 0.5rem 0.6rem; min-width: 50px; border-radius: 8px; }
  .countdown__label { font-size: 0.65rem; }
  .hero__badge-free { font-size: 11px; padding: 6px 14px; letter-spacing: 2px; margin-bottom: 1rem; }
  .hero__ctas {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .hero__ctas .btn {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    white-space: nowrap;
  }

  /* 2. SECTION TITLES — consistent, no orphan words */
  .section__title { font-size: 1.35rem; }
  .section__intro { font-size: 0.95rem; }
  .section { padding: clamp(2rem, 6vw, 4rem) 0; }

  /* 3. PROGRAMME — schedule badges stacked */
  .programme__schedule {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .programme__schedule-badge {
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    min-width: 0;
  }
  .programme__schedule-badge svg { margin-bottom: 0; }
  .programme__cta { font-size: 0.9rem; padding: 0.75rem 1.5rem; }

  /* 4. FOOTER — logos stacked vertically, centered */
  .footer__entities {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .footer__entities img { width: 90px; height: 28px; }
  .footer__brand { text-align: center; }
  .footer__logo { margin: 0 auto 1rem; }

  /* 5. FORMULAIRE RDV — full width, larger touch targets */
  .rdv__form-wrap {
    padding: 1.25rem;
    border-radius: 14px;
    margin: 0 -0.25rem;
  }
  .rdv__progress { margin-bottom: 1.5rem; }
  .rdv__progress-step { width: 24px; height: 24px; font-size: 0.7rem; }
  .form-step__title { font-size: 1.05rem; margin-bottom: 1rem; }
  .form-step__cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .service-card { padding: 1rem 0.5rem; gap: 0.35rem; }
  .service-card img { width: 40px; }
  .service-card span { font-size: 0.7rem; }
  .form-step__cards--days { grid-template-columns: repeat(3, 1fr); }
  .day-card { padding: 0.75rem 0.35rem; }
  .day-card__day { font-size: 0.7rem; }
  .day-card__date { font-size: 0.85rem; }
  .day-card__hours { font-size: 0.65rem; }
  .form-step__cards--times { grid-template-columns: 1fr 1fr; }
  .time-card { padding: 0.75rem; min-height: 48px; font-size: 0.85rem; }
  .field input, .field textarea {
    padding: 0.85rem 1rem;
    min-height: 48px;
    font-size: 16px; /* prevent iOS zoom */
  }
  .rdv__nav { gap: 0.5rem; }
  .rdv__nav .btn { font-size: 0.85rem; padding: 0.7rem 1.25rem; flex: 1; }
  .form-steps-track { min-height: 200px; }

  /* 6. GLOBAL — no horizontal overflow, consistent spacing */
  .container { padding: 0 1rem; }
  .stand__arg-icon { width: 52px; height: 52px; }
  .stand__arg-icon img { width: 32px; height: 32px; }
  .metier-card { padding: 1.5rem; }
  .concours__card { padding: 1.5rem 1rem; }
  .offre-card { padding: 1.5rem; }
  .infos__map-wrap { height: 250px; }
}

/* Extra small — below 375px safety net */
@media (max-width: 374px) {
  .hero__title { font-size: 1.4rem; }
  .hero__ctas .btn { font-size: 0.75rem; padding: 0.5rem 0.75rem; }
  .countdown__number { font-size: 1.3rem; min-width: 42px; padding: 0.4rem 0.5rem; }
  .form-step__cards { grid-template-columns: 1fr 1fr; }
  .form-step__cards--days { grid-template-columns: repeat(2, 1fr); }
  .footer__entities img { width: 80px; height: 24px; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    transition-duration: 0.01ms;
  }
  html { scroll-behavior: auto; }
  [data-anim] { opacity: 1; transform: none; }
}

/* --- Focus visible --- */
:focus-visible {
  outline: 3px solid var(--color-accent-green);
  outline-offset: 2px;
}
