/* ==========================================================
   AGORA NANTES : feuille de style
   Palette tirée de l'affiche : nuit de Loire + or
   ========================================================== */

:root {
  --nuit: #09192D;        /* fond de l'affiche */
  --nuit-profonde: #061221;
  --nuit-claire: #0F2340;
  --or: #D6A650;
  --or-pale: #EBD3A0;
  --ivoire: #EEE8DC;
  --brume: #9EABBD;
  --ligne: rgba(214, 166, 80, 0.24);
  --ligne-douce: rgba(238, 232, 220, 0.10);

  --f-sans: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; background: var(--nuit); }

body {
  margin: 0;
  background: var(--nuit);
  color: var(--ivoire);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: var(--or-pale); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--or); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--or); color: var(--nuit); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--or); color: var(--nuit); padding: 8px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--brume); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Typo commune ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--or); flex-shrink: 0; }

.display, .page-title {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.display em, .page-title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--or-pale);
  font-size: 1.08em;
  letter-spacing: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--or-pale);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-block: 6px;
}
.link-arrow::after { content: "→"; font-size: 1rem; letter-spacing: 0; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  font-family: var(--f-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--or);
  border-radius: 0;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-gold { background: var(--or); color: var(--nuit); }
.btn-gold::before { background: var(--or-pale); }
.btn-gold:hover { color: var(--nuit); border-color: var(--or-pale); }
.btn-line { background: transparent; color: var(--or-pale); }
.btn-line::before { background: var(--or); }
.btn-line:hover { color: var(--nuit); }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* Le fond flouté est porté par un pseudo-élément : un backdrop-filter posé
   directement sur l'en-tête enfermerait le menu mobile (position: fixed) dans sa hauteur. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 25, 45, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--ligne-douce); }
.site-header.is-scrolled::before { background: rgba(9, 25, 45, 0.9); }
body.menu-open .site-header::before { background: var(--nuit-profonde); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ivoire); text-decoration: none; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-30deg); }
.brand-word { width: 104px; height: 19px; color: var(--ivoire); }

.menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.menu a {
  position: relative;
  color: var(--ivoire);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-block: 6px;
  white-space: nowrap;
}
.menu a:not(.menu-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--or-pale); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a.menu-cta { border: 1px solid var(--or); padding: 9px 16px; color: var(--or-pale); transition: background .3s, color .3s; }
.menu a.menu-cta:hover, .menu a.menu-cta[aria-current="page"] { background: var(--or); color: var(--nuit); }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; }
.menu-toggle span:not(.sr) { display: block; height: 1px; background: var(--ivoire); transition: transform .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: flex; }
  .menu {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--nuit-profonde);
    overflow-y: auto;
    display: none;
  }
  .menu.is-open { display: flex; animation: menuIn .35s var(--ease); }
  .menu a { padding-block: 20px; border-bottom: 1px solid var(--ligne-douce); font-size: 1.05rem; letter-spacing: 0.14em; }
  .menu a:not(.menu-cta)::after { display: none; }
  .menu a.menu-cta { margin-top: 28px; text-align: center; padding: 16px; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ==========================================================
   HERO D'ACCUEIL
   ========================================================== */
.hero {
  position: relative;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 24%, rgba(214,166,80,.08), transparent 70%),
    var(--nuit);
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 25%), rgba(214,166,80,.07), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-top: clamp(40px, 7vw, 76px); pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero-mark { width: clamp(160px, 24vw, 250px); aspect-ratio: 1; }
.hero-mark img { width: 100%; height: 100%; transition: opacity .3s; }
.hero-mark.is-canvas img { opacity: 0; }
.hero-title { margin-top: clamp(28px, 4vw, 44px); }
.hero-word { width: clamp(230px, 44vw, 470px); height: auto; aspect-ratio: 628 / 112; color: #fff; overflow: visible; }
.gold-rule { width: 64px; height: 2px; background: var(--or); margin-top: clamp(26px, 3.4vw, 40px); }
.tagline {
  margin-top: 26px;
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.26em;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--or);
}
.tagline span { display: inline-block; }
.place { margin-top: 24px; display: flex; align-items: center; gap: 18px; color: var(--or); font-size: 0.9rem; letter-spacing: 0.34em; text-transform: uppercase; }
.place::before, .place::after { content: ""; width: clamp(40px, 9vw, 96px); height: 1px; background: var(--or); opacity: .7; }
.hero-lede { margin-top: 34px; max-width: 34em; color: var(--brume); font-size: 1.05rem; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.skyline { position: relative; z-index: 1; margin-top: clamp(0px, 1vw, 16px); pointer-events: none; }
.skyline picture, .skyline img { width: 100%; }
.skyline img {
  max-width: 1400px;
  margin-inline: auto;
  height: auto;
  transform-origin: 50% 100%;
  will-change: transform;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 18%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 18%, #000 72%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 700px) {
  .skyline img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 72%, transparent 100%); }
}

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 1px; height: 54px; transform: translateX(-50%); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: linear-gradient(transparent, var(--or)); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* --- Séquence d'arrivée (page d'accueil) --- */
.home .site-header { animation: fadeIn .9s var(--ease) .2s both; }
.hero-word path { stroke-dasharray: 1; animation: draw 1.3s cubic-bezier(.65,0,.25,1) both; }
.hero-word path:nth-child(1) { animation-delay: 1.15s; }
.hero-word path:nth-child(2) { animation-delay: 1.27s; }
.hero-word path:nth-child(3) { animation-delay: 1.39s; }
.hero-word path:nth-child(4) { animation-delay: 1.51s; }
.hero-word path:nth-child(5) { animation-delay: 1.63s; }
.hero .gold-rule { animation: grow .9s var(--ease) 1.9s both; }
.tagline span { animation: fadeUp .9s var(--ease) both; }
.tagline span:nth-child(1) { animation-delay: 2.0s; }
.tagline span:nth-child(2) { animation-delay: 2.08s; }
.tagline span:nth-child(3) { animation-delay: 2.16s; }
.tagline span:nth-child(4) { animation-delay: 2.24s; }
.tagline span:nth-child(6) { animation-delay: 2.32s; }
.tagline span:nth-child(7) { animation-delay: 2.40s; }
.hero .place { animation: fadeUp .9s var(--ease) 2.5s both; }
.hero .hero-lede { animation: fadeUp .9s var(--ease) 2.65s both; }
.hero .hero-actions { animation: fadeUp .9s var(--ease) 2.8s both; }
.hero .skyline { animation: skyIn 2.4s var(--ease) .5s both; }
.hero .scroll-cue { animation: fadeIn 1s ease 3.2s both; }
html:not(.hero-live) .hero-mark img { animation: markIn 1.6s var(--ease) both; }

@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes skyIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes markIn { from { opacity: 0; transform: scale(.9) rotate(-20deg); } to { opacity: 1; transform: none; } }

