/* =========================================================
   LES 3 C — Compagnie Christine Corday
   Design: editorial & nature-inspired
   ========================================================= */

/* Polices auto-hébergées (latin), licences SIL OFL */
/* Cormorant Garamond — https://fonts.google.com/specimen/Cormorant+Garamond */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-italic.woff2") format("woff2");
}
/* Source Sans 3 — https://fonts.google.com/specimen/Source+Sans+3 */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --cream: #f7f3ea;
  --cream-deep: #efe8d8;
  --paper: #fffdf7;
  --inkk: #2c2a25;
  --ink: #140C0B;
  --ink-softt: #5c574c;
  --ink-soft: #5C454C;
  --sage: #7c8f6a;
  --sage-deep: #5f7250;
  --rose: #c26b6b;
  --rose-soft: #d9a0a0;
  --gold: #b39457;
  --line: rgba(92, 87, 76, 0.18);
  --shadow: 0 18px 40px -22px rgba(44, 42, 37, 0.4);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Avenir Next", Helvetica, Arial, sans-serif;

  --container: 1160px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.15em; }
a { color: var(--sage-deep); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--rose); }

.serif-em { font-family: var(--font-serif); font-style: italic; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section.soft { background: var(--cream-deep); }
.section.paper { background: var(--paper); }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rose);
  margin: 0 0 0.6rem;
}

.rule {
  width: 64px; height: 3px; background: var(--gold);
  border: 0; margin: 1.4rem 0 2.2rem; border-radius: 2px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.85rem;
  padding: 0.55rem 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: var(--cream); }
.topbar a:hover { color: var(--gold); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem var(--gutter);
  max-width: var(--container); margin: 0 auto;
}
.brand { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }
.brand span { color: var(--rose); }
.brand small { display:block; font-family: var(--font-sans); font-size: .62rem; font-weight:400; letter-spacing:.28em; text-transform:uppercase; color: var(--ink-soft); margin-top:.15rem; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); font-size: 0.98rem; font-weight: 500; position: relative; padding: .3rem 0; }
.nav a:hover, .nav a.active { color: var(--rose); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--rose);
}

/* ---------- Sous-menu Spectacles (desktop) ---------- */
.nav .has-sub { position: relative; }
.nav .has-sub > a::before {
  content: "▾"; font-size: .62em; margin-left: .3em; vertical-align: .1em;
}
.nav .sub {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 230px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: .6rem 0;
  list-style: none; margin: 0;
}
.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub { display: block; }
.nav .sub a {
  display: block; padding: .5rem 1.2rem; white-space: nowrap; font-size: .92rem;
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-close { display: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--paper); }
.hero .bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,26,22,.55), rgba(171, 111, 97, 0.72)); }
.hero .content {
  position: relative; z-index: 2;
  padding: clamp(5rem, 14vw, 10rem) 0;
  max-width: 760px;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold); }
.hero p { color: rgba(255,255,255,.92); font-size: 1.2rem; }
.hero .badge { display:inline-block; font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; border:1px solid rgba(255,255,255,.4); padding:.45rem .9rem; border-radius:999px; margin-top:.4rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: .02em;
  background: var(--paper); color: var(--ink); border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); color: var(--ink); box-shadow: var(--shadow); }
