/* =============================================================================
   La Pépite — Home (direction « Audacieuse »)
   Design tokens & styles. Source of truth: BOLD theme (direction-audacieuse.jsx).
   Recreated pixel-perfect from the Claude Design handoff bundle, made responsive.
   ============================================================================= */

:root {
  --cream:          #FAF5E9;   /* bg — warm cream */
  --ink:            #2D2318;   /* bgDark — warm espresso */
  --sand:           #EDE3CC;   /* bgSand — light alt background */
  --nugget:         #F2A83C;   /* accent — yellow-gold of the pépite */
  --nugget-deep:    #C8861F;   /* accent deep — eyebrows on light, hover */
  --fg:             #1A1612;   /* text on light */
  --fg-on-dark:     #FAF5E9;   /* text on dark */
  --fg-soft:        rgba(26, 22, 18, 0.6);
  --fg-soft-dark:   rgba(250, 245, 233, 0.65);
  --rule:           rgba(26, 22, 18, 0.16);
  --rule-dark:      rgba(250, 245, 233, 0.18);

  /* Typographie (dé-« vibecodée ») :
     - display  : titres, une grotesque avec du caractère (≠ Space Grotesk)
     - font     : texte courant, humaniste et lisible
     - logo     : réservé au logotype « la pépite » — NE PAS changer (fixe) */
  --display: 'Familjen Grotesk', 'Helvetica Neue', sans-serif;
  --font:  'Familjen Grotesk', 'Helvetica Neue', sans-serif;
  --serif: 'Fraunces', 'Georgia', serif;
  --mono:  'Familjen Grotesk', 'Helvetica Neue', sans-serif;
  --logo:  'Space Grotesk', 'Helvetica Neue', sans-serif;

  --content: 1280px;          /* max content width */
  --pad-y: 72px;              /* section vertical padding (desktop) — resserré */
  --pad-x: 56px;              /* section horizontal padding (desktop) */
}

/* ---------- reset / base ------------------------------------------------- */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--cream);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

/* Ancien accent « italique serif » dans les titres = motif IA. Neutralisé :
   le fragment reprend simplement la police de titre, sans italique. */
.serif  { font-family: var(--display); font-style: normal; font-weight: inherit; }
.mono   { font-family: var(--mono); }
.nugget { color: var(--nugget-deep); }
.nugget-deep { color: var(--nugget-deep); }

/* Surlignage « tracé main » — accent volontaire, réservé aux phrases fortes. */
.hl {
  background: linear-gradient(103deg, rgba(242,168,60,0.95) 0%, rgba(242,168,60,0.82) 100%);
  color: var(--ink);
  padding: 0.01em 0.26em;
  border-radius: 5px 10px 6px 9px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline-block;
  transform: rotate(-1deg);
}

.wrap { max-width: var(--content); margin: 0 auto; position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* Generic section -------------------------------------------------------- */
.section { padding: var(--pad-y) var(--pad-x); position: relative; }

/* Two-column header (title + intro) used across sections */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}

/* Section titles --------------------------------------------------------- */
h1, h2, h3 { margin: 0; font-family: var(--display); }

.h2 {
  font-size: clamp(34px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
}

/* ---------- decorative crystal pattern (inline svg fills container) ------ */
.crystal-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- curve dividers --------------------------------------------- */
.curve-divider { line-height: 0; position: relative; z-index: 2; }
.curve-divider svg { display: block; width: 100%; height: 76px; }

/* =============================================================================
   NAV
   ============================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 24px var(--pad-x);
  background: var(--ink);
  color: var(--fg-on-dark);
}

.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup .wordmark {
  font-family: var(--logo); /* logotype fixe — ne pas changer */
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: inherit;
}
.lockup svg { display: block; flex: none; }

.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; flex: 1; }
/* Dernier lien du menu, poussé contre le bouton Rejoindre. Même règle de style
   que ses voisins : seule sa position change. */
.nav-links .nav-right { margin-left: auto; }
.nav-links a {
  color: var(--fg-on-dark);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.92;
  transition: opacity 0.15s, color 0.15s;
}
.nav-links a:hover { opacity: 1; color: var(--nugget); }

.btn-pill {
  background: var(--nugget);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-pill:hover { background: var(--nugget-deep); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--fg-on-dark);
  transition: transform 0.25s, opacity 0.2s;
}

