/* ==========================================================================
   Diogène Création — atelier de verre
   Implémentation de la maquette « Diogene Creation.dc.html » (Claude Design)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons
   -------------------------------------------------------------------------- */

:root {
  --ink: #0b0908;           /* fond */
  --ink-raised: #120e0c;    /* carte */
  --ink-hover: #130f0c;     /* carte survolée */
  --bone: #f2e9dd;          /* texte */
  --amber: #e2903f;         /* accent plein */
  --amber-soft: #e8a45c;    /* accent texte / liens */
  --amber-pale: #f4d9b0;    /* accent survol */

  --bone-72: rgba(242, 233, 221, 0.72);
  --bone-70: rgba(242, 233, 221, 0.70);
  --bone-65: rgba(242, 233, 221, 0.65);
  --bone-62: rgba(242, 233, 221, 0.62);
  --bone-60: rgba(242, 233, 221, 0.60);
  --bone-58: rgba(242, 233, 221, 0.58);
  --bone-55: rgba(242, 233, 221, 0.55);
  --bone-50: rgba(242, 233, 221, 0.50);
  --bone-45: rgba(242, 233, 221, 0.45);
  --bone-40: rgba(242, 233, 221, 0.40);
  --bone-35: rgba(242, 233, 221, 0.35);

  --line-22: rgba(242, 233, 221, 0.22);
  --line-20: rgba(242, 233, 221, 0.20);
  --line-12: rgba(242, 233, 221, 0.12);
  --line-10: rgba(242, 233, 221, 0.10);
  --line-09: rgba(242, 233, 221, 0.09);
  --line-08: rgba(242, 233, 221, 0.08);
  --line-28: rgba(242, 233, 221, 0.28);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --glass: conic-gradient(from 0deg, #d8412f, #f2c14e, #3f9d6b, #2f6fd8, #b4478f, #d8412f);

  --gutter: 56px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
}

body {
  font-family: var(--sans);
  color: var(--bone);
  overflow-x: hidden;
  cursor: default;
}

a { color: var(--amber-soft); text-decoration: none; }
a:hover { color: var(--amber-pale); }

::selection { background: var(--amber); color: var(--ink); }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a2f26; }

img { max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 14px 22px;
  background: var(--amber);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; color: var(--ink); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: var(--bone);
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   3. Animations
   -------------------------------------------------------------------------- */

@keyframes dgFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes dgFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dgBloom {
  0%   { opacity: 0;   transform: scale(0.6) rotate(0deg); }
  55%  { opacity: 0.85; transform: scale(1.05) rotate(90deg); }
  100% { opacity: 0.5; transform: scale(1) rotate(140deg); }
}
@keyframes dgWash {
  0%   { opacity: 0; backdrop-filter: blur(0px); }
  32%  { opacity: 1; backdrop-filter: blur(16px); }
  62%  { opacity: 1; backdrop-filter: blur(16px); }
  100% { opacity: 0; backdrop-filter: blur(0px); }
}
@keyframes dgIris {
  0%   { opacity: 0;   transform: scale(0.25) rotate(0deg); }
  34%  { opacity: 0.9; transform: scale(1.15) rotate(40deg); }
  100% { opacity: 0;   transform: scale(2.6) rotate(110deg); }
}
@keyframes dgSweep {
  0%   { opacity: 0;   transform: translateX(-60%) skewX(-14deg); }
  40%  { opacity: 0.9; }
  100% { opacity: 0;   transform: translateX(160%) skewX(-14deg); }
}
@keyframes dgDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(3%, -4%, 0) scale(1.12); }
}
@keyframes dgLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   4. Halo de curseur
   -------------------------------------------------------------------------- */

.glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: screen;
  opacity: 0.55;
  background: radial-gradient(circle at 50% 50%,
    rgba(226, 144, 63, 0.55) 0%,
    rgba(216, 65, 47, 0.28) 32%,
    rgba(47, 111, 216, 0.18) 58%,
    rgba(11, 9, 8, 0) 72%);
  filter: blur(14px);
  transition: opacity 0.5s ease;
}

