/* Studio Kleber — feuille de style commune */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Monoton"; src: url("fonts/monoton.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --night: #0c0912;
  --night-2: #15101e;
  --night-3: #1f1830;
  --paper: #f6f1ea;
  --paper-2: #ece4d9;
  --ink: #1a1422;
  --muted: #6d6478;
  --muted-on-dark: #b9b0c6;
  --red: #ff2f3d;
  --red-deep: #d9142a;
  --red-glow: rgba(255, 47, 61, .55);
  --violet: #8a6bff;
  --violet-deep: #4a28c9;
  --line: rgba(255, 255, 255, .12);
  --line-dark: rgba(26, 20, 34, .12);
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --neon: "Monoton", var(--sans);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--paper); background: var(--night); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--red); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper h1 em, .section--paper h2 em, .section--paper h3 em { color: var(--red-deep); }
.section--night2 { background: var(--night-2); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; box-shadow: 0 0 10px var(--red-glow); }
.section--paper .eyebrow { color: var(--red-deep); }
.section--paper .eyebrow::before { box-shadow: none; }
.title-xl { font-size: clamp(44px, 7.4vw, 104px); }
.title-l { font-size: clamp(36px, 5.2vw, 68px); }
.title-m { font-size: clamp(28px, 3.4vw, 44px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted-on-dark); max-width: 640px; }
.section--paper .lead { color: var(--muted); }
.muted { color: var(--muted-on-dark); }
.section--paper .muted { color: var(--muted); }

/* Boutons : rectangles aux bords arrondis */
.btn { --bg: var(--red); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: var(--radius-sm); border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); font: 700 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--red-glow); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--paper); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; box-shadow: none; background: rgba(255,255,255,.06); }
.section--paper .btn--ghost { --fg: var(--ink); border-color: var(--line-dark); }
.section--paper .btn--ghost:hover { border-color: var(--ink); background: transparent; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Logo enseigne néon */
/* Logo Éditorial : « Studio. » en italique rouge, « KLEBER » en capitales espacées */
.logo { display: inline-flex; flex: none; text-decoration: none; }
.logo img { display: block; height: 50px; width: auto; }
.logo--full img { height: 104px; }
@media (max-width: 767px) { .logo img { height: 44px; } }

/* En-tête */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, backdrop-filter .35s, border-color .35s; border-bottom: 1px solid transparent; }
.header.is-solid, .header--solid { background: rgba(12, 9, 18, .92); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; max-width: 1800px; margin: 0 auto; padding: 0 24px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 12px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: rgba(246,241,234,.86); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); box-shadow: 0 0 10px var(--red-glow); }
.nav .btn { margin-left: 10px; min-height: 42px; padding: 0 16px; font-size: 14px; color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 78px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 24px; background: rgba(12,9,18,.97); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s var(--ease); max-height: calc(100vh - 78px); overflow-y: auto; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { left: 8px; right: auto; width: 24px; bottom: 8px; }
  .nav .btn { margin: 16px 0 0; min-height: 50px; border-bottom: 0; }
}
@media (max-width: 767px) { .header__in { padding: 0 16px; } }

/* Héros d'accueil */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 130px 0 0; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,9,18,.92) 0%, rgba(12,9,18,.62) 42%, rgba(12,9,18,.08) 75%), linear-gradient(0deg, var(--night) 0%, rgba(12,9,18,0) 40%); }
@media (min-width: 1000px) {
  .hero__media { left: auto; width: 62%; }
  .hero__media img { object-position: 50% 35%; }
  .hero::before { background: linear-gradient(90deg, var(--night) 0%, var(--night) 38%, rgba(12,9,18,.55) 52%, rgba(12,9,18,0) 70%), linear-gradient(0deg, var(--night) 0%, rgba(12,9,18,0) 35%), radial-gradient(40% 50% at 20% 30%, rgba(138,107,255,.18), transparent 70%); }
}
.hero__in { width: 100%; padding-bottom: clamp(40px, 7vh, 80px); }
.hero h1 { font-size: clamp(50px, 9vw, 132px); font-weight: 400; margin-bottom: .25em; max-width: 9.5em; }
.hero h1 em { display: inline-block; text-shadow: 0 0 30px rgba(255,47,61,.45); }
.hero .lead { color: rgba(246,241,234,.84); margin-bottom: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted-on-dark); }
.hero__meta strong { color: var(--paper); font-weight: 700; }

/* Bandeau défilant des rythmes */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--night); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 38px); padding: 0 26px; white-space: nowrap; color: var(--paper); }
.marquee span:nth-child(even) { font-family: var(--neon); font-style: normal; font-size: clamp(16px, 1.9vw, 24px); color: var(--red); text-shadow: 0 0 10px var(--red-glow); align-self: center; padding: 0 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* En-tête de page intérieure */
.page-hero { position: relative; padding: 170px 0 80px; overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--night) 0%, rgba(12,9,18,.55) 55%, rgba(12,9,18,.85) 100%), radial-gradient(60% 80% at 80% 20%, rgba(138,107,255,.35), transparent 70%); }
.page-hero h1 { font-size: clamp(46px, 7vw, 96px); font-weight: 400; max-width: 12em; }
.crumbs { font-size: 13px; color: var(--muted-on-dark); margin-bottom: 20px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: #fff; }

/* Grilles */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: 0; }