/* mobile overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--fg-on-dark);
  display: none;
  flex-direction: column;
  padding: 24px var(--pad-x) 40px;
}
.nav-overlay.open { display: flex; }
.nav-overlay .nav-overlay-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 48px;
}
.nav-overlay .nav-overlay-close {
  background: none; border: none; color: var(--fg-on-dark);
  font-size: 30px; line-height: 1; cursor: pointer; width: 44px; height: 44px;
}
.nav-overlay nav { display: flex; flex-direction: column; gap: 4px; }
.nav-overlay nav a {
  color: var(--fg-on-dark);
  text-decoration: none;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 12px 0;
  min-height: 44px;
}
.nav-overlay .btn-pill { margin-top: auto; align-self: flex-start; font-size: 15px; padding: 16px 26px; }

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
  background-color: var(--ink);
  color: var(--fg-on-dark);
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(105deg, rgba(20,16,12,0.74) 0%, rgba(20,16,12,0.52) 45%, rgba(20,16,12,0.28) 100%),
    url('assets/coworking.jpg');
  background-size: cover;
  background-position: center 35%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: center;
}

.hero-copy { padding: 80px var(--pad-x) 100px; }

.badge {
  display: inline-block;
  background: var(--nugget);
  color: var(--ink);
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 32px;
}

.hero-lead {
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.4;
  max-width: 580px;
  margin: 0 0 48px;
  color: var(--fg-soft-dark);
  letter-spacing: -0.005em;
}

.cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--nugget);
  color: var(--ink);
  padding: 20px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--nugget-deep); }
.btn-primary .mono { font-family: var(--mono); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--fg-on-dark);
  color: var(--fg-on-dark);
  padding: 18px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn-ghost:hover { background: var(--fg-on-dark); color: var(--ink); }

/* hero right — crystal panel (fond beige, logo réduit) */
.hero-panel {
  background: transparent; /* on laisse voir la photo du hero (section uniforme) */
  color: var(--fg-on-dark);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 16px;
}
.hero-panel > .crystal-pattern { display: none; }
.hero-crystal {
  position: relative;
  z-index: 1;
  transform-origin: center;
  animation: boldRotate 32s linear infinite;
}
/* Plan illustré du quartier de la gare (remplace la pépite qui tournait). */
.hero-map {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-map img {
  width: 100%;
  height: auto;
  /* PNG à bords transparents : aucun cadre, il se fond dans le panneau. */
}
.hero-map-cap {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-on-dark);
  text-align: center;
  text-shadow: 0 1px 6px rgba(20,16,12,0.6);
}
.hero-panel-caption {
  position: absolute;
  bottom: 32px; left: 32px; right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* marquee */
.marquee {
  background: var(--cream);
  color: var(--fg);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: boldMarquee 38s linear infinite;
  will-change: transform;
}
.marquee-track .star { color: var(--nugget); }
.marquee-track .soc { font-style: normal; font-family: var(--display); font-weight: 600; }

/* =============================================================================
   MANIFESTE
   ============================================================================= */
.manifeste .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifeste .eyebrow { color: var(--nugget-deep); letter-spacing: 0.18em; margin-bottom: 32px; }
.manifeste h2 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.manifeste .lead {
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 32px;
  letter-spacing: -0.015em;
}
.manifeste .body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin: 0;
}
.manifeste .body + .body { margin-top: 20px; }
.manifeste .body.accent {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--fg);
  border-left: 3px solid var(--nugget);
  padding-left: 20px;
}
.manifeste em { font-family: var(--serif); }

/* Carrousel photos de la Pépite (dans la colonne de gauche, sous le titre) */
.pep-carousel { position: relative; width: 100%; margin: 36px 0 0; }
.pcar-viewport { overflow: hidden; border-radius: 16px; box-shadow: 0 22px 54px -30px rgba(45,35,24,0.55); }
.pcar-track { display: flex; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.pcar-slide { flex: 0 0 100%; margin: 0; }
.pcar-slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pcar-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(45,35,24,0.55); color: #FAF5E9; font-size: 26px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.pcar-btn:hover { background: rgba(45,35,24,0.9); }
.pcar-prev { left: 14px; } .pcar-next { right: 14px; }
.pcar-dots { display: flex; gap: 9px; justify-content: center; margin-top: 18px; }
.pcar-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: none; background: var(--rule); cursor: pointer; transition: background 0.2s; }
.pcar-dot[aria-selected="true"] { background: var(--nugget-deep); }
@media (max-width: 640px){ .pcar-slide img { aspect-ratio: 4 / 3; } .pcar-btn { width: 38px; height: 38px; font-size: 22px; } }

/* =============================================================================
   AXES : le cercle vertueux
   ============================================================================= */
.axes { overflow: hidden; padding-bottom: var(--pad-y); }
.axes .axes-intro { max-width: var(--content); margin: 0 auto; }
.axes .axes-intro .eyebrow { margin-bottom: 20px; }
.axes h2 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 26px;
  max-width: 920px;
}
.axes .axes-intro p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 580px;
  margin: 0;
}

.axis-num {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  line-height: 0.85;
  color: var(--nugget);
  margin-bottom: 12px;
}
/* Illustration d'ambiance de chaque axe (version crème, sur fond marron). */
.axis-illo { margin: 0 auto 10px; }
.axis-illo img { height: 96px; width: auto; margin: 0 auto; }
@media (min-width: 1100px) { .axis-illo img { height: 108px; } }
.axis-body h3 {
  font-family: var(--font);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--fg);
}
.axis-body p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  color: var(--fg-soft);
}

/* Section « nos offres » en marron (rythme visuel : une section sur deux) */
.axes { background: var(--ink); color: var(--fg-on-dark); }
.axes .axes-intro .eyebrow { color: var(--nugget); }
.axes .axes-intro h2 { color: var(--fg-on-dark); }
.axes .axes-intro p { color: var(--fg-soft-dark); }
.axes .axis-body h3 { color: var(--fg-on-dark); }
.axes .axis-body p { color: var(--fg-soft-dark); }
.axes .cercle-ring-track { stroke: var(--rule-dark); }

