/* Club Nonchalance — maquette dans l'esprit du site Ranko (coins arrondis, titres animés). */

/* police du club (Behind The Nineties), fournie par Romain */
@font-face { font-family: "Behind The Nineties"; src: url("/fonts/Behind-The-Nineties-It.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Behind The Nineties"; src: url("/fonts/Behind-The-Nineties-Bd-It.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Behind The Nineties"; src: url("/fonts/Behind-The-Nineties-Xbd-It.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Behind The Nineties"; src: url("/fonts/Behind-The-Nineties-Blk-It.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Behind The Nineties"; src: url("/fonts/Behind-The-Nineties-Bd.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #f4f2ec;           /* papier chaud */
  --ink: #141414;
  --blue: #1369ed;         /* bleu du club (logo, titres) */
  --blue-ink: #0d4fb8;
  --muted: rgba(20, 20, 20, .58);
  --line: rgba(20, 20, 20, .14);
  --card: #e9e6dd;
  --radius: 18px;
  --g: 16px;
  --gap: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Behind The Nineties", Georgia, serif;
  --sans: "Courier Prime", "Courier New", monospace;   /* comme le site d'origine : tout le texte en Courier */
  --mono: "Courier Prime", "Courier New", monospace;
  --t1: 16px;
  --t2: clamp(19px, 1.6vw, 26px);
  --t3: clamp(26px, 2.9vw, 52px);
  --t4: clamp(38px, 5.2vw, 96px);
  --t5: clamp(50px, 8.6vw, 160px);
}
@media (min-width: 768px) { :root { --g: 24px; --gap: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 500; font-size: var(--t1); line-height: 1.45;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, iframe { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
p, li { text-wrap: pretty; }
::selection { background: var(--blue); color: #fff; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: -.01em; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: .01em; }
.blue { color: var(--blue); }

/* ------------------------------------------------ header */
.hd {
  position: fixed; z-index: 50; top: 10px; left: var(--g); right: var(--g);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 16px;
  background: rgba(244, 242, 236, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(20, 20, 20, .06);
  transition: transform .5s var(--ease);
}
.hd.is-hidden { transform: translate3d(0, calc(-100% - 20px), 0); }
.hd-logo img { height: clamp(18px, 1.7vw, 24px); width: auto; }
.nav { display: none; position: relative; gap: 2px; padding: 4px; border-radius: 999px; background: var(--blue); }
.nav a { position: relative; z-index: 1; padding: 8px 15px; border-radius: 999px; color: #fff; font-size: 15px; line-height: 1.2; transition: color .35s var(--ease); }
/* le texte devient bleu seulement là où se trouve la pastille blanche (jamais bleu sur bleu) */
.nav a.is-hot { color: var(--blue); }
html:not(.js) .nav a.is-on { color: var(--blue); }
.nav-blob { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff; opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.hd-cta { display: none; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 700; line-height: 1.1; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--blue); }
.btn.blue-btn { background: var(--blue); }
.btn.blue-btn:hover { background: var(--ink); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--ink); color: #fff; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.burger { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; position: relative; transition: transform .35s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-5px) rotate(-45deg); }
.mmenu {
  position: fixed; z-index: 40; inset: 0; padding: 90px var(--g) var(--g); background: var(--blue); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0 round 0 0 24px 24px); transition: clip-path .7s var(--ease);
}
.menu-open .mmenu { clip-path: inset(0 0 0 0 round 0); }
.mmenu ul a { display: block; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(44px, 12vw, 80px); line-height: 1.08; letter-spacing: -.02em; }
.mmenu ul li { overflow: hidden; }
.mmenu ul a span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 50ms + .1s); }
.menu-open .mmenu ul a span { transform: none; }
@media (min-width: 1000px) {
  .nav, .hd-cta { display: flex; }
  .burger, .mmenu { display: none; }
}

/* ------------------------------------------------ title animation (comme Ranko : chaque mot monte de son masque) */
.js [data-split] .w { display: inline-block; vertical-align: top; clip-path: inset(-.3em -.3em -.25em -.3em); }
.js [data-split] .w > span { display: inline-block; transform: translate3d(0, calc(100% + .3em), 0) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }

.js [data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* images : coins arrondis, apparition par le bas, léger zoom au survol */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--card); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .8s var(--ease); }
.js .media[data-reveal] img { transform: scale(1.12); }
.js .media[data-reveal].is-in img { transform: none; }
a:hover .media img, .media.zoom:hover img { transform: scale(1.04) !important; }

/* ------------------------------------------------ layout */
main { padding-top: 84px; }
.sec { padding: clamp(56px, 7vw, 120px) var(--g); }
.sec-hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: clamp(20px, 2.6vw, 40px); }
.sec-t { font-size: var(--t4); line-height: .98; color: var(--blue); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.lead { font-size: var(--t2); line-height: 1.35; max-width: 34em; font-weight: 500; }
.link-u { position: relative; display: inline-block; padding-bottom: 3px; font-weight: 700; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform-origin: right; }
.link-u:hover::after { animation: redraw .8s var(--ease); }
@keyframes redraw { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ------------------------------------------------ home hero */
.hero { padding: 8px var(--g) 0; }
.hero-frame { position: relative; container-type: inline-size; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 1500 / 844; width: 100%; background: #111; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: hero-in 2.2s var(--ease) forwards; }
@keyframes hero-in { to { transform: scale(1); } }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); pointer-events: none; }
.hero-badge { position: absolute; z-index: 2; left: 50%; top: 50%; width: 27cqw; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.hero-badge .ring { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.hero-badge text { font-family: var(--mono); font-size: 8.4px; fill: #fff; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-cap { position: absolute; z-index: 2; left: clamp(16px, 2.4vw, 36px); right: clamp(16px, 2.4vw, 36px); bottom: clamp(16px, 2.4vw, 32px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; color: #fff; }
.hero-cap .mono { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.hero-t { padding: clamp(40px, 6vw, 96px) var(--g) 0; }
.hero-t h1 { font-size: var(--t5); line-height: .95; color: var(--blue); max-width: 13em; letter-spacing: -.035em; }
.hero-t h1 em { color: var(--ink); }
.hero-t .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(24px, 3vw, 44px); }

/* prochain événement */
.next { display: grid; gap: var(--gap); }
.next-card { display: grid; gap: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--blue); color: #fff; }
.next-card .media { border-radius: 0; aspect-ratio: 16 / 9; background: #0b3a85; }
.next-body { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(20px, 2.6vw, 40px); }
.next-body h3 { font-size: var(--t4); line-height: .98; }
.next-meta { display: grid; gap: 6px; font-family: var(--mono); font-size: 16px; }
.next-body .btn { align-self: flex-start; }
@media (min-width: 900px) { .next-card { grid-template-columns: 1.25fr 1fr; } .next-card .media { aspect-ratio: auto; min-height: 100%; } }

/* trois piliers */
.pillars { display: grid; gap: var(--gap); }
.pillar { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(19, 105, 237, .55); }
.pillar .media { border-radius: 0; aspect-ratio: 4 / 5; }
.pillar-b { display: grid; gap: 12px; padding: 20px 20px 24px; }
.pillar-b h3 { font-size: var(--t3); color: var(--blue); line-height: 1; }
.pillar-b p { color: var(--muted); }
.pillar-b .link-u { justify-self: start; margin-top: 6px; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

/* bande de photos qui défile */
.strip { overflow: hidden; padding: 0 0 clamp(20px, 3vw, 40px); }
.strip-track { display: flex; gap: var(--gap); width: max-content; animation: marquee 60s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip .media { width: clamp(200px, 22vw, 340px); aspect-ratio: 3 / 4; flex: none; }
.strip .media:nth-child(3n+2) { aspect-ratio: 1; align-self: center; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* grand énoncé */
.statement { padding: clamp(70px, 10vw, 180px) var(--g); text-align: center; }
.statement p { font-size: var(--t4); line-height: 1.04; max-width: 17em; margin: 0 auto; }
.statement p .blue { font-family: var(--serif); font-style: italic; font-weight: 700; }

/* rejoindre */
.join { margin: 0 var(--g); padding: clamp(28px, 5vw, 80px); border-radius: calc(var(--radius) + 8px); background: var(--ink); color: #fff; display: grid; gap: 32px; }
.join h2 { font-size: var(--t4); line-height: .98; }
.join h2 .serif { color: #6ea4ff; }
.join p { color: rgba(255,255,255,.72); font-size: var(--t2); max-width: 30em; }
.join ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.join ul li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-family: var(--mono); font-size: 14px; }
.form { display: grid; gap: 10px; align-self: end; }
.form input { width: 100%; padding: 16px 18px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 17px; outline: none; transition: background-color .3s; }
.form input::placeholder { color: rgba(255,255,255,.5); }
.form input:focus { background: rgba(255,255,255,.18); }
.form .btn { justify-content: center; padding: 16px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.form small { color: rgba(255,255,255,.5); font-family: var(--mono); }
@media (min-width: 900px) { .join { grid-template-columns: 1.3fr 1fr; align-items: end; } }

/* ------------------------------------------------ pages intérieures */
.page-hd { padding: clamp(40px, 6vw, 100px) var(--g) clamp(28px, 4vw, 60px); display: grid; gap: 20px; }
.page-hd h1 { font-size: var(--t5); line-height: .95; color: var(--blue); }
.page-hd .lead { color: var(--muted); }

.ev-list { display: grid; gap: var(--gap); padding: 0 var(--g); }
.ev-row { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 12px; border-radius: calc(var(--radius) + 4px); background: #fff; transition: background-color .45s var(--ease), color .45s var(--ease); }
.ev-row:hover { background: var(--blue); color: #fff; }
.ev-row:hover .mono, .ev-row:hover .ev-place { color: rgba(255,255,255,.8); }
.ev-row .media { aspect-ratio: 16 / 9; }
.ev-info { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 6px 6px 8px; }
.ev-date { display: flex; align-items: baseline; gap: 14px; }
.ev-day { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: var(--t4); line-height: .9; color: var(--blue); transition: color .45s; }
.ev-row:hover .ev-day { color: #fff; }
.ev-row h3 { font-size: var(--t3); line-height: 1.02; font-weight: 700; letter-spacing: -.02em; }
.ev-place { color: var(--muted); }
.ev-tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--ink); font-family: var(--mono); font-size: 13px; }
@media (min-width: 800px) { .ev-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }

.past { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.past a { display: grid; gap: 10px; }
.past .media { aspect-ratio: 1; }
.past h3 { font-size: 17px; font-weight: 700; line-height: 1.2; }
.past .mono { font-size: 13px; color: var(--muted); }
@media (min-width: 800px) { .past { grid-template-columns: repeat(4, 1fr); } }

/* détail */
.detail { display: grid; gap: clamp(24px, 4vw, 60px); padding: 0 var(--g); }
.detail .media { aspect-ratio: auto; }
.detail .media img { height: auto; }
.facts { display: grid; gap: 2px; border-radius: var(--radius); overflow: hidden; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; background: #fff; }
.facts dt { font-family: var(--mono); color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 700; }
.prose { display: grid; gap: 1em; font-size: var(--t2); line-height: 1.5; max-width: 34em; }
.prose h2 { font-size: var(--t3); color: var(--blue); font-family: var(--serif); font-style: italic; font-weight: 700; margin-top: .6em; line-height: 1.05; }
.prose ul { display: grid; gap: 8px; }
.prose li { display: flex; gap: 12px; }
.prose li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--blue); }
.prose .src { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.prose figure { margin: .6em 0; }
.prose figure .media img { height: auto; }
.sticky { align-self: start; display: grid; gap: 14px; }
@media (min-width: 900px) { .detail { grid-template-columns: 1fr 1fr; } .sticky { position: sticky; top: 96px; } }

/* articles */
.cards { display: grid; gap: var(--gap); padding: 0 var(--g); }
.card { display: flex; flex-direction: column; border-radius: calc(var(--radius) + 2px); overflow: hidden; background: #fff; }
.card .media { border-radius: 0; aspect-ratio: 4 / 3; }
.card-b { display: grid; gap: 10px; padding: 20px; }
.card-b h3 { font-size: var(--t3); line-height: 1.02; font-weight: 700; letter-spacing: -.02em; }
.card-b .mono { color: var(--muted); font-size: 14px; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* balados */
.pods { display: grid; gap: var(--gap); padding: 0 var(--g); }
.pod { display: grid; gap: 14px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .5s; opacity: .9; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transition: transform .45s var(--ease); }
.yt:hover .play { transform: scale(1.12); }
.yt .play::before { content: ""; margin-left: 5px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pod h3 { font-size: var(--t2); font-weight: 700; line-height: 1.15; }
.pod p { color: var(--muted); }
.pod .mono { color: var(--blue); font-size: 14px; }
@media (min-width: 800px) { .pods { grid-template-columns: repeat(2, 1fr); row-gap: clamp(32px, 4vw, 60px); } }

/* galerie */
.gals { display: grid; gap: var(--gap); padding: 0 var(--g); }
.gal { position: relative; display: block; border-radius: calc(var(--radius) + 4px); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; }
.gal .media { position: absolute; inset: 0; border-radius: 0; }
.gal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6)); }
.gal-cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 4px; }
.gal-cap h3 { font-size: var(--t3); line-height: 1; font-family: var(--serif); font-style: italic; font-weight: 700; }
.gal-cap .mono { font-size: 14px; opacity: .85; }
@media (min-width: 700px) { .gals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .gals { grid-template-columns: repeat(3, 1fr); } }
.masonry { columns: 2; column-gap: var(--gap); padding: 0 var(--g); }
.masonry .media { margin-bottom: var(--gap); break-inside: avoid; cursor: zoom-in; }
.masonry .media img { height: auto; }
@media (min-width: 900px) { .masonry { columns: 3; } }
@media (min-width: 1400px) { .masonry { columns: 4; } }

.lb { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 60px var(--g); background: rgba(10, 10, 10, .92); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb img { max-height: 100%; width: auto; border-radius: 14px; transform: scale(.96); transition: transform .5s var(--ease); }
.lb.is-open img { transform: none; }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 20px; cursor: pointer; }
.lb .x { top: 14px; right: 14px; } .lb .pv { left: 14px; top: 50%; } .lb .nx { right: 14px; top: 50%; }

/* infos / coaching */
.split { display: grid; gap: clamp(24px, 4vw, 60px); padding: 0 var(--g); }
.split .media { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } .split.rev > :first-child { order: 2; } }
.quotes { display: grid; gap: var(--gap); padding: 0 var(--g); }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(22px, 2.6vw, 36px); border-radius: var(--radius); background: #fff; }
.quote blockquote { font-size: 18px; line-height: 1.5; }
.quote blockquote::before { content: "«"; display: block; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 64px; line-height: .6; color: var(--blue); margin-bottom: 14px; }
.quote cite { font-style: normal; font-family: var(--mono); color: var(--blue); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------ pied de page */
.ft { margin: clamp(60px, 8vw, 120px) var(--g) 0; padding: clamp(24px, 4vw, 56px); border-radius: calc(var(--radius) + 8px) calc(var(--radius) + 8px) 0 0; background: var(--blue); color: #fff; display: grid; gap: 40px; overflow: hidden; }
.ft-big { font-family: var(--serif); font-style: italic; font-weight: 800; font-size: clamp(60px, 15.5vw, 300px); line-height: .82; letter-spacing: -.04em; white-space: nowrap; }
.ft-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
.ft-grid h4 { margin: 0 0 10px; font-family: var(--mono); font-weight: 400; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.ft-grid a { display: block; padding: 2px 0; font-weight: 700; }
.ft-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 13px; opacity: .7; }
@media (min-width: 900px) { .ft-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* bandeau maquette */
.proto { position: fixed; z-index: 60; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12px; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-split] .w > span, .js [data-reveal] { transform: none !important; opacity: 1 !important; }
}

/* téléphone : le bouton de l'en-tête vit dans le menu, la légende de la photo se cache */
.hd .hd-cta { display: none; }
@media (min-width: 1000px) { .hd .hd-cta { display: inline-flex; } }
@media (max-width: 640px) { .hero-cap { display: none; } .hd-logo img { height: 20px; } }

/* mêmes polices que le site d'origine : titres en Behind The Nineties (italique gras, bleu), texte en Courier */
h1, h2, h3, .sec-t, .ev-row h3, .card-b h3, .pod h3, .past h3, .join h2, .statement p, .next-body h3, .pillar-b h3 {
  font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: -.01em;
}
.hero-t h1, .statement p, .ev-row h3, .card-b h3, .pod h3, .past h3 { color: var(--blue); }
.hero-t h1 em { color: var(--ink); }
.join h2, .next-body h3 { color: #fff; }
.statement p .blue { color: var(--ink); }
.hero-t h1 { letter-spacing: -.01em; }
.ev-row:hover h3 { color: #fff; }
body { font-size: 17px; }

/* mêmes couleurs que le site d'origine : fond #fafafa, gris #dcdcdc, texte #1c1c1c, bleu #1369ed */
:root { --bg: #fafafa; --ink: #1c1c1c; --card: #dcdcdc; --muted: #5c5c5c; --line: #dcdcdc; --blue: #1369ed; }
.hd { background: rgba(250, 250, 250, .86); }
.statement { background: var(--card); margin: clamp(40px, 6vw, 90px) 0; }
.statement p .blue { color: var(--blue); }
.statement p { color: var(--blue); }
.join { background: var(--card); color: var(--ink); }
.join h2 { color: var(--blue); }
.join h2 .serif { color: var(--blue); }
.join p { color: var(--ink); }
.join ul li { background: #fff; color: var(--blue); }
.join .kicker { color: var(--muted) !important; }
.form input { background: #fff; color: var(--ink); }
.form input::placeholder { color: var(--muted); }
.form input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue); }
.form small { color: var(--muted); }
.ev-row, .pillar, .card, .quote { box-shadow: inset 0 0 0 1.5px var(--card); }
.ev-tag { background: var(--card); }
.mmenu, .nav, .burger, .ft, .next-card { background-color: var(--blue); }
.btn { background: var(--blue); color: #fff; }
.btn:hover, .btn.blue-btn:hover { background: #0b4fbf; }
.btn.light { background: #fff; color: var(--blue); }
.btn.light:hover { background: var(--card); color: var(--blue); }
/* les titres de l'accueil ont la même taille que « Sartorial, casual chic… » */
.hero-t h1 { font-size: var(--t4); line-height: 1.04; max-width: 17em; }
/* « Rejoignez le Club » : une bande grise pleine largeur, comme le site d'origine */
.join { margin: 0; border-radius: 0; background: var(--card); padding: clamp(56px, 8vw, 130px) var(--g); }
main > .join:last-child { margin-bottom: 0; }
main:has(> .join:last-child) + .ft { margin-top: 0; border-radius: 0; margin-left: 0; margin-right: 0; }
/* menu : texte en gras */
.nav a { font-weight: 700; }
/* grand titre de l'accueil centré */
.hero-t h1 { text-align: center; margin-left: auto; margin-right: auto; }
/* bouton « Rejoindre le Club » de l'en-tête en noir */
.hd .hd-cta { background: var(--ink); color: #fff; }
.hd .hd-cta:hover { background: var(--blue); }
/* flèches des boutons : une vraie flèche dessinée au lieu du caractère « → » de Courier, trop petit */
.arr {
  display: inline-block; flex: none; width: 18px; height: 12px; font-size: 0; vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h15.5M11.5 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h15.5M11.5 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* plus de flèches sur les boutons */
.arr { display: none !important; }

/* articles : une seule colonne de texte, sans la photo à côté */
.detail.detail-one { grid-template-columns: 1fr; justify-items: center; }
.detail-one .prose { max-width: 40em; }

/* article : la photo de couverture en haut, sous le titre */
.art-cover { padding: 0 var(--g) clamp(32px, 4vw, 64px); }
.art-cover .media { aspect-ratio: 21 / 9; max-height: 70svh; width: 100%; }

/* article : photo de couverture carrée, en entier, centrée sous le titre */
.art-cover .media { aspect-ratio: 1; width: min(640px, 100%); max-height: none; margin: 0 auto; }

/* accueil : la phrase de mission et le bouton centrés sous le titre */
.hero-t .row { flex-direction: column; align-items: center; text-align: center; }
.hero-t .row .lead { margin: 0 auto; }

/* visionneuse : la photo tient toujours dans la hauteur de l’écran */
.lb img { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 120px); object-fit: contain; }

/* tous les boutons en pilule, y compris les anciens liens soulignés (« Lui écrire », « Tous les événements »…) */
.btn, .form .btn { border-radius: 999px; }
.link-u {
  display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 700; line-height: 1.2; white-space: nowrap;
  transition: background-color .35s var(--ease);
}
.link-u::after { content: none; }
.link-u:hover, a:hover .link-u { background: #0b4fbf; }
.ft .link-u { background: #fff; color: var(--blue); }

/* texte des boutons centré sur la hauteur des majuscules : les jambages (J, g, p…) dépassent sans décentrer le mot */
.btn, .link-u, .nav a, .ev-tag, .join ul li, .kicker {
  text-box: trim-both cap alphabetic;
}
.btn, .link-u { padding-top: 14px; padding-bottom: 14px; }
.nav a { padding-top: 11px; padding-bottom: 11px; }
.ev-tag, .join ul li { padding-top: 9px; padding-bottom: 9px; }
/* le rognage du texte ne marche pas dans un bouton en flex : les boutons passent en bloc en ligne
   (il n'y a plus de flèche à aligner), et le texte est centré sur la hauteur des majuscules */
.btn, .link-u, .hd .hd-cta { display: inline-block; text-align: center; }
@media (max-width: 999px) { .hd .hd-cta { display: none; } }
.btn, .link-u, .hd .hd-cta { padding-top: 16px; padding-bottom: 16px; }

/* titres : on laisse la place des accents sur les majuscules (À, É…) pour qu'ils ne mangent pas le texte au-dessus */
.kicker { text-box: normal; display: inline-flex; margin-bottom: 6px; }
.sec-t, .page-hd h1, .hero-t h1, .next-body h3, .join h2, .statement p { padding-top: .2em; }
.js [data-split] .w { clip-path: inset(-.6em -.3em -.3em -.3em); }

/* règle générale : au survol, un bouton inverse ses couleurs (fond ↔ texte), avec un contour pour garder sa forme */
.btn, .link-u, .hd .hd-cta { border: 1.5px solid currentColor; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn, .btn.blue-btn, .link-u { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn:hover, .btn.blue-btn:hover, .link-u:hover, a:hover .link-u { background: #fff; color: var(--blue); border-color: var(--blue); }
.hd .hd-cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.hd .hd-cta:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn.light, .ft .link-u { background: #fff; color: var(--blue); border-color: #fff; }
.btn.light:hover, .ft .link-u:hover { background: var(--blue); color: #fff; border-color: #fff; }
.next-card .btn.light:hover { border-color: #fff; }

/* « Rejoignez le Club » : une tuile grise de la même largeur que la photo du haut, coins arrondis pareils */
.join { margin: 0 var(--g); border-radius: calc(var(--radius) + 6px); background: var(--card); }
main:has(> .join:last-child) + .ft { margin: clamp(60px, 8vw, 120px) var(--g) 0; border-radius: calc(var(--radius) + 8px) calc(var(--radius) + 8px) 0 0; }

/* « mais pas que ! » en bleu comme le reste du titre */
.hero-t h1 em { color: var(--blue); }

/* accueil : sections Événements / Articles / Balados — titre, texte et bouton, puis les tuiles */
.hsec-hd { display: grid; gap: 18px 48px; margin-bottom: clamp(24px, 3vw, 44px); }
.hsec-txt { display: grid; gap: 22px; justify-items: start; max-width: 40em; }
.hsec-txt p { font-size: var(--t2); line-height: 1.5; }
@media (min-width: 900px) { .hsec-hd { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.hcards { padding: 0; }
.ev-card .media { aspect-ratio: 16 / 9; }
.pod-card { cursor: default; }
.pod-card .yt { border-radius: 0; }
.hero-t .row { margin-top: clamp(20px, 2.4vw, 34px); }

/* bandes grises (« Notre mission… », « Sartorial… ») : des tuiles de la même largeur que la photo du haut */
.statement { margin: clamp(40px, 6vw, 90px) var(--g); border-radius: calc(var(--radius) + 6px); }

/* accueil : titre à gauche et bouton toujours à droite, texte sur toute la largeur en dessous */
.hsec-hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 18px; grid-template-columns: none; }
.hsec-hd .btn { margin-left: auto; }
.hsec-txt { display: block; max-width: none; margin: 0 0 clamp(24px, 3vw, 44px); font-size: var(--t2); line-height: 1.5; }

/* accueil : les tuiles passent en bleu au survol, comme la liste de la page Événements */
.hcards .card { transition: background-color .45s var(--ease), color .45s var(--ease); }
.hcards .card:hover { background: var(--blue); color: #fff; }
.hcards .card:hover h3, .hcards .card:hover .mono { color: #fff; }
.hcards .card:hover .mono { opacity: .85; }

/* tous les boutons ont exactement la même taille, où qu'ils soient (dans un texte, l'en-tête, un formulaire…) */
.btn, .link-u, .hd .hd-cta, .prose .link-u, .prose .btn, .form .btn, .ft .link-u, .ft .btn {
  font-family: var(--mono); font-size: 16px; font-weight: 700; letter-spacing: 0;
  padding: 16px 22px; line-height: 1.2;
}
.form .btn { border: 1.5px solid var(--blue); }
.form .btn:hover { border-color: var(--blue); }

/* échelle des titres au nombre d'or (×1,618 par cran à partir de 16 px), tailles données pour un écran de 1440 px :
   16 → 26 → 42 → 68 → 110 ; comme sur le site Ranko */
:root {
  --t3: clamp(26px, 2.917vw, 56px);    /*  42 — sous-titres, titres de tuile */
  --t4: clamp(34px, 4.722vw, 91px);    /*  68 — titres de section, grandes phrases */
  --t5: clamp(44px, 7.639vw, 147px);   /* 110 — titres de page */
}
:root { --t2: clamp(20px, 1.806vw, 30px); }   /* 26 — texte de lecture */

/* grandes phrases (titre d’accueil, « Notre mission… », « Sartorial… ») un cran sous les titres de section : 42 px pour 68 */
.hero-t h1, .statement p { font-size: var(--t3); line-height: 1.1; max-width: 22em; }

/* l’inverse : grandes phrases à 68 px, titres de section de l’accueil à 42 px */
.hero-t h1, .statement p { font-size: var(--t4); line-height: 1.04; max-width: 17em; }
.hsec .sec-t { font-size: var(--t3); }

/* grand titre de l’accueil dans une tuile grise, comme « Notre mission… » */
.hero-t { margin: clamp(40px, 6vw, 90px) var(--g) 0; padding: clamp(70px, 10vw, 170px) var(--g); background: var(--card); border-radius: calc(var(--radius) + 6px); text-align: center; }

/* accueil : textes sous les titres de section plus petits, même gris que le texte d’intro des pages */
.hsec-txt { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 60em; }

/* titres de section de l’accueil un peu plus grands : demi-cran du nombre d’or entre 42 et 68 (42 × √1,618 ≈ 53 px) */
.hsec .sec-t { font-size: clamp(30px, 3.71vw, 71px); }

/* « Rejoignez le Club » : même titre (53 px) et même texte (17 px, gris) que les sections de l’accueil */
.join h2 { font-size: clamp(30px, 3.71vw, 71px); }
.join p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.join .form small { font-size: 13px; }

/* titres de page (« Nos événements »…) à la même taille que le grand titre de l’accueil : 68 px */
.page-hd h1 { font-size: var(--t4); line-height: 1.04; }

/* texte sous les titres de page : comme sur l’accueil (17 px, gris) */
.page-hd .lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 60em; }

/* petits textes sous les titres un poil plus gros : demi-cran du nombre d’or au-dessus de 16 (16 × √1,618 ≈ 20 px), partout pareil */
.page-hd .lead, .hsec-txt, .join p { font-size: 20px; }

/* titres de section de l’accueil = titre de la page Événements (68), texte 20 px pareil */
.hsec .sec-t, .join h2 { font-size: var(--t4); line-height: 1.04; }

/* gros titrages (accueil) un demi-cran du nombre d’or plus gros (68 → 87), marges réduites (144 → 110) pour garder la taille des tuiles */
.hero-t h1, .statement p { font-size: clamp(40px, 6.04vw, 116px); line-height: 1.02; }
.hero-t, .statement { padding-top: clamp(56px, 7.64vw, 147px); padding-bottom: clamp(56px, 7.64vw, 147px); }

/* textes courants (coaching, infos, articles…) = petits textes sous les titres : 20 px, gris */
.prose { font-size: 20px; line-height: 1.55; color: var(--ink); }
.prose h2 { color: var(--blue); }

/* petits textes sous les titres en noir aussi, comme les textes courants */
.page-hd .lead, .hsec-txt, .join p { color: var(--ink); }

/* tuiles de la page Articles : bleues au survol, comme sur l’accueil */
.cards .card { transition: background-color .45s var(--ease), color .45s var(--ease); }
.cards .card:hover { background: var(--blue); color: #fff; }
.cards .card:hover h3, .cards .card:hover .mono, .cards .card:hover p { color: #fff; }
.cards .card:hover .mono { opacity: .85; }

/* texte + photo (coaching, infos) : photo plus petite, partage au nombre d’or */
@media (min-width: 900px) { .split { grid-template-columns: 1.618fr 1fr; } .split.rev { grid-template-columns: 1fr 1.618fr; } }
/* le texte remplit sa colonne : il touche presque la photo (seul l’écart de la grille les sépare) */
.split .prose { max-width: none; }

/* bandeau d’annonce de l’événement (repris du site d’origine), au-dessus du menu ; il part avec le défilement */
.annonce { position: relative; z-index: 51; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px;
  margin: 10px var(--g) 0; padding: 12px 18px; border-radius: 16px; background: var(--blue); color: #fff; text-align: center;
  font-size: 15px; line-height: 1.3; transition: background-color .35s var(--ease); }
.annonce strong { font-size: 22px; font-weight: 700; color: #fff; padding-top: .15em; }
.annonce-cta { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--blue); font-weight: 700; font-size: 14px; text-box: trim-both cap alphabetic; transition: background-color .35s var(--ease), color .35s var(--ease); }
.annonce:hover .annonce-cta { background: var(--ink); color: #fff; }
main { padding-top: 84px; }

/* tuiles : le fondu bleu du survol ne doit pas écraser l’apparition (fondu + montée), on garde les deux */
.js .card[data-reveal], .js .ev-row[data-reveal], .js .pod[data-reveal], .js .gal[data-reveal], .js .past > a[data-reveal] {
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), background-color .45s var(--ease), color .45s var(--ease);
}

/* adresse d’un événement : lien vers Google Maps, souligné, bleu au survol */
.map-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .3s var(--ease); }
.map-link:hover { color: var(--blue); }

/* Instagram du club dans le menu du haut, à gauche de « Rejoindre le Club » */
.hd-end { display: flex; align-items: center; gap: 8px; }
.hd-ig { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.hd-ig:hover { background: var(--ink); color: #fff; }

/* sous chaque gros titre de l’accueil : bande de 4 grandes photos des membres, entre la tuile et la section suivante */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.7vw, 28px); align-items: start;
  margin: clamp(20px, 2.8vw, 44px) var(--g) clamp(30px, 4vw, 64px); pointer-events: none; }
.fl { margin: 0; margin-top: var(--oy, 0px); border-radius: 12px; overflow: hidden; will-change: transform;
  transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.fl img { display: block; width: 100%; height: auto; }   /* photo entière, son ratio d’origine */
@media (max-width: 700px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* la page ne défile pas de côté à cause des photos */
html, body { overflow-x: clip; }

/* jour des événements à venir : très gros, un cran du nombre d’or au-dessus des grands titres (110 → 178 px à 1440) */
.ev-day { font-size: clamp(76px, 12.36vw, 230px); line-height: .78; letter-spacing: -.02em; padding-top: .12em; }
.ev-date { gap: clamp(10px, 1.2vw, 20px); }


/* bande de photos : même espace au-dessus (tuile grise) qu’en dessous (titre de la section suivante) */
.strip { margin-top: clamp(52px, 10.4vw, 190px); margin-bottom: 0; } /* compte l’espace au-dessus des lettres du titre suivant */

/* photos des bandes : les coins arrondis sont posés sur l’image elle-même (Safari perdait l’arrondi pendant le mouvement, la photo paraissait coupée net) */
.fl { overflow: visible; border-radius: 0; }
.fl img { border-radius: 12px; }

/* accueil : la vidéo du site d’origine (Vimeo, 251107_REEL_SITE) en haut, muette et en boucle ; la photo reste dessous le temps qu’elle démarre */
.hero-video { position: absolute; inset: -5%; width: 110%; height: 110%; max-width: none; border: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-on { opacity: 1; }

/* Témoignages coaching : photo ronde du témoin à côté de son nom, 2 colonnes */
.quote cite { display: flex; align-items: center; gap: 16px; font-size: 18px; }
.quote cite img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }

/* Accueil : les 3 événements côte à côte (tuiles en ligne), même contenu que la page Événements */
@media (min-width: 800px) {
  .home-evs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-evs .ev-row { grid-template-columns: 1fr; }
  .home-evs .ev-day { font-size: clamp(64px, 7.4vw, 140px); }
  .home-evs .ev-row h3 { font-size: clamp(22px, 2vw, 34px); }
}

/* Témoignages : photo en rectangle vertical à coins arrondis (au lieu du rond) */
.quote cite { align-items: flex-end; }
.quote cite img { width: 96px; height: 128px; border-radius: 12px; object-fit: cover; }

/* Bandeau des témoins (comme ranko.ca), couleurs du club ; Accepter et Refuser pèsent pareil */
.consent { position: fixed; left: var(--g); bottom: var(--g); z-index: 80; max-width: 440px; display: grid; gap: 14px; padding: 18px;
  border-radius: var(--radius); background: var(--ink); color: #fff; font-size: 15px; line-height: 1.4; }
.consent[hidden] { display: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent-btns { display: flex; gap: 8px; }
.consent-btns button { flex: 1; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #fff; color: #fff; background: transparent; font: inherit; font-weight: 700; cursor: pointer; transition: background-color .3s, color .3s; }
.consent-btns button:hover, .consent-btns [data-consent="yes"] { background: #fff; color: var(--ink); }
.consent-btns [data-consent="yes"]:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 519px) { .consent { right: var(--g); max-width: none; } }
.ft-links { display: flex; flex-wrap: wrap; gap: 18px; }
.ft-links a, .ft-links button { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 46em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }

/* bande de photos : rien ne coupe une photo quand elle monte au défilement (l’ancien overflow:hidden la rognait en haut) */
.strip { overflow: visible; }

/* Accueil : un seul écart entre deux blocs, celui des tuiles des balados à la tuile grise « Sartorial… »
   = bas de section (.sec) + marge de la tuile grise */
:root { --ecart: calc(clamp(56px, 7vw, 120px) + clamp(40px, 6vw, 90px)); }
.hero-t { margin-top: var(--ecart); }
.strip { margin-top: var(--ecart); padding-bottom: 0; margin-bottom: clamp(40px, 6vw, 90px); }
.hsec + .join, .sec + .join { margin-top: clamp(40px, 6vw, 90px); }

/* deux photos dans une même colonne de la bande : même écart qu'entre les colonnes */
.fl img + img { margin-top: clamp(10px, 1.7vw, 28px); }

/* bas de la bande en miroir du haut */
.fl img + img { margin-top: var(--gb, clamp(10px, 1.7vw, 28px)); }

/* téléphone (2 colonnes) : 2e rangée inversée, les deux photos à gauche, la verticale à droite */
@media (max-width: 700px) { .strip .fl:nth-child(3) { order: 4; } }

/* Événements passés : des cartes comme les événements à venir, qui deviennent bleues au survol */
.past > a { padding: 12px 12px 16px; border-radius: calc(var(--radius) + 4px); background: #fff; box-shadow: inset 0 0 0 1.5px var(--card); transition: background-color .45s var(--ease), color .45s var(--ease); }
.past > a h3, .past > a .mono { padding: 0 4px; transition: color .45s var(--ease); }
.past > a:hover { background: var(--blue); color: #fff; }
.past > a:hover h3 { color: #fff; }
.past > a:hover .mono { color: rgba(255,255,255,.8); }
.past .media { aspect-ratio: 16 / 9; }  /* même format que les événements à venir */

/* Balados : cartes comme les événements, bleues au survol */
.pods { row-gap: var(--gap); }
.pod { align-content: start; padding: 12px 12px 18px; border-radius: calc(var(--radius) + 4px); background: #fff; box-shadow: inset 0 0 0 1.5px var(--card); transition: background-color .45s var(--ease), color .45s var(--ease); }
.pod > :not(.yt) { padding: 0 4px; transition: color .45s var(--ease); }
.pod:hover { background: var(--blue); color: #fff; }
.pod:hover h3, .pod:hover .mono { color: #fff; }
.pod:hover p { color: rgba(255,255,255,.85); }

/* Galerie : cartes comme les événements et les balados (photo 16/9, texte dessous), bleues au survol */
.gal { display: grid; gap: 12px; align-content: start; aspect-ratio: auto; overflow: visible; padding: 12px 12px 18px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--card); transition: background-color .45s var(--ease), color .45s var(--ease); }
.gal .media { position: relative; inset: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); }
.gal::after { content: none; }
.gal-cap { position: static; padding: 0 4px; }
.gal-cap h3 { color: var(--blue); transition: color .45s var(--ease); }
.gal-cap .mono { color: var(--muted); opacity: 1; transition: color .45s var(--ease); }
.gal:hover { background: var(--blue); color: #fff; }
.gal:hover h3 { color: #fff; }
.gal:hover .mono { color: rgba(255,255,255,.8); }

/* en-tête collé par le navigateur (pas de calcul au défilement, donc aucun tremblement sur téléphone) :
   l'enveloppe, de hauteur nulle, suit le bandeau d'annonce puis se colle en haut de l'écran */
.hd-wrap { position: sticky; top: 0; z-index: 50; height: 0; }
.hd-wrap .hd { position: absolute; top: 10px; }
/* menu ouvert sur téléphone : le bandeau d'annonce passe sous le menu bleu et l'en-tête remonte en haut de l'écran */
.menu-open .annonce { z-index: 0; }
.menu-open .hd-wrap { position: fixed; top: 0; left: 0; right: 0; }
.menu-open .hd { transform: none; }
/* photos de l'accueil : glissement lié au défilement, calculé par le navigateur (fluide aussi sur téléphone) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .strip { view-timeline-name: --strip; }
    .fl { animation: fl-glisse linear both; animation-timeline: --strip; }
    @keyframes fl-glisse { from { transform: translate3d(0, var(--sp, 0px), 0); } to { transform: translate3d(0, calc(-1 * var(--sp, 0px)), 0); } }
  }
}
/* accueil : tuiles de balados = liens vers l'épisode sur la page Balados, bleues au survol comme les autres */
a.pod-card { cursor: pointer; color: var(--ink); transition: background-color .45s var(--ease), color .45s var(--ease); }
a.pod-card h3, a.pod-card .mono { transition: color .45s var(--ease); }
a.pod-card:hover { background: var(--blue); color: #fff; }
a.pod-card:hover h3, a.pod-card:hover .mono { color: #fff; }
a.pod-card:hover .mono { opacity: .85; }
.pod[id] { scroll-margin-top: 130px; }   /* arrivée par l'ancre : l'épisode n'est pas caché sous le menu */
/* pied de page sur petit écran (iPhone SE) : « Le Club » et « Écrire » sur toute la largeur, rien ne déborde */
.ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ft-grid a { overflow-wrap: anywhere; }
.ft-legal > * { min-width: 0; }
@media (max-width: 899px) { .ft-grid > div:first-child, .ft-grid > div:last-child { grid-column: 1 / -1; } }
@media (min-width: 900px) { .ft-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
/* textes longs (adresses courriel, liens) : coupés au besoin plutôt que de déborder sur petit écran */
.prose { min-width: 0; overflow-wrap: anywhere; }