/* ---------- Apparitions au défilement ---------- */
.will-reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.will-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   EN-TÊTE DES PAGES INTÉRIEURES
   ========================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 120px) clamp(56px, 8vw, 104px);
  border-bottom: 1px solid var(--ligne-douce);
  background: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(214,166,80,.08), transparent 70%), var(--nuit);
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
/* Le logo tourne sur son propre centre, dans sa colonne : il ne passe jamais sous le texte */
.page-hero-mark {
  width: clamp(200px, 24vw, 320px);
  height: auto;
  opacity: .85;
  transform-origin: 50% 50%;
  animation: slowSpin 60s linear infinite, fadeIn 1.4s ease both;
}
@media (max-width: 760px) {
  .page-hero .wrap { display: block; }
  .page-hero-mark {
    position: absolute;
    top: -4px;
    right: var(--gutter);
    width: 64px;
    opacity: .9;
  }
}
@keyframes slowSpin { from { rotate: 0deg; } to { rotate: 360deg; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--brume); margin-bottom: 36px; letter-spacing: 0.06em; }
.crumbs a { color: var(--brume); text-decoration: none; }
.crumbs a:hover { color: var(--or-pale); }
.crumbs [aria-current] { color: var(--or-pale); }
.page-title { font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.05; max-width: 14em; animation: fadeUp 1s var(--ease) .1s both; }
.page-hero .eyebrow { animation: fadeUp 1s var(--ease) both; }
.page-lede { margin-top: 28px; max-width: 36em; font-size: 1.15rem; color: var(--brume); animation: fadeUp 1s var(--ease) .25s both; }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }
.section-alt { background: var(--nuit-profonde); border-block: 1px solid var(--ligne-douce); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.head-note { margin-top: 22px; max-width: 34em; }

/* Prochaine soirée (accueil) */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  border: 1px solid var(--ligne);
  background: linear-gradient(135deg, rgba(214,166,80,.10), rgba(214,166,80,.02) 55%, transparent);
}
.feature-date { display: flex; flex-direction: column; justify-content: center; padding: 40px 32px; border-right: 1px solid var(--ligne); color: var(--or); }
.feature-date .day, .event-date .day { display: block; font-size: 4.4rem; line-height: .9; font-weight: 300; font-variant-numeric: tabular-nums; }
.feature-date .month, .event-date .month { display: block; margin-top: 10px; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; }
.feature-date .time, .event-date .time { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--brume); }
.feature-date .label { font-family: var(--f-serif); font-style: italic; font-size: 2.1rem; line-height: 1.1; color: var(--or-pale); }
.feature-body { padding: clamp(28px, 4vw, 48px); }
.feature-body .eyebrow { margin-bottom: 16px; }
.feature-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 300; line-height: 1.15; }
.feature-speaker { font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; color: var(--or-pale); margin-top: 8px; }
.feature-desc { margin-top: 16px; max-width: 40em; color: var(--ivoire); }
.feature-meta { margin-top: 14px; color: var(--brume); font-size: 0.95rem; }
.feature-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.feature-empty { grid-column: 1 / -1; padding: clamp(32px, 5vw, 56px); display: grid; gap: 18px; justify-items: start; }
@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; }
  .feature-date { border-right: 0; border-bottom: 1px solid var(--ligne); padding: 28px; }
}

/* Manifeste */
.manifesto .display { max-width: 18em; }
.manifesto-body { margin-top: 40px; display: grid; gap: 20px; justify-items: start; max-width: 40em; margin-left: auto; font-size: 1.12rem; }
.manifesto-body em { font-family: var(--f-serif); font-size: 1.15em; color: var(--or-pale); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 8vw, 96px); }
.pillar { padding: 34px 32px 8px 0; border-top: 1px solid var(--or); }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--ligne-douce); }
.pillar h3 { font-size: 1.05rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--or); margin-bottom: 14px; }
.pillar p { color: var(--brume); }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .pillar, .pillar + .pillar { padding: 24px 0 0; border-left: 0; }
}

/* Déroulé vertical (Rencontres) */
.soiree { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.soiree-head { position: sticky; top: calc(var(--header-h) + 40px); }
.soiree-head .muted { margin-top: 24px; max-width: 26em; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(var(--or), var(--ligne)); }
.timeline li { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 12px 20px; padding: 0 0 44px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--nuit-profonde); border: 1px solid var(--or); }
.timeline li:nth-child(2)::before { background: var(--or); box-shadow: 0 0 0 6px rgba(214,166,80,.15); }
.timeline time, .steps time { font-size: 1.25rem; font-weight: 300; color: var(--or); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; line-height: 1.5; }
.timeline h3 { font-size: 1.3rem; margin-bottom: 6px; }
.timeline p { color: var(--brume); }
@media (max-width: 860px) { .soiree { grid-template-columns: 1fr; } .soiree-head { position: static; } }
@media (max-width: 480px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Déroulé horizontal (accueil) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps li { position: relative; padding: 36px 28px 0 0; border-top: 1px solid var(--ligne); }
.steps li::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--nuit-profonde); border: 1px solid var(--or); }
.steps li:nth-child(2)::before { background: var(--or); box-shadow: 0 0 0 6px rgba(214,166,80,.15); }
.steps h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.steps p { color: var(--brume); font-size: 0.98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Thèmes */
.themes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ligne); border-left: 1px solid var(--ligne); }
.themes li { position: relative; padding: 28px 24px 32px; border-right: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); transition: background .4s; }
.themes li::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--or); transition: width .5s var(--ease); }
.themes li:hover { background: rgba(214,166,80,.05); }
.themes li:hover::after { width: 100%; }
.themes h3 { font-size: 0.84rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--or-pale); margin-bottom: 14px; }
.themes p { font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; line-height: 1.35; color: var(--ivoire); }
.themes small { display: block; margin-top: 14px; font-size: 0.92rem; line-height: 1.6; color: var(--brume); }
@media (max-width: 960px) { .themes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .themes { grid-template-columns: 1fr; } }