/* --------------------------------------------------------------------------
   5. Intro
   -------------------------------------------------------------------------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ink);
  display: grid;
  place-items: center;
  animation: dgFade 0.4s ease both;
}
.intro[hidden] { display: none; }

.intro__bloom {
  position: absolute;
  width: 74vmin;
  height: 74vmin;
  border-radius: 50%;
  background: var(--glass);
  filter: blur(70px);
  opacity: 0.5;
  animation: dgBloom 2.6s var(--ease) both;
}

.intro__inner {
  position: relative;
  text-align: center;
  padding: 0 24px;
}

.intro__eyebrow {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.62em;
  text-transform: uppercase;
  color: var(--amber-soft);
  animation: dgFadeUp 1s ease 0.25s both;
}

.intro__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(58px, 8vw, 96px);
  line-height: 1;
  margin-top: 18px;
  animation: dgFadeUp 1.1s var(--ease) 0.5s both;
}
.intro__title em {
  display: block;
  font-style: italic;
  color: var(--amber-soft);
}

.intro__rule {
  width: 180px;
  height: 1px;
  background: var(--amber);
  margin: 34px auto 0;
  transform-origin: left;
  animation: dgLine 1.2s var(--ease) 1.1s both;
}

/* --------------------------------------------------------------------------
   6. Voile de transition
   -------------------------------------------------------------------------- */

.veil {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
  background: rgba(11, 9, 8, 0.72);
  animation: dgWash 1.15s cubic-bezier(0.5, 0, 0.2, 1) both;
}
.veil[hidden] { display: none; }

.veil__iris {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90vmin;
  height: 90vmin;
  margin: -45vmin 0 0 -45vmin;
  border-radius: 50%;
  background: var(--glass);
  filter: blur(90px);
  animation: dgIris 1.15s var(--ease) both;
}

.veil__sweep {
  position: absolute;
  top: -20%;
  left: 0;
  width: 34%;
  height: 140%;
  background: linear-gradient(90deg,
    rgba(244, 217, 176, 0),
    rgba(244, 217, 176, 0.45),
    rgba(244, 217, 176, 0));
  filter: blur(30px);
  mix-blend-mode: screen;
  animation: dgSweep 1.15s cubic-bezier(0.5, 0, 0.2, 1) both;
}

/* --------------------------------------------------------------------------
   7. En-tête
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(11, 9, 8, 0.86), rgba(11, 9, 8, 0));
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  color: inherit;
}
.brand:hover { color: inherit; }

.brand__seal {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  background: conic-gradient(from 40deg, #d8412f, #f2c14e, #3f9d6b, #2f6fd8, #d8412f);
  box-shadow: 0 0 22px rgba(226, 144, 63, 0.5);
}

.brand__word {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav__link {
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  padding: 10px 18px;
  font-size: 13.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-62);
  transition: color 0.35s ease;
}
.nav__link:hover { color: var(--amber-pale); }
.nav__link[aria-current='page'] { color: var(--bone); }

.nav__link::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__link[aria-current='page']::after { transform: scaleX(1); }

/* Bascule mobile (hors maquette : la maquette est cadrée 1440 px) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--bone);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.nav-toggle__bars::before { transform: translateY(-7px); }
.nav-toggle__bars::after { transform: translateY(6px); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::after { transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. Éléments partagés
   -------------------------------------------------------------------------- */

.page[hidden] { display: none; }

.page--inner {
  padding: 170px var(--gutter) 140px;
  animation: dgFadeUp 0.9s var(--ease) both;
}

.eyebrow {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--amber-soft);
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: 1;
  margin: 20px 0 0;
}

.btn {
  display: inline-block;
  cursor: pointer;
  padding: 17px 38px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.4s ease;
}
.btn--solid {
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--ink);
}
.btn--solid:hover {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(226, 144, 63, 0.35);
}
.btn--ghost {
  border: 1px solid var(--line-28);
  color: var(--bone);
}
.btn--ghost:hover {
  color: var(--bone);
  border-color: var(--amber);
  transform: translateY(-3px);
}