/* Carte de contact par mailto (remplace l'ancien formulaire) */
.contact-mail { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 560px; margin: 0 auto; }
.contact-illo img { height: 180px; width: auto; margin: 0 auto; }
.contact-mail .btn-primary { align-self: center; }
.contact-mail .cf-note { margin: 0; }

/* --- base (mobile-first) : le disque puis les quatre axes empilés --- */
.cercle {
  display: grid;
  gap: 36px;
  max-width: 560px;
  margin: 48px auto 0;
  justify-items: center;
}
.cercle-core {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
}
.cercle-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.cercle-ring-track { fill: none; stroke: var(--rule); stroke-width: 1.5; }
.cercle-ring-arc   { fill: none; stroke: var(--nugget); stroke-width: 4; stroke-linecap: round; }
.cercle-slides {
  position: absolute;
  inset: 12.5%;
  border-radius: 999px;
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 18px 48px rgba(31, 26, 20, 0.14);
}
.cercle-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 900ms ease;
}
.cercle-slide.is-active { opacity: 1; }

.cercle .axis { max-width: 400px; text-align: center; }
.cercle .axis-num { font-size: 44px; }
.cercle .axis-body h3 { font-size: 24px; }

/* --- desktop : les quatre axes en couronne autour du disque --- */
@media (min-width: 1100px) {
  .cercle {
    grid-template-columns: minmax(240px, 1fr) minmax(360px, 460px) minmax(240px, 1fr);
    grid-template-rows: auto auto auto;
    gap: 44px 60px;
    align-items: center;
    justify-items: stretch;
    max-width: 1180px;
    margin: 64px auto 0;
  }
  .cercle-core { grid-column: 2; grid-row: 2; width: 100%; }
  .cercle .axis { max-width: none; }
  .cercle .axis.a1 { grid-column: 2; grid-row: 1; text-align: center; }
  .cercle .axis.a2 { grid-column: 3; grid-row: 2; text-align: left; }
  .cercle .axis.a3 { grid-column: 2; grid-row: 3; text-align: center; }
  .cercle .axis.a4 { grid-column: 1; grid-row: 2; text-align: right; }
  .cercle .axis-num { font-size: 56px; }
  .cercle .axis-body h3 { font-size: 26px; }
}

/* =============================================================================
   LE LIEU
   ============================================================================= */
.lieu h2 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.lieu .sec-head p { font-size: 18px; line-height: 1.5; margin: 0; max-width: 480px; }
.lieu .sec-head .eyebrow { margin-bottom: 16px; }
.photo { background-size: cover; background-position: center; border-radius: 28px; }
.lieu-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lieu-grid-top .photo { aspect-ratio: 4 / 3; }
/* Carte Google Maps (pas trop grande), à la place des 2 photos */
.lieu-map {
  max-width: 720px;
  margin: 8px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 44px -28px rgba(45,35,24,0.5);
  border: 1px solid var(--rule);
}
.lieu-map iframe { width: 100%; height: 340px; border: 0; display: block; }
/* Illustrations d'ambiance du lieu (fond transparent, sur le crème). */
.lieu-illos {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 4px 0 44px;
}
.lieu-illos img { height: 210px; width: auto; }
@media (max-width: 720px) { .lieu-illos img { height: 150px; } }

/* =============================================================================
   ORGANISATIONS (sand)
   ============================================================================= */
.orgs { background: var(--sand); overflow: hidden; }
.orgs h2 { color: var(--fg); }
.orgs .sec-head .eyebrow { color: var(--nugget-deep); margin-bottom: 16px; }
.orgs .sec-head p { font-size: 18px; line-height: 1.5; margin: 0; color: var(--fg-soft); max-width: 480px; }
.orgs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.org-card {
  background: rgba(255, 255, 255, 0.55);
  color: var(--fg);
  border: 1px solid var(--rule);
  padding: 28px 26px;
  text-decoration: none;
  border-radius: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s;
}
.org-card:hover { border-color: var(--nugget); }
.org-card.tail { background: var(--nugget); border-color: var(--nugget); }
.org-card .org-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--nugget-deep);
  margin-bottom: 16px;
  opacity: 0.85;
}
.org-card.tail .org-num { color: var(--ink); }
.org-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.1; }
.org-card .org-role { font-size: 13px; line-height: 1.45; margin: 0; opacity: 0.7; }
.org-card .org-lead { font-family: var(--font); font-style: normal; font-size: 13px; margin-top: 16px; opacity: 0.7; }
.org-card .org-links { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.org-card .org-links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--nugget-deep);
  text-decoration: none;
  transition: color 0.15s;
}
.org-card .org-links a:hover { color: var(--ink); }
.org-card .org-links .mono { font-family: var(--mono); }

