/* ==========================================================
   BISTRO DES ÉMOTIONS — Styles
   Système éditorial chaleureux. Newsreader + Geist Mono.
   3 palettes : chaleureuse (par défaut), sombre, claire.
========================================================== */

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

:root {
  /* ---- Default palette: chaleureuse ---- */
  --bg:        #F2E9D7;
  --bg-2:      #E9DEC4;
  --paper:     #FAF4E6;
  --ink:       #1D140A;
  --ink-mid:   #594A37;
  --ink-soft:  #8E7C62;
  --accent:    #6B1F2E;   /* bordeaux */
  --accent-2:  #8F2C40;
  --amber:     #B47A3D;
  --amber-2:   #D9B47A;
  --line:      rgba(29, 20, 10, 0.14);
  --line-soft: rgba(29, 20, 10, 0.07);
  --shadow-1:  0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 30px rgba(60, 38, 16, 0.07);
  --silence:   #14110D;
  --silence-2: #211C15;
  --silence-amber: #D9B47A;

  --serif: "Newsreader", "EB Garamond", Georgia, "Times New Roman", serif;
  --display: "Instrument Serif", "Newsreader", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --t-quick: 0.2s ease;
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Palette: sombre ---- */
body[data-palette="sombre"] {
  --bg:        #16120D;
  --bg-2:      #1F1A13;
  --paper:     #20180F;
  --ink:       #F2E6CC;
  --ink-mid:   #B9A989;
  --ink-soft:  #80715A;
  --accent:    #D9B47A;
  --accent-2:  #E8C896;
  --amber:     #C9A669;
  --amber-2:   #87683E;
  --line:      rgba(242, 230, 204, 0.14);
  --line-soft: rgba(242, 230, 204, 0.06);
  --shadow-1:  0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 36px rgba(0, 0, 0, 0.5);
}

/* ---- Palette: claire ---- */
body[data-palette="claire"] {
  --bg:        #FBF7EE;
  --bg-2:      #F3ECDC;
  --paper:     #FFFDF8;
  --ink:       #2A2014;
  --ink-mid:   #6B5C46;
  --ink-soft:  #A89A82;
  --accent:    #863248;
  --accent-2:  #A24158;
  --amber:     #C49860;
  --amber-2:   #E5CC9A;
  --line:      rgba(42, 32, 20, 0.10);
  --line-soft: rgba(42, 32, 20, 0.05);
  --shadow-1:  0 1px 0 rgba(255,255,255,0.8) inset, 0 6px 24px rgba(60, 38, 16, 0.04);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--t-slow), color var(--t-slow);
  overflow-x: hidden;
}

/* paper grain — very subtle film of warmth */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(180, 122, 61, 0.08), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(107, 31, 46, 0.05), transparent 55%);
  transition: opacity var(--t-slow);
}
body[data-palette="sombre"]::before { opacity: 0.7; }
body[data-palette="claire"]::before { opacity: 0.4; }

/* ---- Mode silence ---- */
body[data-silence="on"] {
  background: var(--silence);
  color: #E8DCC2;
}
body[data-silence="on"] *,
body[data-silence="on"] *::before,
body[data-silence="on"] *::after {
  transition-duration: 1.6s !important;
  animation-duration: 6s !important;
}
body[data-silence="on"] .nav { opacity: 0.4; }
body[data-silence="on"] main { filter: brightness(0.65) saturate(0.7); }
body[data-silence="on"] .tempete,
body[data-silence="on"] .tempete .tempete-bg { color: var(--silence-amber); }
body[data-silence="on"] section { padding-top: 120px; padding-bottom: 120px; }

/* ---- Density: court (default) hides narratif ---- */
body[data-density="court"]    [data-tone="narratif"] { display: none !important; }
body[data-density="narratif"] [data-tone="court"]    { display: none !important; }