.link-rule {
  display: inline-block;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber-soft);
  border-bottom: 1px solid rgba(226, 144, 63, 0.4);
  padding-bottom: 7px;
  transition: letter-spacing 0.4s ease;
}
.link-rule:hover { letter-spacing: 0.32em; color: var(--amber-soft); }

/* --------------------------------------------------------------------------
   9. Accueil — héros
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 150px var(--gutter) 90px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 78% 40%, rgba(226, 144, 63, 0.16), rgba(11, 9, 8, 0) 60%);
}

.hero__copy {
  position: relative;
  z-index: 2;
  animation: dgFadeUp 1.2s var(--ease) 0.2s both;
}

.hero__eyebrow {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--amber-soft);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 6.4vw, 104px);
  line-height: 0.98;
  margin: 26px 0 0;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  color: var(--amber-soft);
}

.hero__lede {
  max-width: 430px;
  margin: 34px 0 0;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--bone-72);
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero__stage {
  position: relative;
  z-index: 2;
  min-height: min(78vh, 620px);
  display: grid;
  place-items: center;
}

.hero__halo {
  position: absolute;
  width: 62vh;
  height: 62vh;
  border-radius: 50%;
  background: var(--glass);
  filter: blur(90px);
  opacity: 0.42;
  animation: dgDrift 14s ease-in-out infinite;
}

.hero__art {
  position: relative;
  width: 70%;
  max-height: 74vh;
  object-fit: contain;
  filter: drop-shadow(0 40px 90px rgba(0, 0, 0, 0.6));
  animation: dgFadeUp 1.6s var(--ease) 0.5s both;
}

.hero__scroll {
  margin: 0;
  position: absolute;
  bottom: 34px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone-45);
}
.hero__scroll span {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--bone-35);
}

/* --------------------------------------------------------------------------
   10. Accueil — manifeste (01)
   -------------------------------------------------------------------------- */

.manifesto {
  padding: 150px var(--gutter);
  border-top: 1px solid var(--line-09);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.manifesto__index {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber-soft);
}

.manifesto__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.18;
  margin: 0;
  max-width: 820px;
  text-wrap: pretty;
}

.stats {
  display: flex;
  gap: 64px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.stats__n {
  font-family: var(--serif);
  font-size: 46px;
  color: var(--amber-soft);
}
.stats__l {
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-55);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   11. Accueil — familles
   -------------------------------------------------------------------------- */

.families {
  padding: 0 var(--gutter) 150px;
}

.families__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line-09);
}

.family {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: var(--ink);
  height: 460px;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  transition: background 0.5s ease;
}
.family:hover { background: var(--ink-raised); }

.family__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.1);
  transition: transform 1.2s var(--ease), opacity 0.8s ease;
}
.family:hover .family__img {
  transform: scale(1.08);
  opacity: 0.7;
}

.family__scrim {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 9, 8, 0.1), rgba(11, 9, 8, 0.92));
}

.family__body {
  display: block;
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
}
.family__name {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
}
.family__desc {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--bone-65);
  margin-top: 10px;
  max-width: 280px;
}

/* --------------------------------------------------------------------------
   12. Accueil — pourquoi Diogène (02)
   -------------------------------------------------------------------------- */

.why {
  padding: 0 var(--gutter) 150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why__figure {
  position: relative;
  margin: 0;
}
.why__figure img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  display: block;
}
.why__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(226, 144, 63, 0.18), rgba(11, 9, 8, 0));
}

.why__eyebrow {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--amber-soft);
}
.why__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.12;
  margin: 22px 0 0;
}
.why__text {
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  color: var(--bone-70);
  margin: 26px 0 0;
  max-width: 480px;
}
.why .link-rule { margin-top: 38px; }

/* --------------------------------------------------------------------------
   13. Accueil — agenda
   -------------------------------------------------------------------------- */

