/* ============================================================================
   css/home.css - Page d'accueil R.H. International Communication

   Référence : sites d'organisateurs de salons professionnels (fond clair,
   grandes photos, prochain salon et portefeuille des salons mis en avant).

   Système
   - Police : Hanken Grotesk (400 / 500 / 600 / 700)
   - Couleurs du logo : marine #2C3669, bleu #5187C5, filet jaune #EDF21C.
     Le bleu des liens est assombri (#2F66AD) pour rester lisible sur fond clair.
     Le jaune sert au bouton d'inscription sur photo et au filet du pied de page.
   - Rayons : 6px (boutons, champs), 8px (cartes, images).
   ============================================================================ */
:root {
  --navy: #2C3669;
  --navy-900: #1C2350;
  --blue: #2F66AD;
  --blue-logo: #5187C5;
  --yellow: #EDF21C;

  --page: #FBFCFD;
  --surface: #FFFFFF;
  --tint: #F1F4F9;
  --text: #2A3150;
  --muted: #5B6480;
  --line: #E1E6EF;
  --danger: #B42318;
  --success: #1F7A4D;

  --shadow-card: 0 1px 2px rgba(28, 35, 80, 0.06), 0 8px 24px -8px rgba(28, 35, 80, 0.14);
  --shadow-bar: 0 2px 4px rgba(28, 35, 80, 0.06), 0 24px 48px -16px rgba(28, 35, 80, 0.22);

  --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 6px;
  --r-md: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --z-header: 20;
  --z-menu: 19;
}

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

html {
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  background-color: #F5F7FB;
  background-image:
    url('../assets/img/texture/grain.svg'),
    radial-gradient(circle, rgba(44, 54, 105, 0.16) 1.1px, transparent 1.7px),
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(81, 135, 197, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(237, 242, 28, 0.14), transparent 70%);
  background-size: 180px 180px, 22px 22px, 100% 100%, 100% 100%;
  background-attachment: scroll, scroll, fixed, fixed;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-weight: 600; }
.skip-link:focus { top: 12px; }

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

h1, h2, h3 { color: var(--navy); letter-spacing: -0.02em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--yellow, .btn--navy { position: relative; overflow: hidden; isolation: isolate; }
.btn--yellow::before, .btn--navy::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  z-index: -1;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn--navy::before { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent); }
.btn--yellow:hover::before, .btn--navy:hover::before { left: 120%; }
.btn i { font-size: 18px; transition: transform 0.25s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); }
.btn--yellow { background: var(--yellow); color: var(--navy-900); }
.btn--yellow:hover { background: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--outline { border-color: var(--line); color: var(--navy); background: var(--surface); }
.btn--outline:hover { border-color: var(--navy); }
.btn.is-loading { opacity: 0.7; pointer-events: none; }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); }
.link i { transition: transform 0.25s var(--ease); }
.link:hover i { transform: translateX(3px); }

/* ---------- Barre d'infos + en-tête ---------- */
.topbar { display: none; background: var(--navy-900); color: #D6DCEE; font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__list { display: flex; gap: 28px; list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: 8px; }
.topbar__list i { font-size: 16px; color: var(--blue-logo); }
.topbar a:hover { color: #fff; }

.header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(28, 35, 80, 0.35); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--blue-logo), var(--yellow)); transform: scaleX(var(--progress, 0)); transform-origin: left; pointer-events: none; }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 46px; object-fit: cover; }
.brand__name { font-size: 16px; font-weight: 700; line-height: 1.15; color: var(--navy); }
.brand__name small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.nav { display: none; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__link { position: relative; display: block; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--text); transition: color 0.2s; }
.nav__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -17px; height: 3px; background: var(--navy); transform: scaleX(0); transition: transform 0.25s var(--ease); }
.nav__link:hover { color: var(--navy); }
.nav__link.is-active { color: var(--navy); }
.nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; min-height: 44px; padding: 0 18px; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); font-size: 26px; color: var(--navy); }
.burger:hover { background: var(--tint); }