/* ============================ TYPOGRAPHY ============================ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

em, .em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.01em;
}

p { text-wrap: pretty; }
p + p { margin-top: 1.1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.muted { color: var(--ink-mid); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

section { padding: 120px 0; position: relative; z-index: 2; }

/* ============================ ATOMS ============================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 24px;
}
.eyebrow-mark {
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--amber);
}
.eyebrow--light { color: var(--silence-amber); }
.eyebrow--light .eyebrow-mark { background: var(--silence-amber); opacity: 0.7; }

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}
.section-head--center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }

.section-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}
.section-title em { letter-spacing: -0.015em; }

.section-lede {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--ink-mid);
  max-width: 540px;
}
.section-head--center .section-lede { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-quick), background-color var(--t-quick),
              color var(--t-quick), border-color var(--t-quick), box-shadow var(--t-quick);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #FAF4E6;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 22px rgba(107, 31, 46, 0.22);
}
.btn-primary:hover {
  background: var(--accent-2);
  color: #FAF4E6;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 12px 26px rgba(107, 31, 46, 0.3);
}
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--paper); }
.btn-ghost {
  background: color-mix(in srgb, var(--amber) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber) 50%, transparent);
  color: var(--ink);
  padding: 13px 22px 13px 18px;
}
.btn-ghost:hover {
  background: color-mix(in srgb, var(--amber) 18%, transparent);
  border-color: var(--amber);
  color: var(--ink);
  text-decoration: none;
}
.btn-ghost-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(180, 122, 61, 0.22);
  animation: pulse-soft 2.4s ease-in-out infinite;
}
@keyframes pulse-soft {
  0%,100% { box-shadow: 0 0 0 5px rgba(180, 122, 61, 0.22); }
  50%     { box-shadow: 0 0 0 11px rgba(180, 122, 61, 0.0); }
}
.btn-amber {
  background: var(--silence-amber);
  color: var(--silence);
  box-shadow: 0 8px 24px rgba(217, 180, 122, 0.25);
}
.btn-amber:hover { background: #E8C896; color: var(--silence); }
.amber-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--silence);
}
.btn-sm { padding: 11px 18px; font-size: 11.5px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================ NAV ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color var(--t-slow);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: nowrap;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.42rem;
  color: var(--ink);
  letter-spacing: -0.012em;
  white-space: nowrap;
  line-height: 1;
}
.nav-logo:hover { text-decoration: none; color: var(--accent); }
.logo-mark { color: var(--accent); display: inline-flex; align-items: center; }
.logo-mark > * { display: none !important; }
body[data-logo-mark="vapeur"] .logo-mark > [data-mark="vapeur"] { display: inline-flex !important; }
body[data-logo-mark="tasse"]  .logo-mark > [data-mark="tasse"]  { display: inline-flex !important; }
body[data-logo-mark="esp"]    .logo-mark > [data-mark="esp"]    { display: inline-flex !important; }
body[data-logo-mark="goutte"] .logo-mark > [data-mark="goutte"] { display: inline-flex !important; }

.logo-mark-text {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.7rem;
  line-height: 0.85;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.footer-brand .logo-mark-text { font-size: 1.55rem; }
.logo-text { white-space: nowrap; }
.logo-amp { font-family: var(--display); font-style: italic; }

.nav-links {
  list-style: none;
  display: flex; align-items: center; gap: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mid);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--accent);
  color: #FAF4E6 !important;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 11px !important;
}
.nav-cta:hover {
  background: var(--accent-2) !important;
  color: #FAF4E6 !important;
}

/* ============================ MOBILE NAV (burger + drawer) ============================ */
.nav-burger {
  display: none;          /* shown only on mobile via media query */
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: 4px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.nav-burger:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.nav-burger-bar {
  display: block;
  width: 16px;
  height: 1.6px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
body.mobile-menu-open .nav-burger-bar:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
body.mobile-menu-open .nav-burger-bar:nth-child(2) { opacity: 0; }
body.mobile-menu-open .nav-burger-bar:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }

.mobile-menu-scrim {
  display: none;
  position: fixed; inset: 0;
  background: color-mix(in srgb, var(--ink) 35%, transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 49;
  opacity: 0;
  transition: opacity var(--t-mid);
}
body.mobile-menu-open .mobile-menu-scrim { opacity: 1; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: min(86vw, 360px);
  height: 100dvh;
  z-index: 51;
  background: var(--paper);
  border-left: 1px solid var(--line-soft);
  padding: 72px 28px 32px;
  box-shadow: -24px 0 60px -20px rgba(29, 20, 10, 0.18);
  transform: translateX(100%);
  transition: transform var(--t-mid);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body.mobile-menu-open .mobile-menu { transform: translateX(0); }

.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 12px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 999px;
  color: var(--ink-mid);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.mobile-menu-close:hover {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  color: var(--ink);
}

.mobile-menu-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line-soft);
}
.mobile-menu-list li { border-bottom: 1px solid var(--line-soft); }
.mobile-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.mobile-menu-list a:hover { color: var(--accent); text-decoration: none; }
.mobile-menu-list a::after {
  content: "→";
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
  opacity: 0.7;
}

.mobile-menu-cta {
  display: block;
  margin-top: 28px;
  padding: 16px 22px;
  background: var(--accent);
  color: #FAF4E6 !important;
  border-radius: 999px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(107, 31, 46, 0.22);
}
.mobile-menu-cta:hover { background: var(--accent-2); text-decoration: none; }

.mobile-menu-foot {
  margin: 24px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

/* Prevent body scroll while drawer is open */
body.mobile-menu-open { overflow: hidden; }

/* ============================ HERO ============================ */
.hero {
  padding-top: 96px;
  padding-bottom: 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.hero-text { position: relative; }

.hero-title {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin-bottom: 32px;
  font-weight: 400;
}
.hero-title em {
  font-size: 1.04em;
  display: inline-block;
  position: relative;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 7px;
  background: var(--amber-2);
  opacity: 0.45;
  z-index: -1;
  border-radius: 2px;
}
body[data-palette="sombre"] .hero-title em::after { opacity: 0.18; }

.hero-sub {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-bottom: 28px;
}

.hero-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.hero-devise {
  position: relative;
  margin-top: 48px;
  padding: 18px 32px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  z-index: 2;
}
.hashtag { color: var(--accent); margin-right: 2px; }

/* hero illustration */
.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.art-illustration {
  width: 100%;
  max-width: 320px;
  color: var(--ink);
  display: none;
}
/* Show one illustration at a time based on body data attribute */
body[data-hero-art="ambre"]    .art-illustration[data-art="ambre"]    { display: block; }
body[data-hero-art="bordeaux"] .art-illustration[data-art="bordeaux"] { display: block; }
body[data-hero-art="creme"]    .art-illustration[data-art="creme"]    { display: block; }

/* ───────────── Filled teacup illustration ───────────── */
.art-filled .steam-ribbon {
  opacity: 0;
  /* Animation applied per body[data-steam] variant below. */
}

/* — Souffle (default) — vertical drift + fade up — */
body[data-steam="souffle"] .art-filled .steam-ribbon {
  animation: steam-souffle 7s ease-in-out infinite;
}
body[data-steam="souffle"] .art-filled .steam-ribbon-1 { animation-delay: 0s;   }
body[data-steam="souffle"] .art-filled .steam-ribbon-2 { animation-delay: 1.8s; }
body[data-steam="souffle"] .art-filled .steam-ribbon-3 { animation-delay: 3.4s; }
@keyframes steam-souffle {
  0%   { opacity: 0;   transform: translateY(10px); }
  25%  { opacity: 0.8; }
  70%  { opacity: 0.8; }
  100% { opacity: 0;   transform: translateY(-6px); }
}

/* — Tracé — stroke draws from bottom up, then fades — */
body[data-steam="trace"] .art-filled .steam-ribbon {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: steam-trace 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
body[data-steam="trace"] .art-filled .steam-ribbon-1 { animation-delay: 0s;   }
body[data-steam="trace"] .art-filled .steam-ribbon-2 { animation-delay: 1.5s; }
body[data-steam="trace"] .art-filled .steam-ribbon-3 { animation-delay: 3s;   }
@keyframes steam-trace {
  0%   { stroke-dashoffset: 220; opacity: 0; }
  8%   { opacity: 0.85; }
  55%  { stroke-dashoffset: 0;   opacity: 0.85; }
  100% { stroke-dashoffset: 0;   opacity: 0; }
}

/* — Tangage — gentle side-to-side sway around cup rim — */
body[data-steam="tangage"] .art-filled .steam-ribbon {
  transform-origin: 120px 144px;
  animation: steam-tangage 5.5s ease-in-out infinite;
  opacity: 0.78;
}
body[data-steam="tangage"] .art-filled .steam-ribbon-1 { animation-delay: 0s;    }
body[data-steam="tangage"] .art-filled .steam-ribbon-2 { animation-delay: 0.45s; }
body[data-steam="tangage"] .art-filled .steam-ribbon-3 { animation-delay: 0.9s;  }
@keyframes steam-tangage {
  0%, 100% { transform: rotate(-5deg); opacity: 0.55; }
  50%      { transform: rotate(5deg);  opacity: 0.92; }
}

/* Subtle ripples on the coffee surface — Tempête's signature */
.art-filled .cup-ripple {
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 0.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: coffee-ripple 5.5s linear infinite;
  opacity: 0;
}
.art-filled .cup-ripple-2 { animation-delay: 2.7s; }
@keyframes coffee-ripple {
  0%   { transform: scale(0.12); opacity: 0; }
  15%  { opacity: 0.7; }
  100% { transform: scale(1); opacity: 0; }
}

/* ── AMBRE — warm tan teacup, matches the reference ── */
.art-filled[data-art="ambre"] .steam-ribbon  { stroke: #E5C597; }
.art-filled[data-art="ambre"] .cup-body      { fill: #B07535; }
.art-filled[data-art="ambre"] .cup-handle    { fill: #B07535; }
.art-filled[data-art="ambre"] .cup-rim-inner { fill: #6F4720; }
.art-filled[data-art="ambre"] .cup-coffee    { fill: #2A1808; }
.art-filled[data-art="ambre"] .cup-highlight { fill: #D9B47A; opacity: 0.45; }

/* ── BORDEAUX — burgundy teacup, brand-colored ── */
.art-filled[data-art="bordeaux"] .steam-ribbon  { stroke: #D9B47A; }
.art-filled[data-art="bordeaux"] .cup-body      { fill: #6B1F2E; }
.art-filled[data-art="bordeaux"] .cup-handle    { fill: #6B1F2E; }
.art-filled[data-art="bordeaux"] .cup-rim-inner { fill: #3D0E1A; }
.art-filled[data-art="bordeaux"] .cup-coffee    { fill: #1A0608; }
.art-filled[data-art="bordeaux"] .cup-highlight { fill: #9F3A50; opacity: 0.45; }

/* ── CRÈME — pale porcelain teacup ── */
.art-filled[data-art="creme"] .steam-ribbon  { stroke: #B47A3D; }
.art-filled[data-art="creme"] .cup-body      { fill: #F2E4C5; }
.art-filled[data-art="creme"] .cup-handle    { fill: #F2E4C5; }
.art-filled[data-art="creme"] .cup-rim-inner { fill: #C9AE7D; }
.art-filled[data-art="creme"] .cup-coffee    { fill: #5A3318; }
.art-filled[data-art="creme"] .cup-highlight { fill: #FFFFFF; opacity: 0.6; }
.art-filled[data-art="creme"] .cup-ripple    { stroke: rgba(180, 122, 61, 0.6); }

/* Captions — show only the one matching active art */
.art-caption { display: none; }
body[data-hero-art="ambre"]    .art-caption[data-art="ambre"]    { display: block; }
body[data-hero-art="bordeaux"] .art-caption[data-art="bordeaux"] { display: block; }
body[data-hero-art="creme"]    .art-caption[data-art="creme"]    { display: block; }
.art-caption {
  margin-top: -8px;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink-mid);
  text-align: center;
}

/* ============================ EXPERIENCE ============================ */
.experience {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.experience-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: start;
}
.experience-text p {
  color: var(--ink-mid);
  font-size: 1.06rem;
}
.experience-text > p:first-of-type::first-letter {
  font-family: var(--display);
  font-style: italic;
  font-size: 4em;
  line-height: 0.85;
  float: left;
  color: var(--accent);
  margin: 0.08em 0.12em 0 -0.04em;
}
.pull {
  margin: 36px 0;
  padding: 24px 28px;
  background: var(--bg-2);
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.pull blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink);
}

.emotions-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.emotion {
  position: relative;
  padding: 22px 26px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 6px;
}
.emotion:nth-child(odd) {
  margin-left: 24px;
  background: var(--bg-2);
}
.emotion::before {
  content: "";
  position: absolute;
  left: 14px; top: 28px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--amber);
}
.emotion-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink);
  padding-left: 12px;
}
.emotion-note {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding-left: 12px;
}

/* ============================ HISTOIRE ============================ */
.histoire {
  background: var(--bg);
}
.histoire-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 64px;
  align-items: start;
}
.histoire-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
  color: var(--ink);
}
.stat {
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--accent);
}
.stat-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.stat-plus {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.85rem;
  vertical-align: top;
  color: var(--accent);
  margin-left: 2px;
  font-weight: 500;
  letter-spacing: 0;
}
.stat-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
}
.histoire-timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.histoire-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--amber) 60%, transparent) 0%,
    color-mix(in srgb, var(--amber) 60%, transparent) 70%,
    color-mix(in srgb, var(--accent) 60%, transparent) 100%
  );
}
.histoire-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 28px;
}
.histoire-timeline li::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  background: var(--bg);
}
.histoire-timeline li.now::after {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent);
}
.t-year {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ink-soft);
}
.histoire-timeline li.now .t-year { color: var(--accent); }
.t-event {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.4;
  text-wrap: balance;
}
.histoire-timeline li.now .t-event { color: var(--accent); }

.histoire-text p {
  color: var(--ink-mid);
  font-size: 1.06rem;
}
.histoire-text p + p { margin-top: 1.2em; }

.fondateurs {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  list-style: none;
  flex-wrap: wrap;
}
.fondateur {
  flex: 1;
  min-width: 180px;
  padding: 18px 20px;
  background: var(--paper);
  border-radius: var(--r-md);
  border-left: 2px solid var(--amber);
}
.fondateur--solo {
  flex: 0 1 auto;
  max-width: 360px;
}
.fondateur-name {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
}
.fondateur-role {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* ============================ JOCHEN ============================ */
.jochen {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.jochen-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 72px;
  align-items: start;
}
.jochen-photo {
  position: sticky;
  top: 120px;
  margin: 0;
  width: 260px;
}
.jochen-photo img {
  width: 260px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: var(--r-md);
  filter: saturate(0.92) contrast(1.02);
  box-shadow: var(--shadow-1);
  display: block;
}
.jochen-photo figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  text-align: center;
}
.jochen-text { font-size: 1.04rem; color: var(--ink-mid); }
.jochen-text p { line-height: 1.65; }
.jochen-text p + p { margin-top: 1.2em; }
.jochen-text .section-title { margin-bottom: 36px; }

.jochen-lede {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 28px !important;
}

.jochen-anchor {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: 32px 0 !important;
}

.jochen-couplet {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  padding-left: 24px;
  border-left: 2px solid var(--amber);
}
.jochen-couplet span { color: var(--ink-mid); }

.jochen-boussole-intro {
  margin-top: 2em !important;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}

.jochen-boussole {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 24px 0 32px;
  border-top: 1px solid var(--line);
}
.jochen-boussole li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.jochen-boussole em {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.015em;
}
.jochen-boussole span {
  font-size: 0.98rem;
  color: var(--ink-mid);
  line-height: 1.55;
}

.jochen-closing {
  margin-top: 2em !important;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--ink);
  line-height: 1.5;
}
.jochen-signature {
  margin-top: 1em !important;
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
}

/* ============================ CAFÉ DES ÉMOTIONS (entreprises) ============================ */
.cafe {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.cafe-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 72px;
  align-items: start;
}
.cafe-text p {
  color: var(--ink-mid);
  font-size: 1.04rem;
  line-height: 1.65;
}
.cafe-text p + p { margin-top: 1.2em; }
.cafe-lede {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.45rem !important;
  line-height: 1.4;
  color: var(--ink) !important;
  margin: 28px 0 36px !important;
}
.cafe-emphase {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem !important;
  color: var(--ink) !important;
  border-left: 2px solid var(--amber);
  padding: 16px 0 16px 24px;
  margin-top: 36px !important;
  margin-bottom: 36px !important;
}
.cafe-emphase em { color: var(--accent); }

.cafe-card {
  position: sticky;
  top: 120px;
  padding: 36px 32px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cafe-card-orn {
  width: 48px; height: 48px;
  color: var(--amber);
  align-self: flex-start;
  opacity: 0.65;
}
.cafe-card-title {
  font-size: 1.25rem;
  font-family: var(--display);
  font-style: italic;
  color: var(--ink);
  margin-top: 4px;
}
.cafe-card-text {
  font-size: 0.96rem;
  color: var(--ink-mid);
  line-height: 1.55;
  margin: 0;
}
.cafe-card .btn {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  word-break: break-all;
}
.cafe-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.cafe-details li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: baseline;
}
.cafe-detail-label {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.cafe-detail-value {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.4;
}

/* ============================ RÈGLES (Le pacte) ============================ */
/* Distinctive light palette to break from the beige and invite reading:
   - section painted in a pale sage wash
   - rules become floating cream cards with soft shadow
   - rotating accent dot per rule, in 3 brand tones
*/
.regles {
  background:
    radial-gradient(900px 500px at 85% 0%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 60%),
    radial-gradient(700px 600px at 10% 100%, color-mix(in srgb, #7a8f6f 12%, transparent), transparent 65%),
    #ECEFE4;
  position: relative;
}
body[data-palette="sombre"] .regles {
  background:
    radial-gradient(900px 500px at 85% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(700px 600px at 10% 100%, color-mix(in srgb, #43544a 35%, transparent), transparent 65%),
    #1A1F18;
}
.regles .section-head { margin-bottom: 64px; }

.regles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  border: none;
  padding: 0;
  margin: 0;
}
.regle {
  position: relative;
  padding: 36px 32px 34px;
  background: #FAF6EA;          /* warm cream, lighter than the sage wash */
  border: 1px solid color-mix(in srgb, #7a8f6f 18%, transparent);
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 6px 14px -10px rgba(29, 20, 10, 0.18),
    0 14px 28px -20px rgba(29, 20, 10, 0.12);
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
body[data-palette="sombre"] .regle {
  background: #232820;
  border-color: color-mix(in srgb, #c5d4b8 18%, transparent);
}
.regle::before {
  content: "";
  position: absolute;
  top: 22px; right: 26px;
  width: 9px; height: 9px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
/* Rotate dot color across the 6 rules so the grid breathes */
.regle:nth-child(2)::before { background: #7a8f6f; box-shadow: 0 0 0 4px color-mix(in srgb, #7a8f6f 18%, transparent); }
.regle:nth-child(3)::before { background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 18%, transparent); }
.regle:nth-child(5)::before { background: #7a8f6f; box-shadow: 0 0 0 4px color-mix(in srgb, #7a8f6f 18%, transparent); }
.regle:nth-child(6)::before { background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 18%, transparent); }

.regle:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 10px 22px -12px rgba(29, 20, 10, 0.22),
    0 22px 40px -22px rgba(107, 31, 46, 0.22);
}
.regle-num {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-size: 2.1rem;
  color: var(--accent);
  margin-bottom: 18px;
  padding-bottom: 6px;
  line-height: 1;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}
.regle-name {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.regle-text {
  font-size: 0.98rem;
  color: var(--ink-mid);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ============================ TEMPÊTE ============================ */
.tempete {
  background: var(--silence);
  color: #F2E6CC;
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.tempete-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--silence-amber);
}
.tempete-bg svg {
  width: 100%; height: 100%;
  animation: breathe 9s ease-in-out infinite;
  transform-origin: center;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.06); opacity: 1; }
}
.tempete-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.tempete-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: #F2E6CC;
  margin: 16px 0 36px;
  line-height: 1.05;
}
.tempete-title em {
  color: var(--silence-amber);
  font-family: var(--display);
}
.tempete-lede {
  font-size: 1.2rem;
  color: rgba(242, 230, 204, 0.7);
  line-height: 1.6;
  margin-bottom: 56px;
}
.tempete-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.4;
  color: var(--silence-amber);
  margin: 56px auto;
  max-width: 600px;
  padding: 0 16px;
  text-wrap: balance;
  position: relative;
}
.tempete-quote::before,
.tempete-quote::after {
  content: "";
  display: block;
  width: 36px; height: 1px;
  margin: 24px auto;
  background: var(--silence-amber);
  opacity: 0.4;
}
.tempete-body {
  font-size: 1.08rem;
  color: rgba(242, 230, 204, 0.7);
  line-height: 1.7;
  margin-bottom: 56px;
}
.tempete-body em {
  display: inline-block;
  margin-top: 0.4em;
  color: var(--silence-amber);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15em;
}
.tempete-cta { margin-top: 48px; }
.tempete-cta-note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(217, 180, 122, 0.55);
}

/* ============================ POURQUOI ============================ */
.pourquoi {
  background: var(--bg);
}
.pourquoi-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}
.reasons {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 18px;
  font-size: 1.1rem;
  color: var(--ink);
}
.reasons li {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.reasons li:last-child { border-bottom: none; }
.reasons-mark {
  font-family: var(--mono);
  color: var(--amber);
  font-weight: 500;
}

.pourquoi-right {
  padding: 40px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
  position: relative;
}
.not-title {
  font-size: 1.45rem;
  margin-bottom: 24px;
  color: var(--ink);
}
.not-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.not-list li {
  display: flex; gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-mid);
  align-items: baseline;
}
.not-mark {
  font-family: var(--mono);
  color: var(--ink-soft);
}
.not-foot {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  line-height: 1.55;
}

/* ============================ DATES ============================ */
.dates {
  background: var(--paper);
}
.sessions {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.sessions:has(.sessions-empty) { grid-template-columns: 1fr; }

.sessions-empty {
  grid-column: 1 / -1;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  padding: 44px 32px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-1);
}
.sessions-empty-mark {
  color: var(--accent);
  opacity: 0.4;
  display: inline-flex;
}
.sessions-empty-mark svg { width: 54px; height: 54px; }
.sessions-empty-title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 4px 0 2px;
}
.sessions-empty-title em {
  font-style: italic;
  color: var(--accent);
}
.sessions-empty-text {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink-mid);
  max-width: 46ch;
  text-wrap: pretty;
  margin: 0 0 14px;
}
.session {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: transform var(--t-quick), box-shadow var(--t-quick);
}
.session:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }

.session-date {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 18px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  min-width: 92px;
  text-align: center;
}
.session-day {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.session-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  margin: 4px 0;
}
.session-month {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mid);
}

.session-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--bg-2);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.session-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.session-meta {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.session-text {
  font-size: 0.98rem;
  color: var(--ink-mid);
  line-height: 1.55;
  margin-bottom: 20px;
}

.dates-foot {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ── Calendly inline widget container ── */
.calendly-frame {
  margin: 48px 0 32px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.calendly-frame-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
  margin: 0;
  flex-wrap: wrap;
}
.calendly-frame-header .eyebrow { margin-bottom: 0; }
.calendly-frame-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-mid);
}
.calendly-frame .calendly-inline-widget {
  min-width: 100%;
  width: 100%;
  height: 1100px;
  display: block;
}
.calendly-noscript {
  padding: 24px 28px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mid);
}

/* ============================ COMMUNAUTÉ ============================ */
.communaute {
  background: var(--bg);
}
.communaute-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 72px;
  align-items: stretch;
}
.communaute-left p {
  font-size: 1.06rem;
  color: var(--ink-mid);
}