/* --- partenaires & réseaux --- */
.partners-block { margin-top: 40px; }
.partners-block + .partners-block { margin-top: 48px; }
.partners-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nugget-deep);
  margin-bottom: 20px;
}
.partners-links { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.5);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.partner-pill:hover { border-color: var(--nugget); background: #fff; }

/* --- galerie co-fondatrices (page Mission et équipe) ---
   Trois colonnes normalisées (rond photo + nom) ; au survol la colonne s'agrandit
   et révèle les détails, les deux autres se réduisent. Fonds alternés beige/marron. */
.team-eyebrow { color: var(--nugget-deep); margin-bottom: 28px; }
.team { display: flex; gap: 16px; align-items: stretch; }
.tm {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 26px;
  padding: 46px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: flex-grow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tm:nth-child(odd)  { background: var(--sand); color: var(--fg); }
.tm:nth-child(even) { background: var(--ink);  color: var(--fg-on-dark); }
.team:hover .tm { flex-grow: 0.7; }
.team .tm:hover { flex-grow: 2.6; }
.tm-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  object-fit: cover; object-position: center 22%;
  margin-bottom: 22px; flex: none;
  border: 3px solid rgba(255, 255, 255, 0.55);
}
.tm:nth-child(even) .tm-avatar { border-color: rgba(250, 245, 233, 0.28); }
.tm-name { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.tm-detail {
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height 0.5s ease, opacity 0.45s ease, margin-top 0.5s ease;
}
.tm:hover .tm-detail { max-height: 480px; opacity: 1; margin-top: 18px; }
.tm-role {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--nugget-deep); margin-bottom: 12px;
}
.tm:nth-child(even) .tm-role { color: var(--nugget); }
.tm-intro { font-size: 15px; line-height: 1.5; margin: 0 auto; max-width: 420px; }
.tm:nth-child(odd)  .tm-intro { color: var(--fg-soft); }
.tm:nth-child(even) .tm-intro { color: var(--fg-soft-dark); }
.tm-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 20px; margin-top: 18px; }
.tm-links a { font-family: var(--mono); font-size: 12.5px; text-decoration: none; border-bottom: 1px solid; padding-bottom: 2px; }
.tm:nth-child(odd)  .tm-links a { color: var(--fg); border-color: var(--rule); }
.tm:nth-child(even) .tm-links a { color: var(--fg-on-dark); border-color: var(--rule-dark); }
.tm-links a:hover { color: var(--nugget); border-color: var(--nugget); }

@media (max-width: 900px) {
  .team { flex-direction: column; }
  .tm { flex: none; }
  .team:hover .tm, .team .tm:hover { flex: none; }
  .tm-detail { max-height: none; opacity: 1; margin-top: 18px; overflow: visible; }
}

/* =============================================================================
   PARCOURS + RADAR (ink)
   ============================================================================= */
.parcours { background: var(--ink); color: var(--fg-on-dark); overflow: hidden; }
.parcours .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.parcours .tag {
  display: inline-block;
  background: var(--nugget);
  color: var(--ink);
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.parcours h2 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--fg-on-dark);
}
.parcours .accroche {
  font-size: clamp(19px, 2.4vw, 22px);
  line-height: 1.4;
  color: var(--fg-soft-dark);
  margin: 0 0 28px;
  max-width: 520px;
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}
.parcours .desc { font-size: 16px; line-height: 1.6; color: var(--fg-soft-dark); margin: 0 0 36px; max-width: 520px; }
.parcours .phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; max-width: 520px; }
.parcours .phase { border-top: 2px solid var(--nugget); padding-top: 14px; }
.parcours .phase .pnum { font-family: var(--mono); font-size: 10px; color: var(--nugget); margin-bottom: 6px; letter-spacing: 0.14em; }
.parcours .phase .plabel { font-size: 15px; font-weight: 600; }
.parcours .radar-wrap { display: flex; justify-content: center; position: relative; }

/* =============================================================================
   MINI-DIAGNOSTIC
   ============================================================================= */
.minidiag h2 { font-size: clamp(40px, 6vw, 76px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 700; }
.minidiag .sec-head .eyebrow { margin-bottom: 16px; }
.minidiag .sec-head p { font-size: 17px; line-height: 1.55; margin: 0; color: var(--fg-soft); max-width: 480px; }
.diag-card {
  background: var(--ink);
  color: var(--fg-on-dark);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}
.diag-card .diag-inner { position: relative; }

/* MiniDiag widget internals (rendered by JS) */
.md-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.md-progress span { flex: 1; height: 3px; background: var(--rule-dark); transition: background 0.2s; }
.md-progress span.on { background: var(--nugget); }
.md-step-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nugget); margin-bottom: 14px; }
.md-q { font-size: clamp(24px, 3.5vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 28px; max-width: 600px; }
.md-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 720px; }
.md-option {
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--rule-dark);
  color: var(--fg-on-dark);
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  min-height: 44px;
}
.md-option:hover { background: var(--fg-on-dark); color: var(--ink); border-color: var(--fg-on-dark); }
.md-option .key { display: inline-block; min-width: 22px; font-family: var(--mono); font-size: 12px; opacity: 0.6; }
.md-option:hover .key { opacity: 0.6; }