.menu {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: var(--z-menu);
  padding: 8px var(--gutter) 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-bar);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s;
}
.menu.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.2s, transform 0.25s var(--ease); }
.menu__list { list-style: none; }
.menu__list a { display: block; padding: 14px 0; font-size: 18px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.menu .btn { width: 100%; margin-top: 20px; }

/* ---------- Hero : le prochain salon ---------- */
.hero { position: relative; }
.hero__media { position: relative; min-height: clamp(460px, 62vh, 600px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--navy-900); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Slider : la nouvelle photo entre en volet depuis la droite, puis zoom lent */
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide { opacity: 0; z-index: 0; }
.hero__slide.is-active { opacity: 1; z-index: 2; animation: heroZoom 9s ease-out forwards; }
.hero__slide.is-leaving { opacity: 1; z-index: 1; }
.hero__slide.is-active.is-entering { animation: heroWipe 1.3s cubic-bezier(0.7, 0, 0.2, 1) both, heroZoom 9s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes heroWipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }

/* Quadrillage lumineux qui suit la souris */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle 340px at var(--gx, 72%) var(--gy, 38%), #000, transparent 75%);
  mask-image: radial-gradient(circle 340px at var(--gx, 72%) var(--gy, 38%), #000, transparent 75%);
}

.hero__controls { position: absolute; right: var(--gutter); bottom: 112px; z-index: 3; display: flex; align-items: center; gap: 20px; color: #fff; }
.hero__counter { display: none; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.hero__counter [data-slide-current] { font-size: 22px; font-weight: 700; color: var(--yellow); }
.hero__counter-sep { width: 28px; height: 1px; background: rgba(255, 255, 255, 0.5); }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { position: relative; width: 26px; height: 4px; padding: 0; border-radius: 2px; background: rgba(255, 255, 255, 0.35); transition: width 0.4s var(--ease), background-color 0.3s; }
.hero__dot::before { content: ''; position: absolute; inset: -10px 0; }
.hero__dot:hover { background: rgba(255, 255, 255, 0.7); }
.hero__dot.is-active { width: 54px; }
.hero__dot-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active .hero__dot-fill { transform: scaleX(1); }
.hero__controls.is-playing .hero__dot.is-active .hero__dot-fill { animation: dotFill var(--slide-ms, 6000ms) linear both; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__arrows { display: none; gap: 8px; }
.hero__arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; background: rgba(28, 35, 80, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 18px; transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease); }
.hero__arrow:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); transform: scale(1.06); }
.hero__media::after {
  z-index: 1;
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 35, 80, 0.88) 0%, rgba(28, 35, 80, 0.55) 45%, rgba(28, 35, 80, 0.1) 80%),
    linear-gradient(0deg, rgba(28, 35, 80, 0.6) 0%, transparent 45%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: 136px; padding-top: 40px; color: #fff; }

/* Accroche : ce que fait l'agence, visible dès l'arrivée */
.hero__hook-wrap { position: relative; z-index: 2; padding-top: clamp(20px, 4vw, 44px); }
.hero__hook {
  max-width: 580px;
  padding: 18px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--yellow);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(28, 35, 80, 0.62), rgba(28, 35, 80, 0.32));
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.55);
  color: #fff;
}
.hero__hook-kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #C9D3F0; }
.hero__hook-pulse { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.hero__hook-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--yellow); animation: hookPulse 2s ease-out infinite; }
@keyframes hookPulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(3.2); opacity: 0; } }
.hero__hook-text { margin-top: 10px; font-size: clamp(20px, 2.1vw, 27px); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.hero__rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; color: var(--yellow); }
.hero__rotator-word { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(100%); transition: transform 0.7s var(--ease), opacity 0.5s; }
.hero__rotator-word.is-active { opacity: 1; transform: none; }
.hero__rotator-word.is-out { opacity: 0; transform: translateY(-100%); }
.hero__hook-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; }
@media (max-width: 767px) { .hero__hook { padding: 14px 16px; } .hero__hook-tags { display: none; } }
.hero__hook-tags li { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; font-size: 13px; font-weight: 600; color: #E3E8F5; }
.js.is-loaded .hero__hook[data-enter] { animation-name: enterSide; }
@keyframes enterSide { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 600;
}
.hero__status i { font-size: 16px; color: var(--yellow); }
.hero__title { overflow: hidden; padding-bottom: 0.08em; margin-top: 20px; font-size: clamp(44px, 6.4vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.hero__title-line { display: inline-block; }
/* Titre cliquable : soulignement jaune qui se trace, flèche qui surgit */
.hero__title-link { display: inline-block; color: inherit; border-radius: var(--r-sm); }
.hero__title-link:focus-visible { outline-color: var(--yellow); outline-offset: 6px; }
.hero__title-text {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0% 0.09em;
  transition: background-size 0.55s var(--ease), color 0.3s;
}
.hero__title-arrow {
  display: inline-grid;
  place-items: center;
  width: 0.62em;
  height: 0.62em;
  margin-left: 0.18em;
  vertical-align: 0.12em;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-900);
  font-size: 0.62em;
  opacity: 0;
  transform: translateX(-0.4em) scale(0.4) rotate(-45deg);
  transition: opacity 0.3s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero__title-arrow i { font-size: 0.6em; transition: transform 0.4s var(--ease); }
.hero__title-link:hover .hero__title-text, .hero__title-link:focus-visible .hero__title-text { background-size: 100% 0.09em; }
.hero__title-link:hover .hero__title-arrow, .hero__title-link:focus-visible .hero__title-arrow { opacity: 1; transform: none; }
.hero__title-link:hover .hero__title-arrow i { transform: translate(2px, -2px); }
@media (hover: none) { .hero__title-arrow { opacity: 0.9; transform: scale(0.8); } }
.hero__subtitle { max-width: 34ch; margin-top: 14px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; color: #E3E8F5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Barre d'infos pratiques (chevauche la photo) */
.facts-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: -88px;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-bar);
  overflow: hidden;
}
.facts-bar__item { display: flex; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.facts-bar__item > i { flex: none; font-size: 26px; color: var(--blue); }
.facts-bar__label { font-size: 13px; font-weight: 500; color: var(--muted); }
.facts-bar__value { margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.facts-bar__item--count { border-bottom: 0; background: var(--tint); }

.countdown { display: flex; gap: 16px; margin-top: 4px; }
.countdown__unit { display: flex; align-items: baseline; gap: 4px; }
.countdown__value { font-size: 24px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.countdown__name { font-size: 13px; color: var(--muted); }
.state-text { display: none; margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--navy); }
.hero--live .countdown, .hero--ended .countdown { display: none; }
.hero--live .state-text--live, .hero--ended .state-text--ended { display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section--tint {
  background-color: #EBF0F8;
  background-image:
    linear-gradient(180deg, #EBF0F8 0%, rgba(235, 240, 248, 0) 14%, rgba(235, 240, 248, 0) 86%, #EBF0F8 100%),
    url('../assets/img/texture/grain.svg'),
    linear-gradient(rgba(44, 54, 105, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 54, 105, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(44, 54, 105, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 54, 105, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 180px 180px, 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: 0 0, 0 0, -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}
.section--tint + .section--tint { border-top: 1px solid var(--line); }
.section--deco { position: relative; overflow: hidden; isolation: isolate; }
.section--dots { background: url('../assets/img/texture/topo.svg') center / cover no-repeat; }
.section--deco::before, .section--deco::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(360px, 48vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  animation: orbDrift 20s ease-in-out infinite alternate;
}
.section--deco::before { top: -18%; left: -12%; background: radial-gradient(circle, rgba(81, 135, 197, 0.3), transparent 65%); }
.section--deco::after { right: -14%; bottom: -24%; background: radial-gradient(circle, rgba(237, 242, 28, 0.36), transparent 65%); animation-delay: -10s; }
@keyframes orbDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(6%, 8%) scale(1.12); } }
.section__watermark {
  position: absolute;
  top: 40px;
  left: -0.04em;
  z-index: -1;
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(44, 54, 105, 0.13);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.section__watermark--right { left: auto; right: -0.04em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ''; width: 32px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--navy), var(--blue-logo)); transform-origin: left; }
.js [data-reveal] .eyebrow::before { transform: scaleX(0); transition: transform 0.8s var(--ease) 0.25s; }
.js [data-reveal].is-in .eyebrow::before { transform: scaleX(1); }

/* Bandeau défilant des secteurs */
.ticker { position: relative; overflow: hidden; padding: 22px 0; background: var(--navy-900); color: #fff; }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; z-index: 1; width: 12%; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--navy-900), transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; }
.ticker__list li { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.ticker__list li::after { content: ''; width: 9px; height: 9px; background: var(--yellow); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__title { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; line-height: 1.12; text-wrap: balance; }
.section__lead { margin-top: 12px; font-size: 18px; color: var(--muted); }

/* ---------- Nos salons ---------- */
.salons { display: grid; gap: 24px; }
.salon { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow 0.25s, border-color 0.25s; }
.salon:hover { box-shadow: 0 2px 4px rgba(28, 35, 80, 0.06), 0 30px 60px -24px rgba(28, 35, 80, 0.35); border-color: transparent; }
.salon::before { content: ''; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 3px; background: linear-gradient(90deg, var(--blue-logo), var(--yellow)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.salon:hover::before { transform: scaleX(1); }
.salon::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.28), transparent 70%); opacity: 0; transition: opacity 0.3s; }
.salon:hover::after { opacity: 1; }
.js .salon.is-tilting { transition: transform 0.18s ease-out, box-shadow 0.25s, border-color 0.25s, opacity 0.6s, filter 0.6s; transition-delay: 0s; }
.salon__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.salon__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.salon:hover .salon__media img { transform: scale(1.07); }
.salon__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.salon__sector { font-size: 13px; font-weight: 600; color: var(--blue); }
.salon__name { margin-top: 6px; font-size: 21px; font-weight: 700; line-height: 1.2; }
.salon__name a:hover { color: var(--blue); }
.salon__media { display: block; }
.salon__desc { margin-top: 6px; font-size: 15px; color: var(--muted); }
.salon__meta { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.salon__meta i { font-size: 17px; color: var(--muted); margin-top: 2px; }
.salon__foot { margin-top: auto; padding-top: 18px; }
.salon--featured .salon__name { font-size: clamp(24px, 2.4vw, 30px); }

/* ---------- Organiser votre événement ---------- */
.organise { display: grid; gap: 40px; align-items: center; }
.organise__media { position: relative; box-shadow: 24px 24px 0 -2px rgba(81, 135, 197, 0.18); aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.organise__media img { width: 100%; height: 100%; object-fit: cover; }
.services { display: grid; gap: 28px; margin: 32px 0 36px; list-style: none; }
.service { display: flex; gap: 16px; }
.service__icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--surface); color: var(--blue); font-size: 24px; box-shadow: 0 1px 2px rgba(28, 35, 80, 0.08); }
.service__icon { transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.service:hover .service__icon { background: var(--navy); color: var(--yellow); transform: rotate(-6deg) scale(1.06); }
.service__name { font-size: 17px; font-weight: 700; color: var(--navy); }
.service__text { margin-top: 2px; font-size: 15px; color: var(--muted); }

/* ---------- Catalogue de documents (accueil + page /catalogue) ---------- */
.catalogue-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 28px; }
.catalogue-head .section__head { margin-bottom: 0; }
.catalogue-head__count { padding: 1px 8px; border-radius: 999px; background: var(--yellow); color: var(--navy-900); font-size: 12px; font-weight: 700; }

.doc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; list-style: none; }
.doc-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--navy); transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease); }
.doc-chip i { font-size: 17px; color: var(--blue); transition: color 0.25s; }
.doc-chip span { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--tint); font-size: 12px; font-weight: 700; color: var(--blue); text-align: center; transition: background-color 0.25s, color 0.25s; }
.doc-chip:hover { border-color: var(--navy); transform: translateY(-2px); }
.doc-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.doc-chip.is-active i { color: var(--yellow); }
.doc-chip.is-active span { background: var(--yellow); color: var(--navy-900); }
/* Mobile : filtres sur une ligne qui défile */
@media (max-width: 767px) {
  .doc-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .doc-chips::-webkit-scrollbar { display: none; }
  .doc-chips li { flex: none; scroll-snap-align: start; }
}

.docs { display: grid; gap: 20px; }
.doc {
  --fc: var(--navy);
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 0 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s, opacity 0.8s var(--ease), filter 0.8s var(--ease);
}
.doc[hidden] { display: none; }
.doc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--fc), var(--yellow)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.doc:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 2px 4px rgba(28, 35, 80, 0.06), 0 26px 50px -22px rgba(28, 35, 80, 0.35); }
.js [data-reveal].doc.is-in:hover { transform: translateY(-4px); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
.doc:hover::before { transform: scaleX(1); }
.doc.is-filtered { animation: docIn 0.45s var(--ease) both; }
@keyframes docIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Icône du fichier : feuille à coin plié, couleur du format */
.doc__file {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 58px;
  height: 72px;
  border-radius: 6px;
  background: var(--fc);
  color: #fff;
  box-shadow: 0 12px 22px -12px var(--fc);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.doc__file::after { content: ''; position: absolute; top: 0; right: 0; width: 18px; height: 18px; border-bottom-left-radius: 5px; background: linear-gradient(225deg, var(--surface) 50%, rgba(255, 255, 255, 0.4) 50%); }
.doc__file i { font-size: 24px; }
a.doc__file { color: #fff; cursor: zoom-in; }
.doc__file-read { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: rgba(14, 20, 50, 0.55); font-style: normal; opacity: 0; transition: opacity 0.3s; }
.doc__file-read i { font-size: 26px; transform: scale(0.6); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.doc:hover .doc__file-read { opacity: 1; }
.doc:hover .doc__file-read i { transform: none; }
.doc__file span { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; }
.doc:hover .doc__file { transform: translateY(-3px) rotate(-7deg); }
.doc__file--soon { background: linear-gradient(145deg, var(--navy), var(--blue-logo)); }
.doc__file--soon i { font-size: 28px; color: var(--yellow); }
.doc--pdf { --fc: #C8372D; }
.doc--word { --fc: #2F66AD; }
.doc--excel { --fc: #1F7A4D; }
.doc--ppt { --fc: #C55A11; }

.doc__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.doc__type { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.doc__type i { font-size: 15px; }
.doc__title { margin-top: 6px; font-size: 18px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.doc__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.doc__meta { margin-top: 10px; font-size: 13px; color: var(--muted); }
.doc__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc__actions .doc__btn--main { flex: 1; justify-content: center; }
.doc__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--navy); transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.doc__btn i { font-size: 17px; }
.doc__btn:hover { border-color: var(--navy); }
.doc__btn--main { border-color: var(--navy); background: var(--navy); color: #fff; }
.doc__btn--main:hover { background: var(--navy-900); }
.doc__btn--ghost { border-style: dashed; color: var(--blue); }
.doc__btn:not(.doc__btn--main)[download]:hover i { animation: docDown 0.8s var(--ease) infinite; }
.doc__btn--main:hover i { transform: scale(1.12); }
.doc__btn--main i { transition: transform 0.3s var(--ease); }
@keyframes docDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

.doc--soon { border-style: dashed; border-color: #C3CCDD; background: rgba(255, 255, 255, 0.72); }
.docs-soon__cta { margin-top: 28px; text-align: center; }

/* Page /catalogue : recherche, filtres, état vide, encart exposants étrangers */
.page-hero--catalogue { isolation: isolate; }
.page-hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); mask-image: linear-gradient(90deg, transparent 20%, #000 80%); }
.page-hero--catalogue::after { content: ''; position: absolute; right: -120px; top: -160px; z-index: -1; width: 460px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(237, 242, 28, 0.22), transparent 65%); }
.catalogue-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.catalogue-search { position: relative; flex: 1 1 320px; display: flex; align-items: center; }
.catalogue-search i { position: absolute; left: 16px; font-size: 20px; color: var(--muted); pointer-events: none; }
.catalogue-search input, .catalogue-select select { width: 100%; min-height: 52px; border: 1px solid #CBD3E1; border-radius: var(--r-md); background: var(--surface); font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.catalogue-search input { padding: 0 16px 0 46px; }
.catalogue-select { flex: 0 1 260px; }
.catalogue-select select { appearance: none; padding: 0 44px 0 16px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 17px) 24px; background-size: 5px 5px; background-repeat: no-repeat; }
.catalogue-search input:focus, .catalogue-select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 102, 173, 0.18); }
.catalogue-status { min-height: 1.5em; margin: -12px 0 14px; font-size: 14px; color: var(--muted); }
.catalogue-empty { display: grid; justify-items: center; gap: 12px; padding: 48px 24px; border: 1px dashed #C3CCDD; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.75); text-align: center; }
.catalogue-empty[hidden] { display: none; }
.catalogue-empty i { font-size: 42px; color: var(--blue); }
.catalogue-empty p { max-width: 52ch; color: var(--muted); }
.catalogue-empty strong { display: block; color: var(--navy); }
.catalogue-empty__reset { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.dz-note {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 48px;
  padding: clamp(22px, 3vw, 32px);
  border-left: 4px solid var(--yellow);
  border-radius: var(--r-md);
  background-color: var(--navy-900);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #fff;
  overflow: hidden;
}
.dz-note__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--yellow); font-size: 32px; }
.dz-note__icon i { animation: dzSpin 24s linear infinite; }
@keyframes dzSpin { to { transform: rotate(360deg); } }
.dz-note__title { font-size: clamp(20px, 2vw, 24px); font-weight: 700; color: #fff; }
.dz-note__text { margin-top: 6px; max-width: 62ch; color: #C9D0E6; }
.dz-note__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Liseuse de documents (fenêtre par-dessus la page) ---------- */
.reader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(0px, 3vw, 32px); }
.reader[hidden] { display: none; }
.reader__backdrop { position: absolute; inset: 0; background: rgba(14, 20, 50, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.35s; }
.reader.is-open .reader__backdrop { opacity: 1; }
.reader__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1120px, 100%);
  height: min(92vh, 100%);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.45s var(--ease), opacity 0.35s;
}
.reader.is-open .reader__panel { opacity: 1; transform: none; }
.reader__bar { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; background: var(--navy-900); border-bottom: 3px solid var(--yellow); color: #fff; }
.reader__badge { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 42px; height: 52px; border-radius: 5px; background: #C8372D; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; }
.reader__badge i { font-size: 20px; }
.reader__heading { flex: 1; min-width: 0; }
.reader__type { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); }
.reader__title { overflow: hidden; margin-top: 2px; font-size: 18px; font-weight: 700; line-height: 1.25; color: #fff; white-space: nowrap; text-overflow: ellipsis; letter-spacing: -0.01em; }
.reader__meta { overflow: hidden; font-size: 13px; color: #AEB7D3; white-space: nowrap; text-overflow: ellipsis; }
.reader__actions { flex: none; display: flex; align-items: center; gap: 8px; }
.reader__download { min-height: 42px; padding: 0 16px; }
.reader__icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; color: #fff; font-size: 18px; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.reader__icon[hidden] { display: none; }
.reader__icon:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.reader__close:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); transform: rotate(90deg); }
.reader__stage { position: relative; flex: 1; background: #3B4050; }
.reader__frame { display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.35s; }
.reader.is-loaded .reader__frame { opacity: 1; }
.reader__loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #E3E8F5; font-weight: 600; }
.reader.is-loaded .reader__loading { display: none; }
.reader__spinner { width: 42px; height: 42px; border: 3px solid rgba(255, 255, 255, 0.2); border-top-color: var(--yellow); border-radius: 50%; animation: readerSpin 0.8s linear infinite; }
@keyframes readerSpin { to { transform: rotate(360deg); } }
html.reader-lock { overflow: hidden; }
@media (max-width: 767px) {
  .reader { padding: 0; }
  .reader__panel { height: 100%; border-radius: 0; }
  .reader__bar { gap: 10px; padding: 10px 10px 10px 12px; }
  .reader__badge, .reader__meta { display: none; }
  .reader__title { font-size: 16px; }
  .reader__download { width: 42px; padding: 0; border-radius: 50%; }
  .reader__download span { display: none; }
}

/* ---------- L'agence ---------- */
.agency { display: grid; gap: 48px; }
.agency__text { font-size: 18px; color: var(--muted); max-width: 56ch; }
.agency__text strong { color: var(--text); font-weight: 600; }
.agency__patrons { margin-top: 28px; }
.agency__patrons-title { font-size: 14px; font-weight: 600; color: var(--navy); }
.agency__patrons-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; }
.agency__patrons-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 14px; font-weight: 500; }
.agency__patrons-list i { font-size: 17px; color: var(--blue); }
.stats { position: relative; box-shadow: var(--shadow-card); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; align-self: start; }
.stat { padding: 28px 24px; transition: background-color 0.3s; }
.stat:hover { background: var(--tint); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat__value { font-size: clamp(34px, 3.6vw, 46px); font-weight: 700; line-height: 1; color: var(--navy); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; }
.contact__list { display: grid; gap: 20px; margin-top: 32px; list-style: none; }
.contact__item { display: flex; gap: 14px; }
.contact__item i { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--surface); color: var(--blue); font-size: 22px; box-shadow: 0 1px 2px rgba(28, 35, 80, 0.08); }
.contact__label { font-size: 13px; font-weight: 500; color: var(--muted); }
.contact__value { font-size: 17px; font-weight: 600; color: var(--navy); }
.contact__value a:hover { color: var(--blue); }

.form { position: relative; display: grid; gap: 20px; padding: clamp(20px, 3vw, 36px); background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.form__title { font-size: 22px; font-weight: 700; }
.form__row { display: grid; gap: 20px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field__label span { color: var(--danger); }
.field__input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #CBD3E1;
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
select.field__input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
textarea.field__input { min-height: 130px; resize: vertical; }
.field__input:hover { border-color: #9AA5BD; }
.field__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 102, 173, 0.18); }
.field__hint { font-size: 13px; color: var(--muted); }
.field__error { display: none; font-size: 13px; font-weight: 500; color: var(--danger); }
.field.is-invalid .field__input { border-color: var(--danger); }
.field.is-invalid .field__error { display: block; }
.form__alert { display: none; padding: 12px 14px; border-radius: var(--r-sm); background: #FDECEA; color: var(--danger); font-size: 15px; }
.form__alert.is-visible { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form__success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: clamp(20px, 3vw, 36px);
  border-radius: inherit;
  background: var(--surface);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s 0.3s;
}
.form.is-sent .form__success { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.form__success i { font-size: 44px; color: var(--success); }
.form__success h3 { font-size: 24px; font-weight: 700; }
.form__success p { color: var(--muted); max-width: 38ch; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-900); color: #C9D0E6; border-top: 4px solid var(--yellow); font-size: 15px; }
.footer__grid { display: grid; gap: 36px; padding: 56px 0 40px; }
.footer .brand__name { color: #fff; }
.footer .brand__name small { color: #AEB7D3; }
.footer__about { margin-top: 16px; max-width: 34ch; }
.footer__title { margin-bottom: 14px; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0; }
.footer__list { display: grid; gap: 10px; list-style: none; }
.footer__list a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: #9AA3C2; }
.footer__legal-links { display: flex; gap: 20px; list-style: none; }
.footer__legal-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Pages intérieures : bandeau de titre ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 35, 80, 0.92) 0%, rgba(28, 35, 80, 0.7) 50%, rgba(28, 35, 80, 0.35) 100%); }
.page-hero__content { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 56px; }
.page-hero--plain .page-hero__content { padding-top: 40px; padding-bottom: 44px; }
/* Page d'un salon : slider de photos derrière le titre */
.page-hero--slider { display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(400px, 56vh, 540px); }
.page-hero--slider .page-hero__media { z-index: 0; }
.page-hero--slider .page-hero__media::after { z-index: 1; background: linear-gradient(90deg, rgba(28, 35, 80, 0.9) 0%, rgba(28, 35, 80, 0.6) 50%, rgba(28, 35, 80, 0.2) 100%), linear-gradient(0deg, rgba(28, 35, 80, 0.55) 0%, transparent 50%); }
.page-hero--slider .hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--slider .page-hero__content { padding-bottom: 80px; }
.page-hero--slider .hero__controls { bottom: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 14px; color: #C9D0E6; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #7F89AE; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero__sector { margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--yellow); }
.page-hero__title { margin-top: 8px; font-size: clamp(34px, 5vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.page-hero--plain .page-hero__title { margin-top: 20px; font-size: clamp(30px, 4vw, 44px); }
.page-hero__subtitle { max-width: 50ch; margin-top: 12px; font-size: clamp(17px, 1.5vw, 20px); color: #E3E8F5; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Page d'un salon ---------- */
.salon-page { display: grid; gap: 48px; }
.salon-page__text { font-size: 18px; color: var(--text); max-width: 62ch; }
.salon-page__text p + p { margin-top: 16px; }
.next-card { padding: 24px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card); border-top: 4px solid var(--navy); }
.next-card__label { font-size: 13px; font-weight: 600; color: var(--blue); }
.next-card__title { margin-top: 6px; font-size: 22px; font-weight: 700; }
.next-card__list { display: grid; gap: 10px; margin: 16px 0 22px; list-style: none; font-size: 15px; }
.next-card__list li { display: flex; gap: 10px; }
.next-card__list i { font-size: 19px; color: var(--blue); flex: none; margin-top: 2px; }
.next-card .btn { width: 100%; }
.next-card--empty { border-top-color: var(--line); }
.next-card--empty p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.next-card--empty .btn { margin-top: 18px; }

.editions { margin-top: 56px; }
.editions__title { font-size: 24px; font-weight: 700; }
.editions__list { margin-top: 20px; list-style: none; border-top: 1px solid var(--line); }
.edition { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.edition__num { font-size: 22px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.edition__num small { font-size: 13px; font-weight: 600; }
.edition__date { font-weight: 600; color: var(--navy); }
.edition__place { font-size: 15px; color: var(--muted); }
.edition__tag { padding: 4px 10px; border-radius: var(--r-sm); background: var(--tint); font-size: 13px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.edition__tag--next { background: var(--navy); color: #fff; }

.other-salons { display: grid; gap: 16px; }
.other-salon { display: flex; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s; }
.other-salon:hover { border-color: transparent; box-shadow: var(--shadow-card); }
.other-salon img { width: 88px; height: 64px; border-radius: var(--r-sm); object-fit: cover; flex: none; background: var(--tint); }
.other-salon__sector { font-size: 13px; font-weight: 600; color: var(--blue); }
.other-salon__name { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.25; }

/* ---------- Pages légales ---------- */
.legal { max-width: 760px; }
.legal__updated { font-size: 14px; color: var(--muted); }
.legal h2 { margin-top: 44px; font-size: 24px; font-weight: 700; }
.legal h2:first-of-type { margin-top: 28px; }
.legal h3 { margin-top: 24px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { font-size: 17px; }
.legal p { margin-top: 12px; }
.legal ul { margin-top: 12px; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 24px; margin-top: 16px; padding: 20px clamp(16px, 4vw, 24px); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.legal dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.legal dd { font-size: 16px; color: var(--navy); margin-bottom: 10px; overflow-wrap: anywhere; }
/* Tableau : défile horizontalement sur petit écran au lieu d'élargir la page */
.legal__table { margin-top: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; background: var(--surface); }
.legal th, .legal td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--tint); color: var(--navy); font-weight: 700; }
/* Informations que le client doit compléter avant la mise en ligne */
.todo { padding: 1px 6px; border-radius: 4px; background: #FFF4C2; color: #6B5300; font-weight: 600; font-style: normal; }

/* ---------- Apparitions ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease), filter 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="image"] { transform: none; filter: none; clip-path: inset(0 100% 0 0); transition: opacity 0.2s, clip-path 1.2s cubic-bezier(0.7, 0, 0.2, 1); }
.js [data-reveal="image"] img { transform: scale(1.25); transition: transform 1.6s var(--ease); }
.js [data-reveal="image"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="image"].is-in img { transform: none; }
.service[data-reveal]:nth-child(2) { --d: 0.08s; }
.service[data-reveal]:nth-child(3) { --d: 0.16s; }
.service[data-reveal]:nth-child(4) { --d: 0.24s; }

/* Entrée du hero, après le loader */
.js [data-enter] { opacity: 0; }
.js.is-loaded [data-enter] { animation: enterUp 1s var(--ease) calc(var(--e, 0) * 0.12s + 0.05s) both; }
.js.is-loaded .hero__title-line[data-enter] { animation-name: enterTitle; animation-duration: 1.1s; }
@keyframes enterUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes enterTitle { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }

/* ============================================================================
   ≥ 768px
   ============================================================================ */
@media (min-width: 768px) {
  .topbar { display: block; }
  .facts-bar { grid-template-columns: repeat(3, 1fr) 1.3fr; }
  .hero__counter { display: flex; }
  .hero__arrows { display: flex; }
  .facts-bar__item { padding: 26px 24px; border-bottom: 0; border-right: 1px solid var(--line); }
  .facts-bar__item--count { border-right: 0; }

  .salons { grid-template-columns: repeat(2, 1fr); }
  .salon--featured { grid-column: 1 / -1; flex-direction: row; }
  .salon--featured .salon__media { flex: 0 0 55%; aspect-ratio: auto; min-height: 340px; }
  .salon--featured .salon__body { padding: 32px; }

  .services { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr 1fr; }
  .dz-note { grid-template-columns: auto 1fr; align-items: center; }
  .dz-note__actions { grid-column: 2; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* ============================================================================
   ≥ 1024px
   ============================================================================ */
@media (min-width: 1024px) {
  /* Accroche en haut à droite, par-dessus la photo : le hero garde une hauteur raisonnable */
  .hero__media { justify-content: flex-end; }
  .hero__hook-wrap { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: flex-end; }
  .hero__hook { max-width: 440px; }
  .hero__content { padding-right: calc(var(--gutter) + 480px); }
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger, .menu { display: none; }

  .salons { grid-template-columns: repeat(3, 1fr); }
  .salon--featured { grid-column: span 2; }
  .salon--featured .salon__media { flex-basis: 52%; min-height: 0; }

  .organise { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .docs { grid-template-columns: repeat(3, 1fr); }
  .docs--soon { grid-template-columns: repeat(4, 1fr); }
  .docs--soon .doc { grid-template-columns: 1fr; row-gap: 16px; }
  .dz-note { grid-template-columns: auto 1fr auto; }
  .dz-note__actions { grid-column: auto; }
  .salon-page { grid-template-columns: 1fr 360px; gap: 72px; align-items: start; }
  .salon-page__aside { position: sticky; top: 100px; display: grid; gap: 32px; }
  .legal dl { grid-template-columns: 220px minmax(0, 1fr); }
  .legal dd { margin-bottom: 0; }
  .agency { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .contact { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active, .hero__slide.is-active.is-entering { animation: none; }
  .js [data-enter], .js [data-reveal], .js [data-reveal="image"] { opacity: 1; transform: none; filter: none; clip-path: none; }
  .js [data-reveal="image"] img { transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
