/* =========================================================
   ISIF 2027 — Feuille de style
   Charte graphique : Bleu royal #0559E8 · Orange #F7941F
   Or #FFC20D · Vert #00B567 · Noir #090909 · Blanc
   Typo corporate : Montserrat (titres + texte)
   ========================================================= */

:root {
  --blue:      #0559E8;
  --blue-dark: #0440ad;
  --blue-deep: #042a73;
  --orange:    #F7941F;
  --gold:      #FFC20D;
  --green:     #00B567;
  --ink:       #090909;
  --white:     #ffffff;

  --bg:        #ffffff;
  --bg-tint:   #f4f7ff;
  --text:      #1a2233;
  --text-mut:  #5a6477;
  --line:      #e6ebf5;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 18px 50px -20px rgba(5, 89, 232, .35);
  --shadow-sm: 0 8px 24px -12px rgba(9, 9, 9, .18);
  --container: 1180px;
  --ease:        cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font:      'Montserrat', system-ui, -apple-system, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
sup { font-size: .6em; }

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

/* Display heading helper — Montserrat heavy per charte */
.display { font-weight: 800; letter-spacing: -.5px; line-height: 1.05; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(5,89,232,.7); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 16px 30px -12px rgba(5,89,232,.8); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--gold); color: var(--ink); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--outline-dark { background: transparent; color: var(--ink); border-color: rgba(9,9,9,.4); }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .35s, box-shadow .35s;
}
.header.is-scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(14px); box-shadow: 0 8px 28px -18px rgba(9,9,9,.5); }
.header__inner { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.05rem 24px; transition: padding .3s; }
.header.is-scrolled .header__inner { padding: .65rem 24px; }
.header__logo { margin-right: auto; display: inline-flex; align-items: center; }
.header__logo img { height: 40px; width: auto; display: block; }
.header__logo .logo-dark { display: none; }
.header.is-scrolled .logo-light { display: none; }
.header.is-scrolled .logo-dark { display: block; }

/* Nav centered on the page */
.nav { position: absolute; left: 50%; transform: translateX(-50%); }
.nav__list { display: flex; gap: 1.8rem; }
.nav__link {
  font-weight: 600; font-size: .92rem; color: #fff; white-space: nowrap;
  position: relative; padding: .3rem 0; transition: color .2s;
}
.header.is-scrolled .nav__link { color: var(--text); }
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__cta { margin-left: auto; padding: .55rem 1.3rem; background: #fff; color: var(--blue); border-color: #fff; }
.header__cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.header.is-scrolled .header__cta { background: var(--blue); color: #fff; border-color: var(--blue); }
.header.is-scrolled .header__cta:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: .3s; }
.header.is-scrolled .nav__toggle span { background: var(--blue); }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; padding: 170px 0 0; color: #fff; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5,89,232,.93) 0%, rgba(4,42,115,.94) 65%, rgba(3,25,74,.96) 100%),
    url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,194,13,.35), transparent 38%),
    radial-gradient(circle at 12% 80%, rgba(247,148,31,.30), transparent 42%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 3rem; align-items: center;
  padding-bottom: 70px;
}
.hero__badge {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: .4rem 1rem; border-radius: 50px; font-size: .82rem; font-weight: 600;
  letter-spacing: .3px; margin-bottom: 1.4rem;
}
.hero__title { font-weight: 800; line-height: 1.08; font-size: clamp(1.9rem, 4.2vw, 3.3rem); letter-spacing: -.8px; margin-bottom: 1.3rem; }
.hero__title-line { display: block; }
.hero__title-accent {
  display: block; background: linear-gradient(100deg, var(--gold), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__theme {
  font-size: 1.12rem; font-weight: 500; max-width: 32ch; color: rgba(255,255,255,.9);
  margin-bottom: 1.8rem; font-style: italic; border-left: 3px solid var(--orange); padding-left: 1rem;
}
.hero__chapo { max-width: 46ch; color: rgba(255,255,255,.88); font-size: 1.02rem; line-height: 1.65; margin-bottom: 1.8rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; margin-bottom: 2rem; }
.hero__meta-item { display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.hero__meta-item svg { width: 30px; height: 30px; fill: var(--gold); flex-shrink: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Countdown */
.hero__side { display: flex; justify-content: center; }
.countdown {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 1.8rem; width: 100%; max-width: 360px; backdrop-filter: blur(8px);
}
.countdown__label {
  text-align: center; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  font-size: .78rem; color: var(--gold); margin-bottom: 1.2rem;
}
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.countdown__cell { background: rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: .9rem .2rem; text-align: center; }
.countdown__cell span { display: block; font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1; }
.countdown__cell small { font-size: .65rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.7); }

/* Marquee */
.hero__marquee { position: relative; z-index: 1; overflow: hidden; background: rgba(0,0,0,.15); border-top: 1px solid rgba(255,255,255,.12); padding: .9rem 0; }
.hero__marquee-track { display: flex; gap: 1.5rem; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; }
.hero__marquee-track span { font-weight: 700; font-size: 1.02rem; color: rgba(255,255,255,.85); }
.hero__marquee-track span:nth-child(even){ color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  position: relative; color: #fff; padding: 170px 0 80px; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5,89,232,.93) 0%, rgba(4,42,115,.95) 100%),
    url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 10%, rgba(255,194,13,.3), transparent 40%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero__crumb { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.75); margin-bottom: .8rem; }
.page-hero__crumb a:hover { color: var(--gold); }
.page-hero h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.6px; line-height: 1.08; }
.page-hero p { margin-top: 1rem; font-size: 1.12rem; color: rgba(255,255,255,.88); max-width: 60ch; }

/* ---------- Stats (brand blue, no black) ---------- */
.stats { background: linear-gradient(120deg, var(--blue), var(--blue-deep)); color: #fff; padding: 3rem 0; }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; text-align: center; }
.stat__num, .stat__plus { font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--gold); line-height: 1; }
.stat p { font-size: .85rem; color: rgba(255,255,255,.8); margin-top: .4rem; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: .8rem; }
.eyebrow--light { color: var(--gold); }
.section__title { font-weight: 800; line-height: 1.12; font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--ink); letter-spacing: -.5px; }
.section__sub { color: var(--text-mut); margin-top: 1rem; font-size: 1.05rem; }
.section__sub a { color: var(--blue); font-weight: 700; }
.section__sub a:hover { text-decoration: underline; }
.section__sub strong { color: var(--ink); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.about__lead p { font-size: 1.12rem; margin-bottom: 1.8rem; }
.about__cards { display: grid; gap: 1.5rem; }
.vmcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.vmcard__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; }
.vmcard__icon svg { width: 28px; height: 28px; fill: #fff; }
.vmcard__icon--blue { background: var(--blue); }
.vmcard__icon--orange { background: var(--orange); }
.vmcard__icon--green { background: var(--green); }
.vmcard h3 { font-size: 1.3rem; margin-bottom: .6rem; color: var(--ink); }
.vmcard__list { display: grid; gap: .5rem; }
.vmcard__list li { position: relative; padding-left: 1.5rem; color: var(--text-mut); font-size: .96rem; }
.vmcard__list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--green); border-radius: 50%; }