/* result screen */
.md-result { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.md-result .md-result-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nugget); margin-bottom: 18px; }
.md-result h3 { font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; }
.md-result h3 .soft { font-weight: 500; opacity: 0.8; }
.md-result .md-result-body { font-size: 15px; line-height: 1.55; opacity: 0.85; max-width: 440px; margin: 0 0 24px; }
.md-result .md-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.md-cta {
  background: var(--fg-on-dark);
  color: var(--ink);
  padding: 14px 22px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.md-reset {
  background: transparent;
  border: 1px solid var(--rule-dark);
  color: var(--fg-on-dark);
  padding: 14px 22px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
.md-result .md-radar { display: flex; justify-content: center; }

/* =============================================================================
   PARTENAIRES
   ============================================================================= */
.partenaires h2 { font-size: clamp(40px, 5vw, 64px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 700; }
.partenaires .sec-head p { font-size: 17px; line-height: 1.55; margin: 0; color: var(--fg-soft); max-width: 460px; }
.partenaires .sec-head { margin-bottom: 0; }

/* =============================================================================
   NEWSLETTER (nugget)
   ============================================================================= */
.newsletter { background: var(--nugget); color: var(--ink); padding: 100px var(--pad-x); }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.newsletter h2 { font-size: clamp(40px, 5vw, 64px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 700; }
.nl-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; margin-top: 16px; opacity: 0.7; }

/* Habillage du webform Infomaniak aux couleurs de la section (fond pépite).
   Les sélecteurs sont volontairement très spécifiques : le widget embarque son
   propre <style> inline qu'il faut battre. */
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc > h4,
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc > span { display: none !important; }
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc .inf-content { margin-top: 0 !important; }
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc .inf-input { margin-bottom: 0 !important; }
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc input[type="email"] {
  width: 100% !important;
  height: auto !important;
  padding: 20px !important;
  background: var(--ink) !important;
  color: var(--cream) !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font) !important;
  font-size: 18px !important;
}
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc input[type="email"]::placeholder { color: rgba(250, 245, 233, 0.5) !important; }
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc .inf-rgpd {
  margin: 14px 0 0 !important;
  font-family: var(--font) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: rgba(45, 35, 24, 0.7) !important;
}
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc .inf-submit { text-align: left !important; }
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc .inf-submit input {
  margin-top: 16px !important;
  padding: 18px 34px !important;
  height: auto !important;
  background: var(--ink) !important;
  color: var(--cream) !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: var(--font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc .inf-submit input:hover { background: #1d160e !important; }
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc .inf-success h4 {
  font-family: var(--font) !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
}
.nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc .inf-input.inf-error span.inf-message { color: #7a1a12 !important; }

/* =============================================================================
   RÉSERVATION / REJOINDRE (ink) — liens vers reservations.pepite-lausanne.ch
   ============================================================================= */
.resa { background: var(--ink); color: var(--fg-on-dark); }
.resa .sec-head { margin-bottom: 48px; }
.resa h2 { color: var(--fg-on-dark); font-size: clamp(40px, 5vw, 64px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 700; }
.resa .eyebrow { color: var(--nugget); }
.resa .sec-head .eyebrow { margin-bottom: 16px; }
.resa .sec-head p { font-size: 16px; line-height: 1.6; margin: 0; color: var(--fg-soft-dark); max-width: 460px; }
.resa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.resa-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 190px;
  padding: 28px;
  background: rgba(250, 245, 233, 0.04);
  border: 1px solid var(--rule-dark);
  color: var(--fg-on-dark);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.resa-card:hover { background: rgba(242, 168, 60, 0.10); border-color: var(--nugget); transform: translateY(-3px); }
.resa-card h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; }
.resa-card p { font-size: 14px; line-height: 1.5; margin-top: 10px; color: var(--fg-soft-dark); }
.resa-card .resa-go { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; color: var(--nugget); }
.resa-card .resa-go .mono { font-family: var(--mono); }

/* =============================================================================
   CONTACT (formulaire de prise de contact)
   ============================================================================= */
.contact .sec-head { margin-bottom: 48px; }
.contact h2 { font-size: clamp(40px, 5vw, 64px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 700; }
.contact .sec-head .eyebrow { margin-bottom: 16px; }
.contact .sec-head p { font-size: 17px; line-height: 1.55; margin: 0; color: var(--fg-soft); max-width: 460px; }

.contact-card {
  max-width: 880px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 32px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 60px rgba(31, 26, 20, 0.07);
}
.contact-form { position: relative; display: grid; gap: 22px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cf-field { display: grid; gap: 9px; }
.cf-field > span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nugget-deep);
}
.cf-field > span em {
  font-style: normal;
  letter-spacing: 0.12em;
  color: var(--fg-soft);
  opacity: 0.75;
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
  color: var(--fg);
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 16px;
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: rgba(31, 26, 20, 0.38); }
.cf-field textarea { resize: vertical; min-height: 168px; }
.cf-field input:hover,
.cf-field textarea:hover { border-color: var(--rule); }
.cf-field input:focus,
.cf-field textarea:focus {
  background: #fff;
  border-color: var(--nugget);
  box-shadow: 0 0 0 4px rgba(242, 168, 60, 0.18);
}
.cf-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.contact-form .btn-primary { border: none; cursor: pointer; font-family: var(--font); }
.contact-form .btn-primary:disabled { opacity: 0.55; cursor: default; }
.cf-note { font-size: 13px; line-height: 1.5; margin: 0; color: var(--fg-soft); max-width: 280px; }
.cf-note a { color: var(--nugget-deep); }
.cf-status { font-size: 15px; line-height: 1.5; margin: 0; }
.cf-status.ok  { color: var(--nugget-deep); font-weight: 600; }
.cf-status.err { color: #B3261E; font-weight: 600; }

/* =============================================================================
   PAGE NOUS SOUTENIR
   ============================================================================= */
.soutien h2 { font-size: clamp(40px, 5vw, 64px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 700; }
.soutien .sec-head .eyebrow { margin-bottom: 16px; }
.soutien .sec-head p { font-size: 17px; line-height: 1.55; margin: 0; color: var(--fg-soft); max-width: 460px; }

.iban-card {
  max-width: 720px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 32px;
  padding: clamp(26px, 3.6vw, 44px);
  box-shadow: 0 24px 60px rgba(31, 26, 20, 0.07);
}

/* --- l'IBAN, élément principal de la carte --- */
.iban-main {
  background: var(--cream);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 28px);
}
.iban-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nugget-deep);
  margin-bottom: 14px;
}
.iban-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 0.7em;
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(21px, 3.4vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.iban-value span { white-space: nowrap; }

/* --- titulaire et banque --- */
.iban-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin: 28px 0 0;
}
.iban-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nugget-deep);
  margin-bottom: 8px;
}
.iban-meta dd { margin: 0; font-size: 17px; line-height: 1.4; color: var(--fg); }

.iban-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.iban-actions .btn-primary { border: none; cursor: pointer; font-family: var(--font); }
.iban-actions .btn-primary .mono { font-family: var(--mono); }
.iban-note {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--fg-soft);
}
.iban-note.ok { color: var(--nugget-deep); font-weight: 600; letter-spacing: 0.04em; }

/* =============================================================================
   PAGE ÉQUIPE
   ============================================================================= */
.equipe-head { background: var(--ink); color: var(--fg-on-dark); overflow: hidden; padding-top: 72px; }
.equipe-head .back-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--nugget);
  text-decoration: none;
  margin-bottom: 32px;
}
.equipe-head .back-link:hover { color: var(--fg-on-dark); }
.equipe-head .eyebrow { color: var(--nugget); margin-bottom: 20px; }
.equipe-head h1 {
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 32px;
  color: var(--fg-on-dark);
}
.equipe-lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--fg-soft-dark);
  max-width: 640px;
  margin: 0;
}