.comm-links {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 8px;
  margin-top: 36px;
}
.comm-link {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: border-color var(--t-quick), transform var(--t-quick);
  align-items: center;
}
a.comm-link:hover {
  border-color: var(--amber);
  transform: translateX(4px);
  text-decoration: none;
}
.comm-link-mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  width: 24px;
  flex-shrink: 0;
}
.comm-link-body { display: flex; flex-direction: column; gap: 2px; }
.comm-link-title {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}
.comm-link-sub {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.communaute-card {
  padding: 44px 36px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  box-shadow: var(--shadow-1);
  position: relative;
}
.card-orn {
  width: 60px; height: 60px;
  color: var(--amber);
  margin-bottom: 8px;
}
.card-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: balance;
}
.card-foot {
  font-size: 1rem;
  color: var(--ink-mid);
}
.card-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  background: var(--bg-2);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 8px 0 12px;
}

/* ============================ FOOTER ============================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 0.92rem;
  color: var(--ink-mid);
  position: relative; z-index: 2;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
}
.footer-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  display: block;
}
.footer-tag {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-top: 2px;
}
.footer-links {
  display: flex; gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
}
.footer-links a:hover { color: var(--accent); }

/* ============================ BACK TO TOP ============================ */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  color: var(--ink-mid);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow: 0 6px 18px rgba(60, 38, 16, 0.10);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease,
              color var(--t-quick), border-color var(--t-quick),
              background-color var(--t-quick);
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--paper);
}
@media (max-width: 560px) {
  .to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
}