/* Photos */
.photo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 3 / 2; }
.photo-stack { position: relative; }
.photo-stack .photo:nth-child(2) { position: absolute; width: 46%; right: -6%; bottom: -10%; border: 6px solid var(--paper); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
@media (max-width: 900px) { .photo-stack .photo:nth-child(2) { right: 4%; } }
.caption { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Philosophie */
.manifesto { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -.02em; max-width: 18em; margin: 0 0 clamp(48px, 6vw, 80px); }
.manifesto em { color: var(--red-deep); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.value { padding: 28px 24px 8px 0; }
.value + .value { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.value__n { font-family: var(--neon); font-size: 22px; color: var(--red-deep); }
.value h3 { font-size: 30px; margin: 12px 0 8px; font-style: italic; }
.value p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } .value:nth-child(3) { padding-left: 0; border-left: 0; } .value:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); } }

/* Cartes cours */
.course { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding: 28px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.course img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.course::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,9,18,.95) 0%, rgba(12,9,18,.35) 55%, rgba(12,9,18,0) 80%); transition: background .4s; }
.course:hover img { transform: scale(1.05); }
.course__tag { position: absolute; top: 22px; left: 22px; padding: 7px 12px; border-radius: 8px; background: rgba(12,9,18,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.course h3 { font-size: clamp(30px, 2.8vw, 38px); margin-bottom: 10px; }
.course p { color: rgba(246,241,234,.8); font-size: 15.5px; margin-bottom: 18px; }
.course .link-arrow { align-self: flex-start; color: #fff; }
@media (max-width: 640px) { .course { min-height: 440px; } }

/* Séquences du cours */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { counter-increment: step; display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--neon); font-size: 30px; color: var(--red); text-shadow: 0 0 12px var(--red-glow); line-height: 1; }
.step h3 { font-size: 24px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted-on-dark); font-size: 16px; }
.section--paper .step { border-color: var(--line-dark); }
.section--paper .step::before { color: var(--red-deep); text-shadow: none; }
.section--paper .step p { color: var(--muted); }

/* Film */
.film { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; isolation: isolate; color: #fff; text-align: left; }
.film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease), opacity .4s; opacity: .85; }
.film::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,9,18,.85), rgba(12,9,18,0) 60%); }
.film:hover img { transform: scale(1.03); opacity: 1; }
.film__play { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; display: grid; place-items: center; background: var(--red); box-shadow: 0 0 0 10px rgba(255,47,61,.2), 0 0 40px var(--red-glow); transition: transform .3s var(--ease); }
.film:hover .film__play { transform: scale(1.08); }
.film__play svg { width: 30px; height: 30px; margin-left: 4px; }
.film__label { position: absolute; left: 24px; right: 24px; bottom: 20px; font-family: var(--serif); font-size: clamp(18px, 2vw, 26px); }
.film__label small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 4px; }
.film--sm { border-radius: var(--radius-sm); }
.film--sm .film__play { width: 58px; height: 58px; margin: -29px 0 0 -29px; box-shadow: 0 0 0 7px rgba(255,47,61,.2); }
.film--sm .film__play svg { width: 22px; height: 22px; }
.film--sm .film__label { left: 16px; right: 16px; bottom: 12px; font-size: 17px; line-height: 1.25; }