/* en-tête « Mission » sur deux colonnes : texte + diaporama */
.equipe-head-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.equipe-slides {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: #1b140d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.equipe-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1000ms ease;
}
.equipe-slide.is-active { opacity: 1; }
@media (max-width: 900px) {
  .equipe-head-grid { grid-template-columns: 1fr; gap: 40px; }
  .equipe-slides { max-width: 460px; }
}

.membre {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  padding: 64px 0;
  border-top: 1.5px solid var(--ink);
}
.membre:last-child { border-bottom: 1.5px solid var(--ink); }
.membre-aside { position: sticky; top: 96px; align-self: start; }
.membre-monogramme {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: var(--nugget);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.membre-role { font-size: 15px; line-height: 1.45; color: var(--fg-soft); margin-bottom: 18px; }
.membre-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  background: rgba(26, 22, 18, 0.05);
  padding: 8px 15px;
  border-radius: 999px;
}
.chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--nugget);
}
.membre-contact { margin-top: 22px; display: grid; gap: 10px; justify-items: start; }
.membre-mail {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--nugget-deep);
  text-decoration: none;
  word-break: break-all;
}
.membre-mail:hover { color: var(--ink); text-decoration: underline; }
.membre-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  padding: 10px 18px;
  transition: border-color 0.15s, background 0.15s;
}
.membre-cta:hover { border-color: var(--nugget); background: rgba(242, 168, 60, 0.1); }
.membre-cta .mono { font-family: var(--mono); }

.membre-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--nugget-deep);
  margin-bottom: 14px;
}
.membre-body h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 22px;
}
.membre-intro {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 36px;
  max-width: 640px;
}
.membre-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nugget-deep);
  margin-bottom: 16px;
}
.membre-list { list-style: none; margin: 0 0 36px; padding: 0; max-width: 720px; }
.membre-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin-bottom: 12px;
}
.membre-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--nugget);
}
.membre-parcours { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.membre-parcours li {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.45;
}
.membre-parcours li span { color: var(--fg); }
.membre-parcours li em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-soft);
  white-space: nowrap;
}

/* =============================================================================
   FOOTER (ink)
   ============================================================================= */
.footer { background: var(--ink); color: var(--fg-on-dark); padding: 64px var(--pad-x) 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-about p { margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--fg-soft-dark); max-width: 320px; }
.footer-col .fcol-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nugget); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: var(--fg-on-dark); text-decoration: none; opacity: 0.92; }
.footer-col a:hover { color: var(--nugget); }
.footer-legal {
  border-top: 1px solid var(--rule-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-soft-dark);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-credit { margin-top: 28px; }
.footer-legal a.legal-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color 0.15s; }
.footer-legal a.legal-link:hover { color: var(--nugget); }