/* ============================ SUBSTACK ============================ */
.substack {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.substack-inner {
  max-width: 760px;
  text-align: center;
  position: relative;
  padding-top: 24px;
  padding-bottom: 24px;
}
.substack-inner .eyebrow { justify-content: center; }

.substack-ornament {
  display: flex;
  justify-content: center;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 28px;
}
.substack-ornament svg { width: 70px; height: 70px; }

.substack-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: var(--ink);
  margin: 14px auto 36px;
  max-width: 16ch;
}
.substack-title em {
  font-style: italic;
  color: var(--accent);
}

.substack-quote {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 56ch;
  margin: 0 auto;
  font-style: normal;
  text-wrap: pretty;
  position: relative;
  padding: 0 18px;
}
.substack-quote::before,
.substack-quote::after {
  font-family: var(--display);
  color: var(--accent);
  opacity: 0.55;
  font-size: 1.6em;
  line-height: 0.6;
  position: relative;
  top: 0.18em;
}
.substack-quote::before { content: "« "; margin-right: 2px; }
.substack-quote::after  { content: " »"; margin-left: 2px; }
.substack-quote em {
  font-style: italic;
  color: var(--ink);
}

.substack-sign {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 18px;
  letter-spacing: 0.01em;
}

.substack-cta-group {
  margin-top: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.substack-arrow {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}
.substack-handle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color var(--t-quick), border-color var(--t-quick);
}
.substack-handle:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