/* Portes d'entrée par profil */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 30px 32px;
  border: 1px solid var(--ligne);
  color: var(--ivoire);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), background .4s;
}
.door::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; opacity: .08;
  background: url("../img/agora-mark.svg") center / contain no-repeat;
  transition: opacity .5s, transform 1.2s var(--ease);
}
.door:hover { border-color: var(--or); transform: translateY(-4px); background: rgba(214,166,80,.04); color: var(--ivoire); }
.door:hover::before { opacity: .22; transform: rotate(-40deg); }
.door-kicker { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--or); }
.door h3 { font-size: 1.6rem; font-weight: 300; }
.door p { color: var(--brume); flex: 1; }
.door-go { display: inline-flex; gap: 10px; align-items: center; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or-pale); }
.door-go::after { content: "→"; letter-spacing: 0; transition: transform .3s var(--ease); }
.door:hover .door-go::after { transform: translateX(6px); }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }

/* Ancrage local */
.local { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.local-body { display: grid; gap: 18px; color: var(--brume); }
.local-body p:first-child { color: var(--ivoire); font-size: 1.12rem; }
@media (max-width: 860px) { .local { grid-template-columns: 1fr; } }

/* Bandeau d'appel à l'action */
.cta-band { position: relative; padding-block: clamp(64px, 9vw, 112px); background: radial-gradient(ellipse 60% 120% at 15% 50%, rgba(214,166,80,.12), transparent 70%), var(--nuit-profonde); border-top: 1px solid var(--ligne); overflow: hidden; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px 48px; }
.cta-inner .muted { margin-top: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.inline-form { position: relative; display: flex; flex-wrap: wrap; gap: 12px; width: min(100%, 480px); }
.inline-form input[type=email] { flex: 1 1 220px; min-width: 0; font: inherit; font-weight: 300; color: var(--ivoire); background: rgba(238,232,220,.05); border: 1px solid var(--ligne); border-radius: 0; padding: 12px 16px; min-height: 48px; }
.inline-form input[type=email]:focus { outline: none; border-color: var(--or); }
.inline-form .form-status { flex-basis: 100%; }

/* Pourquoi / valeurs */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); }
.why .section-head { margin-bottom: 0; }
.why-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; }
.why-list dt { font-size: 1.2rem; font-weight: 400; margin-bottom: 8px; padding-top: 16px; border-top: 1px solid var(--ligne); }
.why-list dd { margin: 0; color: var(--brume); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-list { grid-template-columns: 1fr; gap: 28px; } }