/* Professeur */
.prof-photo { background: #000; border-radius: var(--radius); overflow: hidden; }
.prof-photo img { width: 100%; filter: grayscale(1) contrast(1.05); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.chip { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--paper); }
.big-number { display: flex; align-items: baseline; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.big-number strong { font-family: var(--neon); font-weight: 400; font-size: clamp(54px, 7vw, 88px); color: var(--red); text-shadow: 0 0 18px var(--red-glow); line-height: 1; }
.big-number span { color: var(--muted-on-dark); max-width: 14em; }

/* Planning */
.week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .week { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .week { grid-template-columns: 1fr; } }
.day { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--night2 .day { background: var(--night); }
.day h3 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.slot { padding: 14px 0; border-top: 1px solid var(--line); }
.slot:first-of-type { border-top: 0; padding-top: 0; }
.slot__time { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: #fff; }
.slot__name { font-weight: 700; margin-top: 4px; }
.slot__lvl { font-size: 14.5px; color: var(--muted-on-dark); }
.slot--kids .slot__name::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: var(--violet); vertical-align: 1px; }
.slot--adults .slot__name::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: var(--red); vertical-align: 1px; }
.slot--stretch .slot__name::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: #f1c27a; vertical-align: 1px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--muted-on-dark); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }
.legend .k::before { background: var(--violet); } .legend .a::before { background: var(--red); } .legend .s::before { background: #f1c27a; }

/* Tarifs */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 820px) { .prices { grid-template-columns: 1fr; } }
.price { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.price--feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price h3 { font-size: 30px; margin-bottom: 4px; }
.price__who { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.price--feature .price__who { color: var(--muted-on-dark); }
.price__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.price--feature .price__row { border-color: var(--line); }
.price__label { font-weight: 700; }
.price__amount { font-family: var(--serif); font-size: 26px; white-space: nowrap; }
.price__amount small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.price--feature .price__amount small { color: var(--muted-on-dark); }
.price__alt { width: 100%; font-size: 14.5px; color: var(--muted); margin-top: -4px; }
.price--feature .price__alt { color: var(--muted-on-dark); }
.price__foot { margin-top: auto; padding-top: 16px; font-size: 14px; color: var(--muted); }
.price--feature .price__foot { color: var(--muted-on-dark); }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 820px) { .notes { grid-template-columns: 1fr; } }
.note { padding: 22px 24px; border-radius: var(--radius); background: var(--paper-2); }
.note strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 4px; }
.note p { margin: 0; font-size: 15px; color: var(--muted); }

/* Galerie */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { min-height: 42px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: transparent; color: var(--paper); font: 600 14.5px var(--sans); cursor: pointer; transition: .2s; }
.filter:hover { border-color: rgba(255,255,255,.4); }
.filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 22px -4px var(--red-glow); }
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; }
.masonry[data-filtering] figure { animation: fadeIn .5s var(--ease); }
.masonry figure[hidden] { display: none; }
.tile { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--night-3); }
.tile img { width: 100%; transition: transform .8s var(--ease), filter .4s; }
.tile:hover img { transform: scale(1.04); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.mosaic .photo:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .photo:nth-child(3) { grid-row: span 2; }
@media (max-width: 820px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }

/* Fenêtres (vidéo, visionneuse) */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(6,4,10,.94); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(1200px, 100%); }
.modal__video { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-sm); overflow: hidden; }
.modal__video iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(12,9,18,.6); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.modal__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(12,9,18,.6); color: #fff; font-size: 22px; cursor: pointer; }
.modal__nav--prev { left: 16px; } .modal__nav--next { right: 16px; }
.lightbox img { max-width: 100%; max-height: 84vh; margin: 0 auto; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox__count { text-align: center; margin-top: 14px; font-size: 14px; color: var(--muted-on-dark); }
@media (max-width: 640px) { .modal__nav { top: auto; bottom: 18px; margin: 0; } }

/* Stretching chez soi */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.benefit { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-dark); }
.benefit strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.benefit p { margin: 0; color: var(--muted); font-size: 15.5px; }
.episode { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.episode:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .episode { grid-template-columns: 1fr; } }
.episode__img { border-radius: var(--radius); overflow: hidden; align-self: start; background: var(--night-3); }
.episode__date { font-family: var(--neon); color: var(--red); font-size: 18px; text-shadow: 0 0 10px var(--red-glow); }
.episode h2 { font-size: clamp(28px, 3vw, 40px); margin: 12px 0 6px; }
.episode__with { color: var(--muted-on-dark); margin-bottom: 20px; }
.episode__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; }
@media (max-width: 640px) { .episode__cols { grid-template-columns: 1fr; } }
.episode__cols h3 { font-family: var(--sans); font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.episode__cols p, .episode__cols li { color: var(--muted-on-dark); font-size: 15.5px; }
.episode__cols ul { list-style: none; }
.episode__cols li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.episode__cols li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--red); }
.episode__videos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .episode__videos { grid-template-columns: 1fr; } }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; border-left: 2px solid var(--red); padding-left: 22px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.info { display: grid; gap: 0; }
.info a, .info div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.info > :first-child { border-top: 0; padding-top: 0; }
.info svg { width: 44px; height: 44px; padding: 11px; border-radius: 10px; background: rgba(255,47,61,.12); color: var(--red); }
.info small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); }
.info strong { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
.info a:hover strong { color: var(--red); }
.plan { border-radius: var(--radius); overflow: hidden; background: #fff; }
.plan img { width: 100%; }

/* Bandeau d'appel */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 0%, rgba(138,107,255,.35), transparent 70%), radial-gradient(40% 60% at 50% 110%, rgba(255,47,61,.25), transparent 70%); }
.cta h2 { font-size: clamp(42px, 6.4vw, 92px); font-weight: 400; margin-bottom: 18px; }
.cta .lead { margin: 0 auto 32px; }
.cta .btns { justify-content: center; }

/* Pied de page */
.footer { background: #08060c; border-top: 1px solid var(--line); padding: 72px 0 28px; font-size: 15px; color: var(--muted-on-dark); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h2 { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; } .footer a:hover { color: #fff; }
.footer .logo { margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); }
.socials a:hover { border-color: var(--red); color: var(--red); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* Texte courant (mentions légales) */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.footer .credit { color: var(--paper); font-weight: 700; } .footer .credit:hover { color: var(--red); }