@media (max-width: 560px) {
  .substack-inner { padding-left: 8px; padding-right: 8px; }
  .substack-quote { padding: 0; }
}

/* ============================ CONTACT ============================ */
.contact {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
}
.contact-inner {
  max-width: 760px;
  text-align: center;
  position: relative;
  padding-top: 24px;
  padding-bottom: 24px;
}
.contact-inner .eyebrow { justify-content: center; }

.contact-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: var(--ink);
  margin: 14px auto 28px;
  max-width: 16ch;
}
.contact-title em {
  font-style: italic;
  color: var(--accent);
}
.contact-lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 56ch;
  margin: 0 auto 36px;
  text-wrap: pretty;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 540px;
  border-top: 1px solid var(--line-soft);
  text-align: left;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.contact-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-value {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-quick), border-color var(--t-quick);
}
.contact-value:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

@media (max-width: 560px) {
  .contact-inner { padding-left: 8px; padding-right: 8px; }
  .contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 4px;
  }
}

/* ============================ TEMPÊTE OVERLAY ============================ */
.tempete-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  background: #0A0805;
  color: #F2E6CC;
  display: flex;
  align-items: center;
  justify-content: center;
  /* top padding leaves room for the exit button; bottom honors iOS safe area */
  padding: 72px 24px 32px;
  padding-top: max(72px, env(safe-area-inset-top, 24px) + 56px);
  padding-bottom: max(32px, env(safe-area-inset-bottom, 0px) + 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  /* allow scroll on short viewports (mobile landscape, small laptops) */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.tempete-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
/* The hidden attribute must always win — .tempete-final sets display:flex,
   which would otherwise override the UA's [hidden] { display:none } */
.tempete-overlay [hidden] { display: none !important; }
.tempete-overlay-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  margin: auto;
}
/* Active panel wrapper — same column layout as the overlay inner,
   so the circle stack, instruction and progress bar stay centered */