/* ---------- Sectors ---------- */
.sectors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sector--large { grid-column: span 2; }
@media (max-width: 560px) { .sector--large { grid-column: auto; } }
.sector { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.sector__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 1.2rem; }
.sector::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.sector:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.sector:hover::before { transform: scaleX(1); }
.sector__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem; background: linear-gradient(135deg, rgba(5,89,232,.12), rgba(247,148,31,.14)); }
.sector__icon svg { width: 32px; height: 32px; fill: var(--blue); }
.sector h3 { font-size: 1.18rem; color: var(--ink); margin-bottom: .5rem; }
.sector p { color: var(--text-mut); font-size: .95rem; }
.sector--alt { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; }
.sector--alt .sector__icon { background: rgba(255,255,255,.16); }
.sector--alt .sector__icon svg { fill: var(--gold); }
.sector--alt h3 { color: #fff; }
.sector--alt p { color: rgba(255,255,255,.85); }
.tag { display: inline-block; background: var(--orange); color: #fff; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: .2rem .5rem; border-radius: 6px; vertical-align: middle; margin-left: .3rem; }

/* ---------- Tabs / Programme ---------- */
.tabs { max-width: 860px; margin: 0 auto; }
.tabs__nav { display: flex; gap: .5rem; background: var(--bg-tint); padding: .4rem; border-radius: 50px; width: max-content; margin: 0 auto 2.5rem; max-width: 100%; }
.tabs__btn { font-family: var(--font); font-weight: 700; font-size: .98rem; color: var(--text-mut); background: transparent; border: none; padding: .7rem 1.6rem; border-radius: 50px; cursor: pointer; transition: background .25s, color .25s; }
.tabs__btn span { color: var(--orange); }
.tabs__btn.is-active { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(5,89,232,.7); }
.tabs__btn.is-active span { color: var(--gold); }
.tabs__intro { text-align: center; font-weight: 600; color: var(--blue); margin-bottom: 2rem; font-size: 1.05rem; }
.timeline { position: relative; padding-left: 1rem; }
.timeline::before { content: ''; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--orange)); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; position: relative; padding: .8rem 0 1.3rem; }
.timeline__time { font-weight: 700; color: var(--blue); text-align: right; padding-top: 2px; }
.timeline li > div { position: relative; padding-left: 1.5rem; }
.timeline li > div::before { content: ''; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; background: #fff; border: 3px solid var(--orange); border-radius: 50%; }
.timeline h4 { font-size: 1.05rem; color: var(--ink); margin-bottom: .2rem; }
.timeline p { font-size: .92rem; color: var(--text-mut); }
.timeline p a { color: var(--blue); font-weight: 600; }
.timeline p a:hover { text-decoration: underline; }
.timeline h4 .tag { margin-left: .4rem; }

/* Workshops note */
.note {
  display: flex; gap: 1rem; align-items: flex-start; max-width: 860px; margin: 2.5rem auto 0;
  background: #fff7e9; border: 1px solid #ffe0b0; border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm); padding: 1.2rem 1.4rem;
}
.note svg { width: 26px; height: 26px; fill: var(--orange); flex-shrink: 0; }
.note p { font-size: .95rem; color: #6b4a17; }
.note strong { color: var(--ink); }

/* ---------- About / media images ---------- */
.about__img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.6rem; box-shadow: var(--shadow); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius-sm); transition: transform .35s var(--ease); }
.gallery a { overflow: hidden; border-radius: var(--radius-sm); display: block; }
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Challenge teaser (blue, white text) ---------- */
.challenge {
  color: #fff; padding: 90px 0; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.challenge::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: rgba(255,194,13,.18); border-radius: 50%; }
.challenge::before { content: ''; position: absolute; left: -60px; bottom: -90px; width: 280px; height: 280px; background: rgba(247,148,31,.16); border-radius: 50%; }
.challenge__inner { position: relative; z-index: 1; }
.challenge__content { max-width: 640px; }
.challenge .eyebrow { color: var(--gold); }
.challenge h2 { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; line-height: 1.1; letter-spacing: -.5px; }
.challenge p { font-size: 1.1rem; margin-bottom: 1.8rem; max-width: 56ch; color: rgba(255,255,255,.9); }
.challenge__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Steps (how to participate / challenge) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; position: relative; }
.step__num { font-weight: 800; font-size: 1.1rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; margin-bottom: 1rem; }
.step h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: .4rem; }
.step p { font-size: .92rem; color: var(--text-mut); }

/* ---------- Intervenants ---------- */
.speakers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.speaker {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.speaker:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

/* Portrait en cadre rectangulaire — les sources ont des ratios très variables,
   object-fit + cadrage haut normalisent sans déformer ni couper les visages. */
.speaker__photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%;
  display: block; background: var(--bg-tint);
  transition: transform .6s var(--ease);
}
.speaker:hover .speaker__photo { transform: scale(1.05); }

.speaker__body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.speaker h3 { font-size: 1.05rem; color: var(--ink); line-height: 1.25; }
.speaker__role { font-size: .87rem; color: var(--text-mut); }
.speaker__org {
  margin-top: .35rem; display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--blue); background: rgba(5,89,232,.1);
  padding: .24rem .7rem; border-radius: 50px;
}
.speaker__soon { display: inline-block; margin-top: .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--orange); background: #fff3e3; padding: .2rem .6rem; border-radius: 50px; }