.btn.solid { background: var(--rose); color: #fff; }
.btn.solid:hover { background: #b45353; color:#fff; }
.btn.outline { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn.outline:hover { border-color: var(--rose); color: var(--rose); }

/* ---------- Cards / Spectacles grid ---------- */
.grid { display: grid; gap: 1.8rem; }
.grid.shows { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.bios { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.images { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-deep); }
.card figure img { width: 100%; height: 100%; object-fit: cover; display:block; transition: transform .5s ease; }
.card:hover figure img { transform: scale(1.04); }
.card .body { padding: 1.6rem 1.6rem 1.9rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card h3 { margin-bottom: .2rem; }
.card .tag { font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--rose); font-weight:600; }
.card .meta { color: var(--ink-soft); font-size: .95rem; }
.card .more { margin-top: auto; padding-top: .9rem; font-weight:600; }

/* ---------- Gallery ---------- */
.gallery { display:grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.2rem; }
.gallery figure { margin:0; border-radius:var(--radius); overflow:hidden; background:var(--cream-deep); }
.gallery img { width:100%; height:100%; object-fit:cover; display:block; aspect-ratio: 4/3; }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 2/1; }

.strip { width:100%; height:80px; object-fit:cover; border-radius: 10px; display:block; }

/* ---------- Two-column info / distribution ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 4rem); align-items: start; }
.split.rev { grid-template-columns: 1fr 1.2fr; }

.callout {
  border-left: 4px solid var(--gold);
  background: var(--cream-deep);
  padding: 1.6rem 1.8rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; line-height: 1.5;
  margin: 2rem 0;
}
.callout cite { display:block; font-family:var(--font-sans); font-style:normal; font-size:.85rem; color:var(--ink-soft); margin-top:.7rem; }

/* ---------- Credit list ---------- */
.credits { list-style: none; margin: 0; padding: 0; }
.credits li {
  display: flex; gap: 1.2rem; padding: 1rem 0;
  border-bottom: 1px solid var(--line); font-size: .98rem;
}
.credits li:last-child { border-bottom: 0; }
.credits .role { width: 42%; flex-shrink: 0; color: var(--ink-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.credits .role strong { color: var(--rose); display:block; }
.credits .music { list-style: none; margin: 0; padding: 0; }
.credits .music li { display: block; padding: 0; margin: 0 0 .35rem; border: 0; font-size: inherit; }
.credits .music li:last-child { margin-bottom: 0; }
.credits li > span:last-child { display: block; width: 58%; }

/* ---------- Bio / page person ---------- */
.bio { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.bio img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 3/4; box-shadow: var(--shadow); }

/* ---------- Agenda ---------- */
.agenda-year { margin-bottom: 3rem; }
.agenda-year h3 {
  font-size: 2rem; border-bottom: 2px solid var(--gold); padding-bottom: .5rem;
  display: inline-flex; align-items: center; gap: .9rem;
}
.agenda-year .soon { font-size:.75rem; letter-spacing:.2em; text-transform:uppercase; color:var(--rose); border:1px solid var(--rose); padding:.2rem .7rem; border-radius:999px; }
.entry {
  display: grid; grid-template-columns: 170px 1fr; gap: 1.6rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.entry:last-child { border-bottom: 0; }
.entry .date { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--sage-deep); }
.entry .desc { color: var(--ink-soft); }

/* ---------- Video ---------- */
.video-wrap { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.contact-card .val { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); }
.contact-card address { font-style: normal; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 3.5rem 0 2.5rem; margin-top: auto; }
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.footer-grid ul { list-style:none; margin:0; padding:0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .88rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-soft); }
.highlight { color: var(--rose); font-weight: 600; }
.hero-back { margin-top: 2rem; }
.center { margin-left:auto; margin-right:auto; }
.maxw { max-width: 760px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .split.rev, .bio, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .bio img { max-width: 320px; }
  .gallery .wide { grid-column: span 1; }
}

@media (max-width: 720px) {
  .site-header {
    backdrop-filter: none;
    background: var(--cream);
  }
  .nav-overlay {
    position: fixed; inset: 0; z-index: 55;
    background: rgba(28, 26, 22, 0.55);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 340px; background-color: var(--rose); box-shadow: -20px 0 50px rgba(0,0,0,.25); transform: translateX(100%); transition: transform .3s ease; padding: 5rem 2rem 2rem; z-index: 70; }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav li { width: 100%; }
  .nav a { font-size: 1.3rem; color: var(--cream); display: block; width: 100%; padding: 1.1rem 0; border-bottom: 1px solid rgba(247,243,234,.18); }
  .nav a:hover, .nav a.active { color: #fff; }
  .nav a.active::after { display: none; }
  .nav .has-sub > a::before { content: none; }
  .nav .sub {
    position: static; transform: none; display: block; min-width: 0;
    background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0;
  }
  .nav .sub a {
    font-size: 1.05rem; padding: .8rem 0 .8rem 1.2rem; border-bottom: 1px dashed rgba(247,243,234,.25);
  }
  .nav-close { position:absolute; top:1.4rem; right:1.4rem; background:none;border:0;font-size:1.6rem;cursor:pointer;color:var(--cream); display:block; z-index: 5; }
  .entry { grid-template-columns: 1fr; gap: .2rem; }
  .credits li { flex-direction: column; gap: .3rem; }
  .credits .role { width: 100%; }
  .credits li > span:last-child { width: 100%; }
}