#tempete-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 40px;
}

.tempete-circle-stack {
  position: relative;
  /* Use vmin so the stack always fits, even on short viewports */
  width: min(520px, 78vmin);
  height: min(520px, 78vmin);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Shrink the inner orb proportionally on small screens too */
@media (max-width: 560px) {
  .tempete-orb { width: 150px; height: 150px; }
  .tempete-overlay-inner, #tempete-active { gap: 28px; }
  .tempete-overlay { padding-left: 16px; padding-right: 16px; }
}
.tempete-circle {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(217, 180, 122, 0.4);
  border-radius: 50%;
  transition: transform 4s cubic-bezier(0.45, 0, 0.55, 1), opacity 4s ease;
  transform: scale(0.3);
  opacity: 0.0;
}
.tempete-overlay.is-open .tempete-circle--1 { transform: scale(0.65); opacity: 0.55; transition-duration: 4s; }
.tempete-overlay.is-open .tempete-circle--2 { transform: scale(0.82); opacity: 0.4; transition-duration: 5s; }
.tempete-overlay.is-open .tempete-circle--3 { transform: scale(0.98); opacity: 0.28; transition-duration: 6s; }
.tempete-overlay.phase-inhale .tempete-circle--1 { transform: scale(0.95); opacity: 0.85; }
.tempete-overlay.phase-inhale .tempete-circle--2 { transform: scale(1.05); opacity: 0.55; }
.tempete-overlay.phase-inhale .tempete-circle--3 { transform: scale(1.15); opacity: 0.38; }
.tempete-overlay.phase-hold .tempete-circle--1 { transform: scale(0.95); opacity: 0.85; }
.tempete-overlay.phase-hold .tempete-circle--2 { transform: scale(1.05); opacity: 0.55; }
.tempete-overlay.phase-hold .tempete-circle--3 { transform: scale(1.15); opacity: 0.38; }
.tempete-overlay.phase-exhale .tempete-circle--1 { transform: scale(0.6); opacity: 0.45; transition-duration: 6s; }
.tempete-overlay.phase-exhale .tempete-circle--2 { transform: scale(0.78); opacity: 0.32; transition-duration: 6s; }
.tempete-overlay.phase-exhale .tempete-circle--3 { transform: scale(0.96); opacity: 0.22; transition-duration: 6s; }

.tempete-orb {
  position: relative;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #F2E6CC, #D9B47A 60%, #8C6A3C 100%);
  box-shadow: 0 0 140px rgba(217, 180, 122, 0.45);
  z-index: 2;
}

.tempete-instruction {
  font-family: "Instrument Serif", "Newsreader", serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  letter-spacing: -0.012em;
  color: #F2E6CC;
  min-height: 1.5em;
  text-wrap: balance;
  transition: opacity 1.2s ease;
}

.tempete-progress {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 100%; max-width: 320px;
}
.tempete-progress-bar {
  width: 100%; height: 2px;
  background: rgba(217, 180, 122, 0.15);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.tempete-progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  background: rgba(217, 180, 122, 0.75);
  /* No transition — driven by RAF (~60Hz), so it flows smoothly already. */
}
.tempete-count {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(217, 180, 122, 0.55);
}

.tempete-exit {
  position: absolute;
  top: 24px; right: 24px;
  background: transparent;
  border: 1px solid rgba(217, 180, 122, 0.3);
  color: rgba(217, 180, 122, 0.7);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--t-quick);
}
.tempete-exit:hover {
  border-color: rgba(217, 180, 122, 0.7);
  color: #F2E6CC;
}