/* ---------- Recap 2026 ---------- */
.recap__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-bottom: 3rem; }
.recap__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; text-align: center; box-shadow: var(--shadow-sm); }
.recap__num { font-weight: 800; font-size: 2.4rem; color: var(--blue); line-height: 1; }
.recap__card p { color: var(--text-mut); margin-top: .4rem; font-size: .9rem; }
.recap__media { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); border-radius: var(--radius); padding: 3.5rem 2rem; text-align: center; color: #fff; }
.recap__media h3 { font-weight: 800; font-size: clamp(1.4rem,3vw,2rem); margin-bottom: .8rem; }
.recap__media p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 1.5rem; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.compare th, .compare td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-tint); color: var(--ink); font-weight: 700; }
.compare tbody td:first-child { font-weight: 600; color: var(--ink); }
.compare td:last-child { color: var(--blue); font-weight: 600; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; margin-bottom: 2.5rem; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); height: 110px; display: grid; place-items: center; padding: 1.2rem; transition: transform .3s, box-shadow .3s; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.partner img { max-height: 64px; max-width: 100%; object-fit: contain; filter: grayscale(100%); opacity: .7; transition: filter .3s, opacity .3s; }
.partner:hover img { filter: grayscale(0); opacity: 1; }
.center { text-align: center; }

/* ---------- CTA band ---------- */
.ctaband { background: linear-gradient(120deg, var(--blue), var(--blue-deep)); color: #fff; padding: 70px 0; text-align: center; position: relative; overflow: hidden; }
.ctaband::after { content: ''; position: absolute; left: -60px; bottom: -60px; width: 260px; height: 260px; background: rgba(255,194,13,.18); border-radius: 50%; }
.ctaband__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.ctaband h2 { font-weight: 800; font-size: clamp(1.8rem,4vw,2.6rem); letter-spacing: -.5px; margin-bottom: 1rem; }
.ctaband p { color: rgba(255,255,255,.88); margin-bottom: 1.8rem; font-size: 1.05rem; }
.ctaband__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.formwrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-card > h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: .4rem; }
.form-card > p.form-card__desc { color: var(--text-mut); font-size: .95rem; margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-step { font-size: .8rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin: 1.8rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--line); }
.form-step:first-child { margin-top: 0; }
.field { margin-bottom: 1.1rem; }
[hidden] { display: none !important; }
.field--full { grid-column: 1 / -1; }
.field .muted { font-weight: 500; color: var(--text-mut); font-size: .78rem; }
.field input[type="file"] { padding: .6rem; background: #fbfcff; cursor: pointer; }
.field input[type="file"]::file-selector-button { font-family: var(--font); font-weight: 600; font-size: .85rem; color: #fff; background: var(--blue); border: none; border-radius: 8px; padding: .5rem .9rem; margin-right: .8rem; cursor: pointer; }
.field label { display: block; font-weight: 600; font-size: .85rem; color: var(--text); margin-bottom: .4rem; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--text);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfcff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5,89,232,.12); }
.field input.is-error, .field select.is-error, .field textarea.is-error { border-color: #e23; }
.field textarea { resize: vertical; }
.form__feedback { text-align: center; font-weight: 600; margin-top: .9rem; min-height: 1.2em; color: var(--green); }

/* Contact info aside */
.contact-aside { display: grid; gap: 1.5rem; }
.contact-aside .vmcard__list { margin-top: .5rem; }
.contact__list { display: grid; gap: 1.1rem; margin-top: 1rem; }
.contact__list li { display: flex; align-items: center; gap: .9rem; }
.contact__list svg { width: 22px; height: 22px; fill: var(--blue); flex-shrink: 0; }
.contact__list a:hover { color: var(--blue); }

/* ---------- Footer (deep blue, no black) ---------- */
.footer { background: var(--blue-deep); color: rgba(255,255,255,.78); padding: 3.5rem 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__logo { height: 40px; width: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: .9rem; line-height: 1.7; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col a, .footer__col p { display: block; font-size: .9rem; margin-bottom: .55rem; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1.3rem 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__bottom p { font-size: .82rem; }
.footer__top { font-size: .85rem; font-weight: 600; color: var(--gold); }

/* ---------- Ateliers fermés ---------- */
.workshops { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.workshop {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 2rem 1.9rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.workshop__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.workshop__day { font-weight: 700; font-size: .82rem; letter-spacing: .5px; text-transform: uppercase; color: var(--blue); }
.workshop__seats {
  font-weight: 700; font-size: .72rem; letter-spacing: .5px; text-transform: uppercase;
  color: #6b4a17; background: #fff3e3; border: 1px solid #ffe0b0; padding: .22rem .7rem; border-radius: 50px;
}
.workshop h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: .4rem; line-height: 1.2; }
.workshop__meta { font-size: .85rem; color: var(--text-mut); font-weight: 600; margin-bottom: 1rem; }
.workshop p { color: var(--text-mut); font-size: .96rem; margin-bottom: 1rem; }
.workshop__out { color: var(--text) !important; font-size: .92rem !important; padding-top: .9rem; border-top: 1px solid var(--line); }
.workshop__out strong { color: var(--blue); }
.workshop .btn { margin-top: auto; align-self: flex-start; }
.note a { color: var(--blue); font-weight: 700; white-space: nowrap; }
.note a:hover { text-decoration: underline; }

/* ---------- Networking ---------- */
.tag--net { background: var(--blue); }
.netgrid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.netgrid__viz {
  background: linear-gradient(140deg, var(--blue), var(--blue-deep)); color: #fff;
  border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow); text-align: center;
}
.netgrid__viz-label { font-size: .74rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.6rem; }
.tables { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 14px; margin: 0 auto 1.6rem; max-width: 300px; }
.table {
  position: relative; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.32);
}
.table::before, .table::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 13px; height: 13px; border-radius: 50%; background: var(--gold);
}
.table::before { top: -8px; }
.table::after { bottom: -8px; }
.netgrid__viz-cap { font-size: .92rem; color: rgba(255,255,255,.85); line-height: 1.5; }
.netgrid__viz-cap strong { color: #fff; }
.netgrid__figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.2); }
.netgrid__figures span { display: block; font-weight: 800; font-size: 2.1rem; color: var(--gold); line-height: 1; }
.netgrid__figures small { font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.72); }
.netgrid__body h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: .7rem; }
.netgrid__body p { color: var(--text-mut); margin-bottom: 1.2rem; }