/* Agenda */
.events { display: grid; border-top: 1px solid var(--ligne); }
.event { display: grid; grid-template-columns: 190px 1fr auto; gap: 16px 40px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--ligne); }
.event-date { color: var(--or); }
.event-date .day { font-size: 3rem; }
.event-date .label { font-family: var(--f-serif); font-style: italic; font-size: 1.7rem; line-height: 1.1; color: var(--or-pale); }
.event-theme { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--or); }
.event h3, .archive-list h3 { font-size: 1.55rem; font-weight: 400; margin-top: 6px; }
.event-speaker { font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; color: var(--or-pale); margin-top: 4px; }
.event-desc { margin-top: 10px; color: var(--ivoire); max-width: 40em; }
.event-meta { color: var(--brume); font-size: 0.95rem; margin-top: 8px; }
.events-note { margin-top: 28px; color: var(--brume); }
@media (max-width: 760px) { .event { grid-template-columns: 1fr; gap: 14px; } .event .btn { justify-self: start; } }

.archive-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 36px 28px; }
.archive-list li { border-top: 1px solid var(--ligne); padding-top: 18px; }
.archive-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; filter: saturate(.85); }
.empty-note { padding: 32px; border: 1px dashed var(--ligne); color: var(--brume); font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; line-height: 1.4; max-width: 36em; }

/* Infos pratiques */
.facts { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--or); }
.facts > div { padding: 28px 28px 8px 0; }
.facts > div + div { padding-left: 28px; border-left: 1px solid var(--ligne-douce); }
.facts dt { font-family: var(--f-serif); font-style: italic; font-size: 1.7rem; color: var(--or-pale); margin-bottom: 10px; }
.facts dd { margin: 0; color: var(--brume); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts > div, .facts > div + div { padding: 24px 0 0; border-left: 0; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); }
.faq-wrap .section-head { margin-bottom: 0; }
.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 1.15rem; font-weight: 400; transition: color .3s; }
.faq summary:hover { color: var(--or-pale); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--or); transition: transform .3s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--brume); max-width: 38em; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Équipe */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 24px; }
.member { text-align: center; }
.member-pic {
  position: relative;
  width: min(100%, 168px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(214,166,80,.12), transparent 70%);
}
.member-pic::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px dotted var(--or); opacity: .7; transition: transform 1.4s var(--ease), opacity .4s; }
.member-pic::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1px dotted rgba(214,166,80,.45); }
.member:hover .member-pic::before { transform: rotate(90deg); opacity: 1; }
.member-pic span { font-family: var(--f-serif); font-style: italic; font-size: 2.8rem; color: var(--or-pale); line-height: 1; }
.member-pic img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.95); transition: filter .6s var(--ease); }
.member:hover .member-pic img { filter: none; }
.member h3 { font-size: 1.05rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }
.member h3 span { text-transform: none; letter-spacing: 0.02em; }
.member-role { margin-top: 6px; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--or-pale); }
.member-link { display: inline-block; margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 980px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } .member-pic span { font-size: 2.2rem; } .member:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); } }

/* Carte d'identité / format */
.id-card { margin: 0; border-top: 1px solid var(--ligne); }
.id-card > div { display: grid; grid-template-columns: minmax(0, 180px) 1fr; gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--ligne); }
.id-card dt { font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); padding-top: 4px; }
.id-card dd { margin: 0; font-size: 1.08rem; }
@media (max-width: 560px) { .id-card > div { grid-template-columns: 1fr; } }

/* Étapes (Intervenir) : une vraie séquence, d'où la numérotation */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.process li { counter-increment: step; padding-top: 20px; border-top: 1px solid var(--ligne); }
.process li::before { content: counter(step); display: block; font-family: var(--f-serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--or); margin-bottom: 14px; }
.process h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process p { color: var(--brume); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* Engagement (Nous rejoindre) */
.engage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.engage-head { position: sticky; top: calc(var(--header-h) + 40px); }
.engage-body { display: grid; gap: 26px; justify-items: start; }
.engage-body .lead { font-size: 1.2rem; }
.price { margin-top: 24px; font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; color: var(--or-pale); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; color: var(--ivoire); }
.checks li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px rgba(214,166,80,.15); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 16px; border: 1px solid var(--ligne); font-size: 0.92rem; transition: border-color .3s, color .3s; }
.tags li:hover { border-color: var(--or); color: var(--or-pale); }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.support-grid > div { padding: 24px 20px; border: 1px solid var(--ligne); }
.support-grid h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--or-pale); }
.support-grid p { color: var(--brume); font-size: 0.96rem; }
.partners { margin-top: clamp(48px, 7vw, 80px); }
.partner-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.partner-list li { padding: 20px 28px; border: 1px solid var(--ligne); }
.partner-list img { max-height: 56px; width: auto; }
@media (max-width: 860px) { .engage { grid-template-columns: 1fr; } .engage-head { position: static; } }
@media (max-width: 700px) { .support-grid { grid-template-columns: 1fr; } }