.tempete-final {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  opacity: 0;
  animation: fade-in 1.2s ease 0.3s forwards;
}
@keyframes fade-in { to { opacity: 1; } }
/* Final-Block: feste Maße, unabhängig vom responsiven Live-Orb */
#tempete-end .tempete-circle-stack { width: 320px; height: 320px; }
#tempete-end .tempete-orb { width: 240px; height: 240px; }
.tempete-final-accent { color: #D9B47A; font-style: italic; }
.tempete-final-text {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  color: #F2E6CC;
  text-wrap: balance;
  max-width: 560px;
  line-height: 1.4;
}
.tempete-final-sub {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(217, 180, 122, 0.6);
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 960px) {
  body { font-size: 17px; }
  section { padding: 80px 0; }
  /* Hide desktop links on tablet/mobile — burger handles navigation, CTA stays */
  .nav-links li:not(:last-child) { display: none; }
  /* Push the lone CTA towards the right edge so it sits near the burger,
     not floating in the middle of the bar */
  .nav-links { margin-left: auto; gap: 0; }
  /* Show burger + drawer infrastructure */
  .nav-burger      { display: inline-flex; }
  .mobile-menu     { display: block; }
  .mobile-menu-scrim { display: block; pointer-events: none; }
  body.mobile-menu-open .mobile-menu-scrim { pointer-events: auto; }
  .hero-grid,
  .experience-grid,
  .histoire-grid,
  .jochen-grid,
  .pourquoi-grid,
  .cafe-grid,
  .communaute-grid { grid-template-columns: 1fr; gap: 56px; }
  .jochen-photo { position: static; width: 100%; max-width: 280px; margin: 0 auto; }
  .jochen-photo img { width: 100%; }
  .cafe-card { position: static; }
  .histoire-stats { flex-direction: row; flex-wrap: wrap; }
  .histoire-stats .stat { flex: 1; min-width: 200px; }
  .histoire-since { flex-basis: 100%; }
  .histoire-timeline { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
  .histoire-timeline::before { display: none; }
  .histoire-timeline li { padding-bottom: 0; padding-left: 22px; }
  .histoire-timeline li::after { bottom: auto; top: 4px; left: 0; }
  .regles-grid { grid-template-columns: 1fr 1fr; }
  .sessions { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 240px; margin: 0 auto; }
  .emotion:nth-child(odd) { margin-left: 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  /* Tight nav row: logo + CTA + burger must fit even at 320px wide */
  .nav-inner { padding: 0 14px; gap: 8px; }
  .nav-burger { margin-left: 0; flex-shrink: 0; }

  /* Compact nav on small screens — CTA on one line, never clipped */
  .nav-links { gap: 0; flex-shrink: 0; }
  .nav-cta {
    /* Hide the long original label via a 0-sized text node, show short label in ::after */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 13px !important;
    font-size: 0 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
  }
  .nav-cta::after {
    content: "Participer";
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FAF4E6;
  }

  /* Compact logo — full name "Bistro des Émotions" must still fit
     next to the CTA and the burger on a 320px-wide screen */
  .logo-text { font-size: 13px; letter-spacing: -0.005em; }
  .nav-logo { gap: 6px; }
  .nav-logo .logo-mark svg { width: 18px; height: 18px; }

  .hero { padding-top: 84px; }
  .regles-grid { grid-template-columns: 1fr; }
  .session { grid-template-columns: 1fr; }
  .session-date { flex-direction: row; gap: 8px; min-width: 0; }
  .pourquoi-right { padding: 28px; }
  .communaute-card { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