.agenda {
  padding: 0 var(--gutter) 160px;
}

.agenda__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-12);
  padding-bottom: 22px;
}
.agenda__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 44px;
  margin: 0;
}
.agenda__all {
  cursor: pointer;
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber-soft);
  white-space: nowrap;
}

.agenda__row {
  display: grid;
  grid-template-columns: 150px 1fr 220px 60px;
  gap: 30px;
  width: 100%;
  align-items: center;
  text-align: left;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-08);
  transition: padding-left 0.5s var(--ease), background 0.5s ease;
  cursor: pointer;
  color: inherit;
}
.agenda__row:hover {
  padding-left: 22px;
  background: rgba(226, 144, 63, 0.05);
}
.agenda__date {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--amber-soft);
}
.agenda__name {
  font-size: 22px;
  font-weight: 300;
}
.agenda__place {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-50);
}
.agenda__arrow {
  text-align: right;
  color: var(--amber-soft);
}

/* --------------------------------------------------------------------------
   14. Collection
   -------------------------------------------------------------------------- */

.collection__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filters__btn {
  cursor: pointer;
  padding: 11px 22px;
  border: 1px solid var(--line-20);
  color: var(--bone-70);
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.filters__btn:hover { border-color: var(--amber); }
.filters__btn[aria-pressed='true'] {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.pieces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 70px;
}

.piece {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  overflow: hidden;
  background: var(--ink-raised);
  cursor: pointer;
  color: inherit;
  animation: dgFadeUp 0.8s var(--ease) both;
}
.piece[hidden] { display: none; }

.piece__media {
  display: block;
  position: relative;
  height: 400px;
  overflow: hidden;
}
.piece__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
  transition: transform 1.3s var(--ease), filter 0.8s ease;
}
.piece:hover .piece__img {
  transform: scale(1.09);
  filter: brightness(1.05) saturate(1.15);
}
.piece__scrim {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 9, 8, 0) 45%, rgba(11, 9, 8, 0.85));
}
.piece__plus {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--bone-35);
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--bone);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.piece:hover .piece__plus,
.piece:focus-visible .piece__plus {
  opacity: 1;
  transform: scale(1);
}

.piece__body {
  display: block;
  padding: 22px 24px 26px;
}
.piece__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.piece__title {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 300;
}
.piece__cat {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-soft);
  white-space: nowrap;
}
.piece__meta {
  display: block;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--bone-55);
  margin-top: 8px;
}

.pieces__empty {
  margin: 70px 0 0;
  font-weight: 300;
  font-size: 17px;
  color: var(--bone-55);
}
.pieces__empty[hidden] { display: none; }

/* --------------------------------------------------------------------------
   15. Événements
   -------------------------------------------------------------------------- */

.events__title { max-width: 900px; }

.events__list { margin-top: 80px; }

/* Aucune date annoncée : la page reste habitée plutôt que laissée vide. */
.events__empty {
  margin-top: 80px;
  padding: clamp(56px, 9vw, 104px) 0;
  border-top: 1px solid var(--line-10);
  max-width: 620px;
}

.events__empty-lead {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--bone);
  margin: 0;
}

.events__empty-text {
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--bone-62);
  margin: 18px 0 34px;
}

.events__row {
  display: grid;
  grid-template-columns: 190px 1fr 260px;
  gap: 36px;
  padding: 38px 0;
  border-top: 1px solid var(--line-10);
  align-items: start;
  transition: padding-left 0.5s var(--ease), background 0.5s ease;
}
.events__row:hover {
  padding-left: 24px;
  background: rgba(226, 144, 63, 0.05);
}
.events__date {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--amber-soft);
}
.events__year {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-45);
  margin-top: 6px;
}
.events__name {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
}
.events__desc {
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--bone-62);
  margin: 12px 0 0;
  max-width: 620px;
}
.events__aside { text-align: right; }
.events__place {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-60);
}
.events__book {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-soft);
  border-bottom: 1px solid rgba(226, 144, 63, 0.4);
  padding-bottom: 5px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   16. À propos
   -------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.about__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 5.2vw, 74px);
  line-height: 1.06;
  margin: 20px 0 0;
}
.about__text {
  font-weight: 300;
  font-size: 17px;
  line-height: 1.85;
  color: var(--bone-72);
  margin: 32px 0 0;
}
.about__text + .about__text { margin: 20px 0 0; }