.cross { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .8rem; }
.cross__a, .cross__b { font-weight: 700; font-size: .92rem; padding: .5rem 1.1rem; border-radius: 50px; }
.cross__a { background: rgba(5,89,232,.1); color: var(--blue); }
.cross__b { background: rgba(247,148,31,.14); color: #a85f06; }
.cross__ico { width: 22px; height: 22px; fill: var(--text-mut); flex-shrink: 0; }

.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.segment { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); }
.segment__pin {
  display: inline-block; font-weight: 700; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--blue); background: rgba(5,89,232,.1); padding: .28rem .8rem; border-radius: 50px; margin-bottom: .9rem;
}
.segment h4 { font-size: 1.12rem; color: var(--ink); margin-bottom: .45rem; }
.segment p { font-size: .93rem; color: var(--text-mut); }
.segment--intl { background: linear-gradient(140deg, var(--blue), var(--blue-deep)); color: #fff; border-color: transparent; }
.segment--intl .segment__pin { background: rgba(255,255,255,.18); color: var(--gold); }
.segment--intl h4 { color: #fff; }
.segment--intl p { color: rgba(255,255,255,.85); }
.segment--intl strong { color: var(--gold); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Plateforme de rendez-vous ---------- */
.field__hint { margin-top: .4rem; font-size: .8rem; color: var(--text-mut); }
.field__hint strong { color: var(--blue); }
.field__hint a { color: var(--blue); font-weight: 700; }
.field__hint a:hover { text-decoration: underline; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step p a { color: var(--blue); font-weight: 600; }
.step p a:hover { text-decoration: underline; }

/* Connexion */
.connexion { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; max-width: 980px; margin: 0 auto; }
.connexion__alt { margin-top: 1.2rem; font-size: .88rem; color: var(--text-mut); line-height: 1.6; }
.connexion__alt a { color: var(--blue); font-weight: 700; }
.connexion__alt a:hover { text-decoration: underline; }
.connexion__why { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.connexion__why h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 1rem; }
.connexion__envoye { font-size: .93rem; color: var(--text-mut); margin-bottom: 1.2rem; }
.connexion__envoye strong { color: var(--ink); }
.connexion__deja {
  background: #eafaf1; border: 1px solid #b7e8cd; border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; margin-bottom: 1.4rem; font-size: .93rem; color: #1c6b42;
}
.connexion__deja a { color: var(--green); font-weight: 700; }
.champ-code {
  font-size: 1.6rem !important; font-weight: 800; letter-spacing: .5em;
  text-align: center; padding-left: .5em !important;
}

/* Profil participant */
.profil { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: start; }
.profil__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.profil__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.profil__avatar {
  width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-weight: 800; font-size: 1.15rem;
}
.profil__name { font-weight: 800; font-size: 1.15rem; color: var(--ink); line-height: 1.25; }
.profil__role { font-size: .92rem; color: var(--blue); font-weight: 600; }
.profil__org { font-size: .88rem; color: var(--text-mut); }
.profil__desc { font-size: .95rem; color: var(--text-mut); font-style: italic; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.profil__note { margin-top: 1.2rem; background: var(--bg-tint); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.profil__note span { display: block; font-size: .68rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); margin-bottom: .4rem; }
.profil__note p { font-size: .93rem; color: var(--text); }
.profil__legend h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 1.2rem; }
.deflist dt { font-weight: 700; color: var(--ink); font-size: .96rem; margin-top: 1.1rem; }
.deflist dt:first-child { margin-top: 0; }
.deflist dd { font-size: .93rem; color: var(--text-mut); margin-top: .2rem; }
.deflist dd strong { color: var(--blue); }
.deflist dd a { color: var(--blue); font-weight: 600; }
.deflist dd a:hover { text-decoration: underline; }
.deflist > p { color: var(--text-mut); margin-bottom: 1rem; }
.deflist > p:last-child { margin-bottom: 0; }

/* Networking teaser (accueil) */
.netband { background: var(--bg-tint); padding: 80px 0; }
.netband__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.netband h2 { font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--ink); letter-spacing: -.5px; line-height: 1.14; margin-bottom: 1rem; }
.netband p { color: var(--text-mut); font-size: 1.05rem; margin-bottom: 1.6rem; max-width: 56ch; }
.netband__figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.netband__fig { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1rem; text-align: center; box-shadow: var(--shadow-sm); }
.netband__fig span { display: block; font-weight: 800; font-size: 2.2rem; color: var(--blue); line-height: 1; }
.netband__fig small { display: block; margin-top: .4rem; font-size: .78rem; color: var(--text-mut); font-weight: 600; line-height: 1.35; }

/* ---------- Espace participant ---------- */
.espace { padding: 140px 0 90px; min-height: 70vh; }
.espace__etat { max-width: 560px; margin: 3rem auto; text-align: center; }
.espace__etat h1 { font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--ink); margin-bottom: .8rem; }
.espace__etat p { color: var(--text-mut); margin-bottom: 1.6rem; }
.espace__entete {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  flex-wrap: wrap; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem;
}
.espace__bonjour { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.espace__bonjour strong { font-weight: 800; }
.espace__sous { color: var(--text-mut); font-size: .95rem; }
.espace__type {
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: #fff; background: var(--blue); padding: .35rem .9rem; border-radius: 50px;
}

.onglets { display: flex; gap: .4rem; background: var(--bg-tint); padding: .4rem; border-radius: 50px; width: max-content; max-width: 100%; margin-bottom: 2.5rem; flex-wrap: wrap; }
.onglets__btn {
  font-family: var(--font); font-weight: 700; font-size: .95rem; color: var(--text-mut);
  background: transparent; border: none; padding: .65rem 1.4rem; border-radius: 50px; cursor: pointer;
  transition: background .25s, color .25s; display: inline-flex; align-items: center; gap: .5rem;
}
.onglets__btn.is-active { background: var(--blue); color: #fff; }
.pastille { background: var(--orange); color: #fff; font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 50px; display: grid; place-items: center; padding: 0 .35rem; }

.vue__tete { margin-bottom: 1.6rem; }
.vue__tete h2 { font-size: 1.5rem; color: var(--ink); font-weight: 800; margin-bottom: .3rem; }
.vue__tete p { color: var(--text-mut); font-size: .95rem; }
.vue__vide { color: var(--text-mut); font-style: italic; padding: 2rem 0; }

.filtres { display: grid; grid-template-columns: 1fr 260px; gap: 1rem; margin-bottom: 2rem; }
.filtres input, .filtres select {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--text);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfcff;
}
.filtres input:focus, .filtres select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5,89,232,.12); }

.annuaire { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.fiche { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.fiche__tete { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.fiche__avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-weight: 800; font-size: .92rem;
}
.fiche__nom { font-weight: 800; color: var(--ink); line-height: 1.25; }
.fiche__role { font-size: .88rem; color: var(--blue); font-weight: 600; }
.fiche__org { font-size: .85rem; color: var(--text-mut); }
.fiche__meta { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .9rem; }
.etiquette { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--blue); background: rgba(5,89,232,.1); padding: .22rem .65rem; border-radius: 50px; }
.fiche__lieu { font-size: .82rem; color: var(--text-mut); }
.fiche__desc { font-size: .92rem; color: var(--text-mut); font-style: italic; margin-bottom: .9rem; }
.fiche__note { background: var(--bg-tint); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: 1rem; }
.fiche__note span { display: block; font-size: .64rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); margin-bottom: .3rem; }
.fiche__note p { font-size: .89rem; color: var(--text); }
.fiche__action { margin-top: auto; padding-top: .4rem; }
.btn--petit { padding: .5rem 1.1rem; font-size: .85rem; }

.demandes { display: grid; gap: 1.2rem; }
.demande { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.demande--en_attente { border-left-color: var(--orange); }
.demande--acceptee   { border-left-color: var(--green); }
.demande--refusee, .demande--annulee { border-left-color: var(--text-mut); opacity: .75; }
.demande__tete { display: flex; gap: .9rem; align-items: center; margin-bottom: .8rem; flex-wrap: wrap; }
.demande__tete > div { margin-right: auto; }
.demande__msg { font-size: .93rem; color: var(--text-mut); font-style: italic; margin-bottom: .6rem; }
.demande__creneau { font-size: .88rem; font-weight: 700; color: var(--blue); margin-bottom: .6rem; }
.demande__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .8rem; }
.etat { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: .25rem .7rem; border-radius: 50px; }
.etat--en_attente { color: #6b4a17; background: #fff3e3; }
.etat--acceptee   { color: #1c6b42; background: #eafaf1; }
.etat--refusee, .etat--annulee { color: var(--text-mut); background: var(--bg-tint); }

.case { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500 !important; cursor: pointer; }
.case input { width: auto !important; margin-top: .2rem; flex-shrink: 0; }
.field label.case { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 0; font-size: .93rem; }
.separateur { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

/* Fenêtre modale */
.modale { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem; }
.modale__fond { position: absolute; inset: 0; background: rgba(4,42,115,.55); backdrop-filter: blur(3px); }
.modale__boite {
  position: relative; background: #fff; border-radius: var(--radius); padding: 2rem;
  width: 100%; max-width: 460px; box-shadow: 0 30px 70px -20px rgba(9,9,9,.5); max-height: 90vh; overflow-y: auto;
}
.modale__x { position: absolute; top: .8rem; right: 1rem; background: none; border: none; font-size: 1.8rem; line-height: 1; color: var(--text-mut); cursor: pointer; }
.modale__x:hover { color: var(--ink); }
.modale__boite h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: .5rem; }
.modale__cible { font-size: .95rem; color: var(--text-mut); margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.modale__cible strong { color: var(--ink); }

/* ---------- Badge participant ---------- */
.badge-zone {
  display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 3rem;
  align-items: start; max-width: 900px; margin: 0 auto;
  animation: popIn .5s var(--ease-spring);
}
.badge-zone__apercu { position: sticky; top: 100px; }
.badge-canvas {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: 0 24px 60px -24px rgba(9,9,9,.45);
  background: #fff;
}
.badge-zone__titre { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; color: var(--ink); letter-spacing: -.5px; margin: .6rem 0 .4rem; }
.badge-zone__num { font-size: .95rem; color: var(--text-mut); margin-bottom: 1rem; }
.badge-zone__num strong { color: var(--blue); font-size: 1.1rem; letter-spacing: .04em; }

.badge-zone__etat { font-size: .92rem; font-weight: 600; padding: .8rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1.4rem; }
.badge-zone__etat[data-ton="info"]   { background: var(--bg-tint); color: var(--text-mut); }
.badge-zone__etat[data-ton="ok"]     { background: #e8f9f1; color: #046c43; }
.badge-zone__etat[data-ton="erreur"] { background: #fdecec; color: #b3261e; }

/* Champ photo du formulaire, avec vignette d'aperçu */
.photo-champ { display: flex; align-items: center; gap: 1rem; }
.photo-champ__vignette {
  flex-shrink: 0; width: 68px; height: 68px; border-radius: 14px;
  display: grid; place-items: center; overflow: hidden;
  background: var(--bg-tint); border: 1.5px solid var(--line);
  background-size: cover; background-position: center 25%;
  transition: border-color .3s, transform .35s var(--ease-spring);
}
.photo-champ__vignette svg { width: 30px; height: 30px; fill: var(--text-mut); opacity: .55; }
.photo-champ__vignette.est-remplie { border-color: var(--blue); border-style: solid; transform: scale(1.04); }
.photo-champ__vignette.est-remplie svg { display: none; }
.photo-champ__corps { flex: 1; min-width: 0; }
.photo-champ input[type="file"] { padding: .55rem; background: #fbfcff; cursor: pointer; }

.badge-zone__boutons { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.badge-zone__boutons .btn { gap: .5rem; }
.badge-zone__secours { margin: -.6rem 0 1rem; }
.badge-zone__secours a { font-size: .85rem; font-weight: 700; color: var(--blue); }
.badge-zone__secours a:hover { text-decoration: underline; }
.badge-zone__suite { font-size: .9rem; color: var(--text-mut); line-height: 1.6; }
.badge-zone__suite strong { color: var(--ink); }
.badge-zone__suite a { color: var(--blue); font-weight: 700; }
.badge-zone__suite a:hover { text-decoration: underline; }

@media (max-width: 780px) {
  .badge-zone { grid-template-columns: 1fr; gap: 2rem; }
  .badge-zone__apercu { position: static; max-width: 340px; margin-inline: auto; }
}

/* =========================================================
   MOTION — couche d'animation
   ========================================================= */

/* Barre de progression de lecture (injectée par main.js) */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; background: transparent; }
.progress__bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--gold));
  transition: width .12s linear;
}

/* Entrée au chargement */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

.hero__badge,
.hero__title span,
.hero__chapo,
.hero__meta,
.hero__cta,
.hero__side { animation: riseIn .9s var(--ease) backwards; }
.hero__badge        { animation-delay: .08s; }
.hero__title span:nth-child(1) { animation-delay: .18s; }
.hero__title span:nth-child(2) { animation-delay: .28s; }
.hero__title span:nth-child(3) { animation-delay: .38s; }
.hero__chapo        { animation-delay: .44s; }
.hero__meta         { animation-delay: .5s; }
.hero__cta          { animation-delay: .6s; }
.hero__side         { animation-delay: .7s; }

.page-hero__crumb, .page-hero h1, .page-hero p { animation: riseIn .8s var(--ease) backwards; }
.page-hero__crumb { animation-delay: .06s; }
.page-hero h1     { animation-delay: .16s; }
.page-hero p      { animation-delay: .28s; }

/* Halo respirant du hero */
@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(-2%, 2%, 0) scale(1.06); }
}
.hero__bg { animation: drift 18s ease-in-out infinite; }

/* Reveal au scroll, avec décalage piloté par main.js.
   Masquage conditionné à la classe .js : sans JavaScript, tout reste visible. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Frise chronologique : le trait se dessine */
.js .timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--ease); }
.js .timeline.is-drawn::before { transform: scaleY(1); }
.js .timeline li { opacity: 0; transform: translateX(-14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .timeline.is-drawn li { opacity: 1; transform: none; }
.timeline.is-drawn li:nth-child(1){transition-delay:.10s} .timeline.is-drawn li:nth-child(2){transition-delay:.18s}
.timeline.is-drawn li:nth-child(3){transition-delay:.26s} .timeline.is-drawn li:nth-child(4){transition-delay:.34s}
.timeline.is-drawn li:nth-child(5){transition-delay:.42s} .timeline.is-drawn li:nth-child(6){transition-delay:.50s}
.timeline.is-drawn li:nth-child(7){transition-delay:.58s} .timeline.is-drawn li:nth-child(8){transition-delay:.66s}
.timeline.is-drawn li:nth-child(9){transition-delay:.74s}
.timeline li > div::before { transition: transform .3s var(--ease-spring), border-color .3s; }
.timeline li:hover > div::before { transform: scale(1.35); border-color: var(--blue); }

/* Bascule d'onglets */
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tabs__panel.is-active, .vue.is-active { animation: panelIn .45s var(--ease); }

/* Boutons : reflet au survol */
.btn { position: relative; overflow: hidden; }
.btn { max-width: 100%; text-align: center; }
.btn::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: transform .6s var(--ease); pointer-events: none;
}
.btn:hover::after { transform: translateX(120%) skewX(-18deg); }
.btn:active { transform: translateY(-1px) scale(.985); }

/* Cartes : élévation plus vivante */
.vmcard, .step, .workshop, .segment, .recap__card, .rule, .netband__fig, .partner {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.vmcard:hover, .step:hover, .workshop:hover, .segment:hover, .recap__card:hover, .netband__fig:hover {
  transform: translateY(-5px); box-shadow: var(--shadow);
}
.step__num, .vmcard__icon, .sector__icon { transition: transform .4s var(--ease-spring); }
.step:hover .step__num, .vmcard:hover .vmcard__icon, .sector:hover .sector__icon { transform: scale(1.1) rotate(-4deg); }

/* Tables de rendez-vous : pulsation douce */
@keyframes tablePulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.table::before, .table::after { animation: tablePulse 3.2s ease-in-out infinite; }
.table:nth-child(2n)::before { animation-delay: .4s; }
.table:nth-child(3n)::after  { animation-delay: .8s; }

/* ---------- Espace participant : entrées et états ---------- */
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.annuaire > *, .demandes > * { animation: cardIn .5s var(--ease) backwards; }
.annuaire > *:nth-child(1),.demandes > *:nth-child(1){animation-delay:.03s}
.annuaire > *:nth-child(2),.demandes > *:nth-child(2){animation-delay:.08s}
.annuaire > *:nth-child(3),.demandes > *:nth-child(3){animation-delay:.13s}
.annuaire > *:nth-child(4),.demandes > *:nth-child(4){animation-delay:.18s}
.annuaire > *:nth-child(5),.demandes > *:nth-child(5){animation-delay:.23s}
.annuaire > *:nth-child(6),.demandes > *:nth-child(6){animation-delay:.28s}
.annuaire > *:nth-child(7),.demandes > *:nth-child(7){animation-delay:.33s}
.annuaire > *:nth-child(8),.demandes > *:nth-child(8){animation-delay:.38s}
.annuaire > *:nth-child(n+9),.demandes > *:nth-child(n+9){animation-delay:.42s}

/* Chargement de l'espace : anneau tournant */
@keyframes spin { to { transform: rotate(360deg); } }
#chargement::before {
  content: ''; display: block; width: 42px; height: 42px; margin: 0 auto 1.2rem;
  border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%;
  animation: spin .8s linear infinite;
}
.espace__etat { animation: fadeIn .5s var(--ease); }

/* Pastille de notification */
@keyframes pastillePop { 0% { transform: scale(0); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.pastille { animation: pastillePop .45s var(--ease-spring) backwards; }

/* Retour de formulaire */
.form__feedback:not(:empty) { animation: popIn .35s var(--ease-spring); }

/* Champ en erreur : secousse */
@keyframes shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-5px)} 40%{transform:translateX(5px)} 60%{transform:translateX(-3px)} 80%{transform:translateX(3px)} }
.field input.is-error, .field select.is-error, .field textarea.is-error { animation: shake .4s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__side { justify-content: flex-start; }
  .about__grid, .formwrap, .netgrid, .netband__inner, .connexion, .profil { grid-template-columns: 1fr; gap: 2rem; }
  .steps--3 { grid-template-columns: 1fr; }
  .annuaire { grid-template-columns: repeat(2, 1fr); }
  .filtres { grid-template-columns: 1fr; }
  .sectors__grid, .speakers, .recap__grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .workshops { grid-template-columns: 1fr; }
  .segments { grid-template-columns: 1fr; }
  .netgrid__viz { max-width: 420px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1rem; }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .nav { position: fixed; inset: 0 0 0 auto; left: auto; transform: translateX(100%); width: min(80vw, 320px); background: #fff; flex-direction: column; padding: 90px 1.5rem 2rem; transition: transform .35s var(--ease); box-shadow: -10px 0 40px -20px rgba(9,9,9,.5); margin-left: 0; overflow-y: auto; }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: .3rem; }
  .header .nav__link, .header.is-scrolled .nav__link { color: var(--text); display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .header .nav__link:hover, .header .nav__link.is-active { color: var(--blue); }
  .header__cta { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .sectors__grid, .steps, .speakers, .recap__grid, .partners, .footer__inner, .gallery { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 120px; }
  .page-hero { padding-top: 120px; }
  .timeline::before { left: 78px; }
  .timeline li { grid-template-columns: 66px 1fr; gap: 1rem; }
  .tabs__btn { padding: .6rem 1rem; font-size: .88rem; }
  .netband__figures { grid-template-columns: 1fr; }
  .annuaire { grid-template-columns: 1fr; }
  .espace { padding-top: 110px; }
  .onglets { width: 100%; justify-content: center; }
  .tables { grid-template-columns: repeat(4, 1fr); max-width: 240px; }
  .workshop .btn { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Galerie 2026
   ========================================================= */
.jour__onglets { display: flex; gap: .5rem; background: var(--bg-tint); padding: .4rem; border-radius: 50px; width: max-content; max-width: 100%; margin: 0 auto 2.5rem; }
.jour__onglet {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  font-family: var(--font); font-weight: 700; font-size: .96rem; color: var(--text-mut);
  background: transparent; border: none; padding: .7rem 1.5rem; border-radius: 50px; cursor: pointer;
  transition: background .25s, color .25s;
}
.jour__onglet.est-actif { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(5,89,232,.7); }
.jour__date { font-weight: 500; opacity: .8; font-size: .86rem; }
.jour__compte { font-size: .72rem; font-weight: 800; background: rgba(0,0,0,.08); padding: .12rem .5rem; border-radius: 50px; }
.jour__onglet.est-actif .jour__compte { background: rgba(255,255,255,.22); }

/* Grille en colonnes : les photos gardent leur cadrage d'origine */
.galerie { columns: 4 240px; column-gap: 12px; }
.galerie .photo {
  display: block; width: 100%; margin: 0 0 12px; padding: 0;
  border: none; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  background: var(--bg-tint); break-inside: avoid;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.galerie .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie .photo:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.galerie .photo:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.galerie__chargement { text-align: center; color: var(--text-mut); padding: 2rem 0; font-weight: 600; }
#sentinelle { height: 1px; }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 300; background: rgba(9,9,9,.94); display: grid; place-items: center; padding: 4rem 1rem 5rem; }
.visionneuse img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.visionneuse__fermer, .visionneuse__nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; transition: background .25s;
}
.visionneuse__fermer:hover, .visionneuse__nav:hover { background: rgba(255,255,255,.26); }
.visionneuse__fermer { top: 1.2rem; right: 1.2rem; font-size: 2rem; }
.visionneuse__nav--prec { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.visionneuse__nav--suiv { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.visionneuse__texte { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 600; text-align: center; padding: 0 1rem; }

/* Téléversement */
.jour__choix { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.depot {
  border: 2px dashed var(--line); border-radius: var(--radius); background: #fbfcff;
  padding: 2.6rem 1.5rem; text-align: center; transition: border-color .25s, background .25s;
}
.depot.est-survolee { border-color: var(--blue); background: rgba(5,89,232,.05); }
.depot svg { width: 42px; height: 42px; fill: var(--blue); margin: 0 auto .9rem; }
.depot__titre { font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.depot__aide { font-size: .9rem; color: var(--text-mut); margin-top: .3rem; }
.depot__lien { color: var(--blue); font-weight: 700; cursor: pointer; text-decoration: underline; }
.depot__compteur { margin-top: .8rem; font-size: .9rem; font-weight: 700; color: var(--blue); }

.jauge-envoi { height: 8px; background: var(--line); border-radius: 50px; overflow: hidden; margin-top: 1.2rem; }
.jauge-envoi__barre { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--green)); transition: width .3s var(--ease); }

.journal { margin-top: 1.2rem; max-height: 280px; overflow-y: auto; display: grid; gap: .3rem; }
.journal li { font-size: .84rem; padding: .45rem .7rem; border-radius: 8px; background: var(--bg-tint); color: var(--text-mut); }
.journal li[data-ton="ok"] { background: #e9f9f1; color: #067a4a; }
.journal li[data-ton="erreur"] { background: #fdecea; color: #b3261e; }

@media (max-width: 980px) { .galerie { columns: 3 200px; } }
@media (max-width: 620px) {
  .galerie { columns: 2 140px; column-gap: 8px; }
  .galerie .photo { margin-bottom: 8px; }
  .jour__onglets { width: 100%; }
  .jour__onglet { flex: 1; justify-content: center; padding: .7rem .8rem; font-size: .88rem; }
  .jour__date { display: none; }
  .visionneuse { padding: 3.5rem .5rem 4rem; }
  .visionneuse__nav { width: 42px; height: 42px; }
}

/* Diagnostic de la page de téléversement */
.diagnostic { display: grid; gap: .5rem; max-width: 640px; margin: 1.5rem auto; text-align: left; }
.diagnostic li { font-size: .9rem; line-height: 1.55; padding: .7rem .9rem; border-radius: 10px; background: var(--bg-tint); color: var(--text-mut); }
.diagnostic li[data-ton="ok"] { background: #e9f9f1; color: #067a4a; }
.diagnostic li[data-ton="erreur"] { background: #fdecea; color: #b3261e; }
.diagnostic li strong { display: inline; }
.diagnostic__aide { font-size: .86rem; color: var(--text-mut); max-width: 640px; margin: 0 auto 1.5rem; }

/* Aperçu de galerie sur la page 2026 */
.apercu-jour { margin-bottom: 3rem; }
.apercu-jour__tete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.apercu-jour__tete h3 { font-size: 1.35rem; color: var(--ink); font-weight: 800; }
.apercu-jour__tete h3 span { font-weight: 500; font-size: .92rem; color: var(--text-mut); margin-left: .5rem; }
.apercus { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.apercu { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-tint); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.apercu img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.apercu:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.apercu:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .apercus { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .apercus { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* =========================================================
   Intervenants — portrait plein cadre, informations en bandeau
   ========================================================= */
.intervenants { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

.intervenant {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--bg-tint);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.intervenant:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.intervenant:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Le noir et blanc unifie des portraits pris dans des lumières
   très différentes ; la couleur revient au survol. */
.intervenant__photo {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%;
  display: block; filter: grayscale(1) contrast(1.04);
  transition: transform .7s var(--ease), filter .5s;
}
.intervenant:hover .intervenant__photo { transform: scale(1.06); filter: none; }

/* Le dégradé démarre haut et opaque : il doit rester lisible
   même quand la fonction tient sur deux lignes. */
.intervenant__info {
  position: absolute; inset: auto 0 0; color: #fff;
  padding: 2.6rem .85rem .9rem;
  background: linear-gradient(to top, rgba(4,42,115,.97) 40%, rgba(4,42,115,.78) 66%, transparent);
}
.intervenant__info > * { display: block; }
.intervenant__nom { font-weight: 800; font-size: .9rem; line-height: 1.18; letter-spacing: -.01em; }
.intervenant__fonction {
  font-size: .73rem; line-height: 1.32; font-weight: 500;
  color: rgba(255,255,255,.86); margin-top: .2rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.intervenant__org {
  display: inline-block; margin-top: .4rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 1080px) { .intervenants { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px)  { .intervenants { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px)  {
  .intervenants { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .intervenant__info { padding: 2.2rem .7rem .8rem; }
  .intervenant__nom { font-size: .82rem; }
  .intervenant__fonction { font-size: .68rem; }
}

/* =========================================================
   Calendrier du Challenge
   ========================================================= */
.compte-avant {
  max-width: 820px; margin: 0 auto 2.2rem; text-align: center;
  font-weight: 700; font-size: .96rem; color: var(--blue);
  background: rgba(5,89,232,.08); border: 1px solid rgba(5,89,232,.18);
  padding: .9rem 1.2rem; border-radius: var(--radius-sm);
}

.jalons { max-width: 820px; margin: 0 auto; position: relative; padding-left: 0; }
.jalons::before {
  content: ''; position: absolute; left: 158px; top: 12px; bottom: 12px; width: 2px;
  background: var(--line);
}
.jalon {
  position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 2.4rem;
  padding: .9rem 0 1.4rem; align-items: start;
}
.jalon__date {
  text-align: right; font-weight: 700; font-size: .86rem; color: var(--text-mut);
  padding-top: 2px; line-height: 1.35;
}
.jalon__corps { position: relative; padding-left: 1.6rem; }
/* La pastille est posée sur le trait vertical */
.jalon__corps::before {
  content: ''; position: absolute; left: -9px; top: 5px; width: 16px; height: 16px;
  background: #fff; border: 3px solid var(--line); border-radius: 50%;
  transition: border-color .3s, transform .3s var(--ease-spring);
}
.jalon h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: .2rem; }
.jalon p { font-size: .9rem; color: var(--text-mut); }

/* Étape passée : atténuée mais lisible */
.jalon.est-passe .jalon__date, .jalon.est-passe h3, .jalon.est-passe p { opacity: .5; }
.jalon.est-passe .jalon__corps::before { background: var(--line); border-color: var(--line); }

/* Étape en cours : c'est l'information que le visiteur cherche */
.jalon.est-encours .jalon__date { color: var(--blue); }
.jalon.est-encours h3 { color: var(--blue); }
.jalon.est-encours .jalon__corps::before { border-color: var(--blue); transform: scale(1.25); }
.jalon.est-encours::after {
  content: 'En cours'; position: absolute; right: 0; top: .9rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--blue); padding: .22rem .6rem; border-radius: 50px;
}

/* Parcours en 7 étapes */
.steps--7 { grid-template-columns: repeat(4, 1fr); }
.step--cle {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); border-color: transparent; color: #fff;
  grid-column: span 2;
}
.step--cle h3 { color: #fff; }
.step--cle p { color: rgba(255,255,255,.88); }
.step--cle .step__num { background: rgba(255,255,255,.2); }

@media (max-width: 980px) {
  .steps--7 { grid-template-columns: repeat(2, 1fr); }
  .step--cle { grid-column: span 2; }
}
@media (max-width: 620px) {
  .steps--7 { grid-template-columns: 1fr; }
  .step--cle { grid-column: span 1; }
  .jalons::before { left: 7px; }
  .jalon { grid-template-columns: 1fr; gap: .3rem; padding-left: 2rem; }
  .jalon__date { text-align: left; }
  .jalon__corps { padding-left: 0; }
  .jalon__corps::before { left: -2rem; top: -1.3rem; }
  .jalon.est-encours::after { position: static; display: inline-block; margin-top: .5rem; }
}

/* Règles d'accès aux rendez-vous */
.acces-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 940px; margin: 0 auto; }
.acces-carte {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem; box-shadow: var(--shadow-sm);
}
.acces-carte h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 1rem; }
.acces-carte__intro { font-size: .93rem; color: var(--text-mut); margin-bottom: 1rem; }
.acces-carte ul { display: grid; gap: .6rem; }
.acces-carte li {
  position: relative; padding-left: 1.6rem; font-size: .94rem; color: var(--text-mut); line-height: 1.5;
}
.acces-carte li::before {
  content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px;
  background: var(--text-mut); border-radius: 50%; opacity: .45;
}
/* La carte des accès B2B porte la couleur : c'est l'information à retenir */
.acces-carte--oui { border-left: 4px solid var(--blue); }
.acces-carte--oui li::before { background: var(--blue); opacity: 1; }
.acces-carte--oui li strong { color: var(--ink); }

@media (max-width: 820px) { .acces-grille { grid-template-columns: 1fr; } }

/* Bloc de candidature (pré-inscription avant l'ouverture) */
.depot-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; max-width: 940px; margin: 0 auto; align-items: start; }
.depot__titre { font-size: 1.2rem; color: var(--ink); margin-bottom: 1.2rem; }
.depot__aside h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 1.2rem; }
.depot__liste { display: grid; gap: 1rem; counter-reset: etape; }
.depot__liste li {
  position: relative; padding-left: 2.4rem; font-size: .95rem; color: var(--text-mut); line-height: 1.6;
  counter-increment: etape;
}
.depot__liste li::before {
  content: counter(etape); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 800; font-size: .78rem;
}
.depot__liste strong { color: var(--ink); }
.depot__note {
  margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--bg-tint); font-size: .88rem; color: var(--text-mut); line-height: 1.6;
}
@media (max-width: 820px) { .depot-grille { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

/* Pages légales */
.texte-legal { max-width: 760px; margin: 0 auto; }
.texte-legal h2 { font-size: 1.35rem; color: var(--ink); margin: 2.6rem 0 .9rem; letter-spacing: -.01em; }
.texte-legal h2:first-of-type { margin-top: 0; }
.texte-legal p { color: var(--text-mut); margin-bottom: 1rem; line-height: 1.75; }
.texte-legal ul { display: grid; gap: .55rem; margin-bottom: 1.2rem; }
.texte-legal li { position: relative; padding-left: 1.4rem; color: var(--text-mut); line-height: 1.65; }
.texte-legal li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.texte-legal a { color: var(--blue); font-weight: 600; }
.texte-legal a:hover { text-decoration: underline; }
.texte-legal strong { color: var(--ink); }
.texte-legal .compare-wrap { margin-bottom: 1.4rem; }
.texte-legal .compare td { vertical-align: top; font-size: .9rem; }
.legal__maj { font-size: .86rem; color: var(--text-mut); font-style: italic; margin-bottom: 2rem; }
/* Bandeau d'alerte : disparaîtra une fois les mentions obligatoires renseignées */
.legal__avis {
  background: #fff7e9; border: 1px solid #ffe0b0; border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin-bottom: 2.4rem;
  font-size: .92rem; color: #6b4a17 !important;
}
.legal__trou { background: #ffe9c7; border-bottom: 1px dashed #d99a2b; padding: 0 .25rem; font-style: italic; }
.footer__legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__legal a { font-size: .82rem; margin: 0; }