/* =============================================================================
   KEYFRAMES
   ============================================================================= */
@keyframes boldRotate { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes boldMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* =============================================================================
   RESPONSIVE
   ============================================================================= */

/* ---- tablette et moins : navigation burger ---- */
@media (max-width: 1099px) {
  :root { --pad-y: 64px; }

  .nav-links { display: none; }
  .nav > .btn-pill { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
}

/* ---- general tablet stacking ---- */
@media (max-width: 900px) {
  :root { --pad-x: 24px; }

  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .sec-head .eyebrow { text-align: left; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px var(--pad-x) 64px; }
  .hero-panel { min-height: 300px; }
  .hero-crystal svg { width: 170px; height: auto; }

  .manifeste .wrap { grid-template-columns: 1fr; gap: 32px; }

  .lieu-grid-top { grid-template-columns: 1fr; }

  .orgs-grid { grid-template-columns: 1fr 1fr; }

  .cf-row { grid-template-columns: 1fr; }

  .parcours .grid { grid-template-columns: 1fr; gap: 48px; }
  .parcours .radar-wrap { order: -1; }

  .md-result { grid-template-columns: 1fr; }
  .md-options { grid-template-columns: 1fr; }
  .diag-card { padding: 40px 28px; }

  .resa-grid { grid-template-columns: 1fr; }

  .newsletter .wrap { grid-template-columns: 1fr; gap: 36px; }

  .iban-meta { grid-template-columns: 1fr; gap: 20px; }
  .iban-actions .btn-primary { width: 100%; justify-content: center; }

  .membre { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .membre-aside { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
}

/* ---- mobile ---- */
@media (max-width: 640px) {
  :root { --pad-y: 40px; }

  .marquee-track { font-size: 17px; gap: 36px; }

  .orgs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nl-box .inf-main_5c0e88d109aca1e6539486d1091a5efc .inf-submit input { width: 100% !important; }

  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-crystal { animation: none; }
  .marquee-track { animation: none; }
  .cercle-slide { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* =============================================================================
   ÉVÉNEMENTS (evenements.html + evenement.html, rendus par assets/events.js)
   ============================================================================= */
.nav-links a[aria-current="page"] { color: var(--nugget); opacity: 1; }

.ev-head { background: var(--ink); color: var(--fg-on-dark); overflow: hidden; padding-top: 56px; padding-bottom: 40px; }
.ev-head .eyebrow { color: var(--nugget); }
.ev-une-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.ev-une-head h2 { font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -0.04em; line-height: 0.95; font-weight: 700; color: var(--fg-on-dark); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* date « pavé » : jour en gros, mois dessous */
.ev-day {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 58px; padding: 8px 10px 7px; border-radius: 14px;
  background: var(--nugget); color: var(--ink); line-height: 1;
}
.ev-day b { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.ev-day span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

/* pastille organisateur : logo ou initiales, comme un compte Google */
.ev-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sand); color: var(--ink); border: 1.5px solid rgba(26, 22, 18, 0.12);
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
}
.ev-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ev-avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.ev-avatar.lg { width: 60px; height: 60px; font-size: 19px; }
.ev-org { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.ev-org > span:last-child { min-width: 0; }
.ev-org-lg > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.ev-org-lg b { font-size: 16px; }
.ev-org-lg small { font-size: 13.5px; line-height: 1.45; color: var(--fg-soft); }

.ev-register-sm { padding: 14px 22px; font-size: 14px; }
.ev-private-note {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 16px; border-radius: 999px; border: 1.5px dashed currentColor; opacity: 0.8;
}
.ev-lock {
  width: 11px; height: 9px; border: 1.8px solid currentColor; border-radius: 2px; position: relative; top: 2px;
}
.ev-lock::before {
  content: ""; position: absolute; left: 1px; bottom: 7px; width: 5px; height: 5px;
  border: 1.8px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0;
}

/* ---- À la une ---- */
.ev-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--cream); color: var(--fg); border-radius: 28px; overflow: hidden;
  position: relative;
}
.ev-featured-text { padding: 44px 44px 40px; display: flex; flex-direction: column; gap: 18px; }
.ev-featured-date { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nugget-deep); }
.ev-featured-title { font-size: clamp(30px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.035em; font-weight: 700; }
.ev-featured-title a { text-decoration: none; }
.ev-featured-title a:hover { color: var(--nugget-deep); }
.ev-featured-desc { margin: 0; font-size: 16px; line-height: 1.6; color: var(--fg-soft); }
.ev-featured-actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.ev-more { font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--nugget); padding-bottom: 3px; }
.ev-more:hover { color: var(--nugget-deep); }
.ev-featured-media { display: block; position: relative; min-height: 360px; background: var(--sand); }
.ev-featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-featured-media.no-img { display: grid; place-items: center; background: var(--sand); }
.ev-featured-placeholder .ev-day { transform: scale(1.6); }
.ev-featured-empty {
  border: 1.5px dashed var(--rule-dark); border-radius: 22px; padding: 28px;
  color: var(--fg-soft-dark); font-size: 15px;
}

/* ---- À venir : carrousel à extension ---- */
.ev-upcoming { padding-top: 48px; }
.ev-upcoming-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.ev-upcoming-head h2 { font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -0.04em; line-height: 0.95; font-weight: 700; }
.ev-arrows { display: flex; gap: 10px; }
.ev-arrow {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font-size: 20px; cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.ev-arrow:hover:not(:disabled) { background: var(--ink); color: var(--fg-on-dark); }
.ev-arrow:disabled { opacity: 0.25; cursor: default; }

.ev-track {
  display: flex; gap: 16px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 4px 2px 12px; margin: 0 -2px;
}
.ev-track::-webkit-scrollbar { display: none; }
.ev-card {
  flex: 0 0 272px; height: 420px; position: relative; overflow: hidden;
  border-radius: 24px; text-decoration: none; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--fg-on-dark); background: var(--ink);
  transition: flex-basis 0.5s cubic-bezier(.2,.7,.2,1), transform 0.3s;
}
.ev-track:hover .ev-card { flex-basis: 246px; }
.ev-track .ev-card:hover, .ev-track .ev-card:focus-visible { flex-basis: 470px; }
.ev-card.no-img.tone-0 { background: var(--sand); color: var(--fg); }
.ev-card.no-img.tone-1 { background: var(--ink); color: var(--fg-on-dark); }
.ev-card-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.ev-card-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0.15) 0%, rgba(20,16,12,0.05) 35%, rgba(20,16,12,0.86) 100%);
}
.ev-card:hover .ev-card-bg { transform: scale(1.04); }
.ev-card-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; padding: 18px; }
.ev-badge {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(20,16,12,0.72); color: var(--fg-on-dark); padding: 6px 11px; border-radius: 999px;
}
.ev-card.no-img.tone-0 .ev-badge { background: var(--ink); }
.ev-card-body { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.ev-card-date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nugget); }
.ev-card.no-img.tone-0 .ev-card-date { color: var(--nugget-deep); }
.ev-card-title {
  font-family: var(--display); font-size: 25px; line-height: 1.05; letter-spacing: -0.025em; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ev-card-more {
  display: flex; flex-direction: column; gap: 14px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.35s, margin 0.4s;
}
.ev-card:hover .ev-card-more, .ev-card:focus-visible .ev-card-more { max-height: 220px; opacity: 1; margin-top: 6px; }
.ev-card-desc { font-size: 14.5px; line-height: 1.5; opacity: 0.86; max-width: 400px; }
.ev-card .ev-org { font-size: 13.5px; font-weight: 600; }
.ev-card.has-img .ev-avatar, .ev-card.tone-1 .ev-avatar { border-color: rgba(250,245,233,0.3); }
.ev-empty p { margin: 0; font-size: 17px; color: var(--fg-soft); padding: 34px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* ---- Fiche d'un événement (croquis : visuel, titre | date, texte, orga | inscription) ---- */
.ev-page { padding-top: 48px; }
.ev-detail-wrap { max-width: 980px; }
.ev-loading { padding: 80px 0; color: var(--fg-soft); }
.ev-back { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nugget-deep); text-decoration: none; margin-bottom: 24px; }
.ev-back:hover { color: var(--fg); }
.ev-hero { border-radius: 28px; overflow: hidden; background: var(--sand); aspect-ratio: 16 / 7; margin-bottom: 36px; }
.ev-hero img { width: 100%; height: 100%; object-fit: cover; }
.ev-titlerow { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; }
.ev-title { font-size: clamp(36px, 5vw, 64px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 700; }
.ev-when { display: flex; align-items: center; gap: 14px; flex: none; max-width: 280px; }
.ev-when > span:last-child { font-size: 15px; line-height: 1.4; font-weight: 600; }
.ev-past-note { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); }
.ev-desc { margin-top: 32px; padding-left: 22px; border-left: 3px solid var(--nugget); max-width: 720px; }
.ev-desc p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.ev-desc p:last-child { margin-bottom: 0; }
.ev-desc a { color: var(--nugget-deep); }
.ev-foot {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.ev-foot .ev-org-lg { max-width: 560px; }
.ev-org-label { font-family: var(--mono); font-size: 11px !important; letter-spacing: 0.1em; text-transform: uppercase; }
.ev-missing { padding: 60px 0; }
.ev-missing h1 { font-size: 44px; letter-spacing: -0.03em; margin-bottom: 12px; }
.ev-missing p { color: var(--fg-soft); margin: 0 0 28px; }

@media (max-width: 900px) {
  .ev-featured { grid-template-columns: 1fr; }
  .ev-featured-media { min-height: 240px; order: -1; }
  .ev-featured-text { padding: 30px 26px; }
  .ev-titlerow { flex-direction: column; }
}
/* écrans tactiles : pas de survol, donc tout est déplié d'office */
@media (hover: none), (max-width: 640px) {
  .ev-card, .ev-track:hover .ev-card, .ev-track .ev-card:hover { flex-basis: min(82vw, 340px); }
  .ev-card-more { max-height: none; opacity: 1; margin-top: 6px; }
  .ev-arrows { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-card, .ev-card-bg, .ev-card-more { transition: none; }
}