.about__figure {
  position: relative;
  margin: 0;
}
.about__figure img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
}
.about__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(226, 144, 63, 0.2), rgba(11, 9, 8, 0.1));
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 110px;
  background: var(--line-09);
}
.step {
  background: var(--ink);
  padding: 44px 34px 54px;
  transition: background 0.5s ease;
}
.step:hover { background: var(--ink-hover); }
.step__n {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--amber-soft);
  letter-spacing: 0.3em;
}
.step__t {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  margin-top: 18px;
}
.step__d {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--bone-58);
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.contact__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 5.2vw, 74px);
  line-height: 1.06;
  margin: 20px 0 0;
}
.contact__title em {
  font-style: italic;
  color: var(--amber-soft);
}
.contact__lede {
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  color: var(--bone-70);
  margin: 28px 0 0;
  max-width: 440px;
}

.coords {
  margin-top: 60px;
  display: grid;
  gap: 26px;
}
.coords__k {
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-45);
}
.coords__v {
  font-family: var(--serif);
  font-size: 26px;
  margin-top: 6px;
}
.coords__v a { color: inherit; }
.coords__v a:hover { color: var(--amber-soft); }

.form {
  border: 1px solid var(--line-12);
  padding: 46px 44px 50px;
  background: linear-gradient(160deg, rgba(226, 144, 63, 0.06), rgba(11, 9, 8, 0));
  display: grid;
  gap: 26px;
  align-content: start;
}
.field { display: block; }
.field__label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-50);
}
.field__input {
  width: 100%;
  margin-top: 10px;
  padding: 13px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-22);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.4s ease;
}
.field__input::placeholder { color: var(--bone-35); }
.field__input:focus { border-color: var(--amber); }
textarea.field__input { resize: vertical; }

.form__submit { margin-top: 10px; width: 100%; }

.form__status {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-soft);
  min-height: 1em;
}

/* --------------------------------------------------------------------------
   18. Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(6, 5, 4, 0.94);
  display: grid;
  place-items: center;
  padding: 80px;
  cursor: zoom-out;
  animation: dgFade 0.4s ease both;
  border: 0;
}
.lightbox[hidden] { display: none; }

.lightbox__halo {
  position: absolute;
  width: 70vmin;
  height: 70vmin;
  border-radius: 50%;
  background: var(--glass);
  filter: blur(110px);
  opacity: 0.35;
}
.lightbox__img {
  position: relative;
  max-width: 72vw;
  max-height: 72vh;
  object-fit: contain;
  animation: dgFadeUp 0.7s var(--ease) both;
}
.lightbox__caption {
  position: relative;
  margin-top: 26px;
  text-align: center;
}
.lightbox__title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
}
.lightbox__meta {
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   19. Pied de page
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line-10);
  padding: 80px var(--gutter) 46px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
}
.footer__brand em {
  font-style: italic;
  color: var(--amber-soft);
}
.footer__blurb {
  font-size: 14px;
  font-weight: 300;
  color: var(--bone-50);
  margin: 14px 0 0;
  max-width: 340px;
  line-height: 1.7;
}

.footer__label {
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-40);
}
.footer__list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 300;
  color: var(--bone-72);
}
.footer__link {
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 300;
  color: var(--bone-72);
  transition: color 0.35s ease;
}
.footer__link:hover { color: var(--amber-soft); }
.footer__list a { color: var(--bone-72); }
.footer__list a:hover { color: var(--amber-soft); }

.footer__bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-08);
  padding-top: 26px;
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-35);
}
.footer__legal {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer__legal a { color: var(--bone-35); }
.footer__legal a:hover { color: var(--amber-soft); }

/* --------------------------------------------------------------------------
   20. Pages légales
   -------------------------------------------------------------------------- */

