/* =============================================================================
   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);

  --font:  'Space Grotesk', 'Helvetica Neue', sans-serif;
  --serif: 'Fraunces', 'Georgia', serif;
  --mono:  'IBM Plex Mono', ui-monospace, monospace;

  --content: 1280px;          /* max content width */
  --pad-y: 120px;             /* section vertical padding (desktop) */
  --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; }

.serif  { font-family: var(--serif); font-style: italic; font-weight: 400; }
.mono   { font-family: var(--mono); }
.nugget { color: var(--nugget); }
.nugget-deep { color: var(--nugget-deep); }

.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; }

.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(--font);
  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: 2fr 1fr;
  align-items: stretch;
}

.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(40px, 6.2vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  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: var(--sand);
  color: var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px;
}
.hero-crystal {
  position: relative;
  z-index: 1;
  transform-origin: center;
  animation: boldRotate 32s linear infinite;
}
.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: italic; font-family: var(--serif); font-weight: 500; }

/* =============================================================================
   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); }

/* =============================================================================
   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(--serif);
  font-style: italic;
  font-weight: 400;
  line-height: 0.85;
  color: var(--nugget);
  margin-bottom: 12px;
}
.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-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; }

/* =============================================================================
   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(--serif); font-style: italic; font-size: 13px; margin-top: 16px; opacity: 0.65; }
.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 { border-top: 1px solid var(--rule); }
.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; }
}