/* Contact & formulaires */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-intro .muted { margin-top: 24px; max-width: 26em; }
.contact-mail { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 1.25rem; color: var(--or-pale); word-break: break-all; }
.contact-intro .eyebrow + .contact-mail { margin-top: 0; }
.copy { background: none; border: 1px solid var(--ligne); color: var(--brume); font-family: var(--f-sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 10px; cursor: pointer; }
.copy:hover { border-color: var(--or); color: var(--or-pale); }
.socials { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 12px; }
.socials:empty { display: none; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ligne); color: var(--or-pale); }
.socials a:hover { border-color: var(--or); }
.socials svg { width: 18px; height: 18px; }
.contact-facts { margin: 36px 0 0; display: grid; gap: 14px; }
.contact-facts dt { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); }
.contact-facts dd { margin: 2px 0 0; color: var(--brume); }
.shortcuts { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ligne-douce); display: grid; justify-items: start; gap: 6px; }

.form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-weight: 300;
  color: var(--ivoire);
  background: rgba(238,232,220,.04);
  border: 1px solid var(--ligne-douce);
  border-bottom-color: var(--ligne);
  border-radius: 0;
  padding: 13px 14px;
  transition: border-color .2s, background .2s;
}
.field input::placeholder { color: rgba(158,171,189,.6); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--or) 50%), linear-gradient(135deg, var(--or) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--nuit); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--or); background: rgba(238,232,220,.07); }
.is-invalid { border-color: #E08A7A !important; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--brume); line-height: 1.5; }
.consent input { accent-color: var(--or); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.form .btn { justify-self: start; }
.form-status { min-height: 1.6em; font-size: 0.95rem; }
.form-status.ok { color: var(--or-pale); }
.form-status.err { color: #E9A193; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { padding-block: 72px calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ligne); background: var(--nuit); }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
.footer-brand { display: flex; align-items: flex-start; gap: 18px; }
.footer-brand img { width: 64px; height: 64px; flex-shrink: 0; }
.footer-word { width: 140px; height: 25px; color: var(--ivoire); margin-top: 6px; }
.footer-motto { margin-top: 12px; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--or); }
.footer-tag { margin-top: 8px; font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: var(--brume); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols > div { display: grid; align-content: start; gap: 10px; font-size: 0.95rem; }
.footer-cols h2 { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); margin-bottom: 6px; }
.footer-cols a { color: var(--brume); text-decoration: none; word-break: break-word; }
.footer-cols a:hover { color: var(--or-pale); }
.footer-cols span { color: var(--brume); }
.footer-cols .socials { margin-top: 6px; }
.footer-local { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ligne-douce); font-size: 0.85rem; color: rgba(158,171,189,.75); }
.footer-bottom { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.82rem; color: var(--brume); }
.footer-bottom a { color: var(--brume); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-cols > div:last-child { grid-column: 1 / -1; } }

/* ---------- Pages légales & 404 ---------- */
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 0.86rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--brume); }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--ivoire); font-weight: 400; }
.todo { color: var(--or-pale); background: rgba(214,166,80,.12); padding: 0 4px; }
.page-404 { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.page-404 img { width: 160px; margin: 0 auto 32px; animation: slowSpin 60s linear infinite; }
.page-404 .eyebrow { justify-content: center; }
.page-404 .eyebrow::before { display: none; }
.page-404 .page-title { margin-inline: auto; margin-bottom: 36px; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .will-reveal { opacity: 1; transform: none; }
}