.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.05;
  margin: 20px 0 0;
}
.legal__body {
  margin-top: 50px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  color: var(--bone-72);
}
.legal__body h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  color: var(--bone);
  margin: 48px 0 0;
}
.legal__body ol,
.legal__body ul {
  padding-left: 22px;
  display: grid;
  gap: 22px;
}
.legal__body li::marker { color: var(--amber-soft); }
.legal__body p { margin: 16px 0 0; }
.legal__body strong { font-weight: 500; color: var(--bone); }

/* --------------------------------------------------------------------------
   21. Adaptatif
   La maquette est cadrée pour 1440 × 900. En dessous, la mise en page se
   déplie sans changer la typographie ni la palette.
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
  :root { --gutter: 40px; }
  .manifesto__grid { gap: 48px; }
  .why,
  .about__grid,
  .contact__grid { gap: 56px; }
  .pieces { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .header { padding: 20px var(--gutter); }
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 96px var(--gutter) 40px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-10);
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease), visibility 0.6s;
    visibility: hidden;
    z-index: -1;
  }
  .nav.is-open {
    transform: none;
    visibility: visible;
  }
  .nav__link {
    padding: 18px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line-08);
  }
  .nav__link::after { left: 0; right: auto; width: 42px; bottom: 10px; }

  /* Pages légales : navigation à un seul lien, pas de menu déroulant. */
  .nav--plain {
    position: static;
    padding: 0;
    background: none;
    backdrop-filter: none;
    border: 0;
    transform: none;
    visibility: visible;
    z-index: auto;
  }
  .nav--plain .nav__link {
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 0;
  }
  .header:has(.nav--plain) .nav-toggle { display: none; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 140px;
    gap: 60px;
  }
  .hero__stage { min-height: 54vh; order: -1; }
  .hero__halo { width: 46vh; height: 46vh; }
  .hero__art { width: 62%; }
  .hero__scroll { display: none; }

  .manifesto__grid,
  .why,
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .families__grid { grid-template-columns: repeat(2, 1fr); }
  .why__figure img { height: 420px; }
  .about__figure img { height: 460px; }

  .agenda__row { grid-template-columns: 120px 1fr 40px; gap: 20px; }
  .agenda__place { display: none; }

  .events__row { grid-template-columns: 150px 1fr; }
  .events__aside { grid-column: 2; text-align: left; }

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

@media (max-width: 720px) {
  :root { --gutter: 24px; }

  .page--inner { padding: 130px var(--gutter) 100px; }
  .manifesto { padding: 100px var(--gutter); }
  .families,
  .why { padding: 0 var(--gutter) 100px; }
  .agenda { padding: 0 var(--gutter) 110px; }

  .brand__word { font-size: 19px; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  .stats { gap: 36px; }
  .families__grid { grid-template-columns: 1fr; }
  .family { height: 380px; }
  .pieces { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; margin-top: 70px; }

  .agenda__title { font-size: 34px; }
  .agenda__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .agenda__row { grid-template-columns: 1fr 40px; gap: 8px 16px; }
  .agenda__date { grid-column: 1; }
  .agenda__name { grid-column: 1; }
  .agenda__arrow { grid-row: 1 / span 2; grid-column: 2; align-self: center; }

  .events__row { grid-template-columns: 1fr; gap: 14px; }
  .events__aside { grid-column: 1; }
  .events__name { font-size: 28px; }

  .form { padding: 32px 26px 36px; }
  .lightbox { padding: 28px; }
  .lightbox__img { max-width: 86vw; max-height: 60vh; }
  .lightbox__title { font-size: 26px; }

  .footer { grid-template-columns: 1fr; gap: 44px; }
  .footer__brand { font-size: 36px; }
  .footer__bar { flex-direction: column; gap: 14px; }
}

/* --------------------------------------------------------------------------
   22. Mouvement réduit
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .glow { display: none; }
}
