/* ==========================================================================
   Doc Willow — Séverin d'Estais
   Design system : ivoire chaud · encre profonde · vert saule
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #FBF9F3;
  --paper-2:    #F4F0E6;
  --paper-3:    #EBE6D9;
  --surface:    #FFFFFF;
  --ink:        #16170F;
  --ink-2:      #4C4E42;
  --ink-3:      #83867A;
  --line:       rgba(22, 23, 15, .13);
  --line-soft:  rgba(22, 23, 15, .07);

  --willow:      #457549;
  --willow-ink:  #2C5330;
  --willow-soft: #DFEEDD;
  --willow-tint: rgba(69, 117, 73, .09);

  --sky:        #2C6B93;
  --sky-soft:   #DEEAF3;

  --amber:      #B87A28;
  --amber-soft: #F6ECD9;

  --shadow-s: 0 1px 2px rgba(22,23,15,.05), 0 2px 8px rgba(22,23,15,.05);
  --shadow-m: 0 2px 6px rgba(22,23,15,.05), 0 12px 32px -8px rgba(22,23,15,.14);
  --shadow-l: 0 4px 12px rgba(22,23,15,.06), 0 28px 60px -18px rgba(22,23,15,.24);

  --font-display: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --wrap: 1180px;
  --col: 700px;
  --nav-h: 62px;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --ease: cubic-bezier(.22, .68, .28, 1);
  color-scheme: light;
}

html[data-theme='dark'] {
  --paper:      #0D0F0C;
  --paper-2:    #141713;
  --paper-3:    #1C201A;
  --surface:    #171B16;
  --ink:        #F3F1E7;
  --ink-2:      #B5B8AA;
  --ink-3:      #83877A;
  --line:       rgba(243, 241, 231, .14);
  --line-soft:  rgba(243, 241, 231, .08);

  --willow:      #8FC38C;
  --willow-ink:  #A9D6A6;
  --willow-soft: rgba(143, 195, 140, .13);
  --willow-tint: rgba(143, 195, 140, .10);

  --sky:        #7FB6DA;
  --sky-soft:   rgba(127, 182, 218, .12);

  --amber:      #DDA758;
  --amber-soft: rgba(221, 167, 88, .12);

  --shadow-s: 0 1px 2px rgba(0,0,0,.4);
  --shadow-m: 0 2px 6px rgba(0,0,0,.35), 0 14px 34px -10px rgba(0,0,0,.6);
  --shadow-l: 0 4px 14px rgba(0,0,0,.4), 0 30px 70px -20px rgba(0,0,0,.75);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv05' 1, 'ss03' 1;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg, iframe, video { display: block; max-width: 100%; }
/* garde-fou : toute icône inline non stylée reste à la taille du texte */
a > svg, p > svg, h1 > svg, h2 > svg, h3 > svg, span > svg:not([class]) {
  width: 1em; height: 1em; display: inline-block; vertical-align: -.1em;
}
.ico { width: .92em !important; height: .92em !important; display: inline-block; vertical-align: -.06em; margin-left: .25em; opacity: .75; }
.note__icon svg { width: 100%; height: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--willow-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
::selection { background: var(--willow); color: #fff; }
:focus-visible { outline: 2px solid var(--willow); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }
.col  { width: 100%; max-width: var(--col); margin-inline: auto; }
.stack > * + * { margin-top: 1.05em; }
.center { text-align: center; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.012em; line-height: 1.06; }
h1 { font-size: clamp(2.9rem, 8.5vw, 5.1rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.05rem); line-height: 1.1; }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.18; }
h4 {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 620;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4;
}
p { text-wrap: pretty; }
strong, b { font-weight: 640; color: var(--ink); }
em { font-style: italic; }

.eyebrow {
  font-size: .715rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3); display: block;
}
.lead { font-size: clamp(1.08rem, 1.8vw, 1.24rem); line-height: 1.66; color: var(--ink-2); }
.lead strong { color: var(--ink); }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.serif-it { font-family: var(--font-display); font-style: italic; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line-soft); }
.nav__in { display: flex; align-items: center; gap: 18px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand__mark { width: 26px; height: 26px; flex: 0 0 auto; color: var(--willow); }
.brand__name { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__mark { transition: transform .4s var(--ease); }

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link {
  position: relative; display: inline-block; padding: 8px 13px; border-radius: 8px;
  font-size: .935rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color .2s, background-color .2s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); background: var(--willow-tint); }
.nav__link.is-active { color: var(--ink); font-weight: 600; }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1.5px;
  background: var(--willow); border-radius: 2px;
}

.nav__group { position: relative; }
.nav__group > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__caret { width: 9px; height: 9px; transition: transform .25s var(--ease); }
.nav__group:hover .nav__caret, .nav__group:focus-within .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 232px;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-m);
  box-shadow: var(--shadow-m); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: all .22s var(--ease);
}
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a {
  display: block; padding: 9px 12px; border-radius: 9px; font-size: .92rem;
  color: var(--ink-2); text-decoration: none;
}
.nav__menu a:hover { background: var(--willow-tint); color: var(--ink); }
.nav__menu a small { display: block; font-size: .76rem; color: var(--ink-3); margin-top: 1px; }

.nav__tools { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line-soft); border-radius: 50%; background: transparent;
  color: var(--ink-2); cursor: pointer; transition: all .22s var(--ease);
}
.icon-btn:hover { color: var(--ink); border-color: var(--line); background: var(--willow-tint); transform: translateY(-1px); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-btn .moon { display: none; }
html[data-theme='dark'] .theme-btn .sun { display: none; }
html[data-theme='dark'] .theme-btn .moon { display: block; }

.burger { display: none; }
.burger__close { display: none; }
body.menu-open .burger__open { display: none; }
body.menu-open .burger__close { display: block; }
body.menu-open .burger { background: var(--willow-tint); border-color: var(--line); }

/* Mobile menu */
.mobile {
  position: fixed; inset: 0; z-index: 95;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 18px) clamp(20px, 6vw, 40px) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile a {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.6rem);
  color: var(--ink); text-decoration: none; padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0; transform: translateY(10px);
}
.mobile.is-open a { animation: mIn .5s var(--ease) forwards; }
.mobile a:nth-child(1) { animation-delay: .05s } .mobile a:nth-child(2) { animation-delay: .09s }
.mobile a:nth-child(3) { animation-delay: .13s } .mobile a:nth-child(4) { animation-delay: .17s }
.mobile a:nth-child(5) { animation-delay: .21s } .mobile a:nth-child(6) { animation-delay: .25s }
.mobile a:nth-child(7) { animation-delay: .29s } .mobile a:nth-child(8) { animation-delay: .33s }
.mobile a span { font-family: var(--font-sans); font-size: .74rem; letter-spacing: .12em; color: var(--ink-3); }
.mobile__social { display: flex; gap: 10px; margin-top: 26px; }
@keyframes mIn { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: inline-grid; }
  body.menu-open { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: #08090A; overflow: hidden; isolation: isolate; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .82;
  animation: kb 26s var(--ease) infinite alternate;
}
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.11); } }
@media (prefers-reduced-motion: reduce) { .hero__img { animation: none; } }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(125% 95% at 20% 58%, rgba(0,0,0,.82) 0%, rgba(0,0,0,.46) 44%, rgba(0,0,0,.10) 78%),
    linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,.34) 70%, var(--paper) 100%);
}
.hero__grain {
  position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero__in { position: relative; z-index: 3; }

/* Home hero */
.hero--home { min-height: min(84svh, 760px); display: flex; align-items: flex-end; }
.hero--home .hero__in { padding-block: clamp(64px, 14vh, 140px); width: 100%; }
.hero__eyebrow { color: rgba(255,255,255,.72); letter-spacing: .26em; font-size: clamp(.62rem, 1.6vw, .74rem); }
.hero__title {
  font-family: var(--font-display); color: #fff; line-height: .92;
  font-size: clamp(3.6rem, 15vw, 9.5rem); letter-spacing: -.03em;
  margin-top: .22em; text-shadow: 0 4px 60px rgba(0,0,0,.5);
}
.hero__title em { font-style: italic; }
.hero__sub {
  color: rgba(255,255,255,.86); max-width: 34ch; margin-top: 1.15em;
  font-size: clamp(1rem, 2.2vw, 1.2rem); line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }
.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 12px;
}
.hero__scroll::after {
  content: ''; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; border-radius: 2px;
  background: rgba(255,255,255,.8); transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } }

/* Inner page hero */
.hero--page { min-height: clamp(270px, 44vh, 440px); display: flex; align-items: flex-end; }
.hero--page .hero__in { padding-block: clamp(34px, 7vh, 66px); width: 100%; }
.hero--page .hero__title { font-size: clamp(2.7rem, 8vw, 5.2rem); }
.hero--page .hero__eyebrow { color: rgba(255,255,255,.62); }
.hero--page .hero__title { margin-top: .18em; }

/* ==========================================================================
   Buttons & chips
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 100px; border: 1px solid transparent;
  font-size: .93rem; font-weight: 550; letter-spacing: -.005em; text-decoration: none;
  cursor: pointer; transition: all .24s var(--ease); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--willow-ink); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-m); }
html[data-theme='dark'] .btn--primary { background: var(--ink); color: #0D0F0C; }
html[data-theme='dark'] .btn--primary:hover { background: var(--willow); color: #0D0F0C; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--willow-tint); border-color: var(--willow); color: var(--ink); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.11); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--light:hover { background: #fff; color: #14150F; border-color: #fff; transform: translateY(-2px); }
.btn--solid-light { background: #fff; color: #14150F; }
.btn--solid-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(0,0,0,.4); color: #14150F; }
.btn--sm { padding: 9px 17px; font-size: .86rem; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 100px; background: var(--paper-2);
  border: 1px solid var(--line-soft); font-size: .8rem; font-weight: 500; color: var(--ink-2);
}

/* Social buttons */
.socials { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.social {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px;
  border-radius: 100px; color: #fff; text-decoration: none; font-size: .9rem; font-weight: 550;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), filter .24s;
}
.social svg { width: 16px; height: 16px; }
.social:hover { transform: translateY(-2px); color: #fff; box-shadow: var(--shadow-m); filter: saturate(1.15); }
.social--fb { background: #1F5FA8; }
.social--yt { background: #C4302B; }
.social--ig { background: linear-gradient(115deg, #8B3AB0, #C13584 55%, #E1306C); }

/* ==========================================================================
   Sections & page shell
   ========================================================================== */
.page { position: relative; padding-bottom: clamp(60px, 10vw, 110px); }
.page__grid { display: block; }
@media (min-width: 1120px) {
  .page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: clamp(36px, 5vw, 72px); align-items: start; }
  .page__grid > .page__main { min-width: 0; max-width: var(--col); margin-inline: auto; }
}
.section { padding-block: clamp(44px, 7vw, 88px); }
.section--tight { padding-block: clamp(30px, 4.5vw, 54px); }
.section-head { margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-title {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem); line-height: 1.1; text-align: center;
}
.section-title--left { text-align: left; font-style: normal; }
.rule { height: 1px; background: var(--line-soft); border: 0; margin-block: clamp(34px, 5vw, 60px); }
.rule--leaf { position: relative; overflow: visible; }
.rule--leaf::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 12px;
  transform: translate(-50%, -50%); background: var(--paper);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 12'%3E%3Cpath d='M22 1c4 0 7 3 7 5s-3 5-7 5-7-3-7-5 3-5 7-5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Table of contents */
.toc { display: none; }
@media (min-width: 1120px) {
  .toc { display: block; position: sticky; top: calc(var(--nav-h) + 32px); font-size: .875rem; }
  .toc__label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
  .toc ol { list-style: none; padding: 0; margin: 0; border-left: 1.5px solid var(--line-soft); }
  .toc li { margin: 0; }
  .toc a {
    display: block; padding: 6px 0 6px 14px; margin-left: -1.5px;
    color: var(--ink-3); text-decoration: none; line-height: 1.4;
    border-left: 1.5px solid transparent; transition: all .22s var(--ease);
  }
  .toc a:hover { color: var(--ink); }
  .toc a.is-active { color: var(--ink); font-weight: 550; border-left-color: var(--willow); }
  .toc .sub a { padding-left: 26px; font-size: .82rem; }
}

/* ==========================================================================
   Cards / callouts
   ========================================================================== */
.callout {
  position: relative; padding: clamp(20px, 3vw, 28px) clamp(20px, 3.2vw, 32px);
  border-radius: var(--r-m); background: var(--willow-soft); color: var(--ink);
  font-size: 1.02rem; line-height: 1.68;
}
.callout--sky { background: var(--sky-soft); }
.callout--paper { background: var(--paper-2); border: 1px solid var(--line-soft); }
.callout--amber { background: var(--amber-soft); }
.callout > * + * { margin-top: .8em; }
.callout h3 { text-align: center; color: var(--sky); margin-bottom: .4em; }
html[data-theme='dark'] .callout h3 { color: var(--sky); }

.note {
  display: flex; gap: 14px; padding: 16px 20px; border-radius: var(--r-m);
  background: var(--paper-2); border: 1px solid var(--line-soft);
  font-style: italic; color: var(--ink-2); font-size: .97rem; line-height: 1.6;
}
.note__icon { flex: 0 0 auto; width: 20px; height: 20px; color: var(--willow); margin-top: 3px; }

.quote-block {
  padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 46px);
  background: var(--willow-soft); border-radius: var(--r-l); text-align: center;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.48;
}
.quote-block em { font-style: italic; }

/* Feature cards (home) */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line-soft);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: var(--line); color: var(--ink); }
.feature__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.07); }
.feature__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.feature__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.feature__desc { font-size: .885rem; color: var(--ink-3); line-height: 1.5; }
.feature__go { margin-top: auto; padding-top: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--willow-ink); display: inline-flex; align-items: center; gap: 6px; }
.feature__go svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.feature:hover .feature__go svg { transform: translateX(4px); }

/* ==========================================================================
   Video facades
   ========================================================================== */
.video {
  position: relative; width: 100%; border-radius: var(--r-m); overflow: hidden;
  background: #0B0C0A; border: 1px solid var(--line-soft); box-shadow: var(--shadow-s);
}
.video__btn {
  display: block; position: relative; width: 100%; padding: 0; border: 0; cursor: pointer;
  background: #0B0C0A; aspect-ratio: 16 / 9;
}
.video--portrait .video__btn { aspect-ratio: 9 / 16; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.video__btn::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,.55) 100%);
  transition: opacity .35s;
}
.video__btn:hover img { transform: scale(1.05); }
.video__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.94); display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.4); transition: transform .3s var(--ease), background-color .3s;
}
.video__play svg { width: 20px; height: 20px; margin-left: 3px; color: #14150F; }
.video__btn:hover .video__play { transform: translate(-50%, -50%) scale(1.11); background: #fff; }
.video__meta {
  display: block; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 14px 16px; text-align: left; color: #fff;
}
.video__name { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; text-shadow: 0 1px 10px rgba(0,0,0,.75); }
.video__by { display: block; font-size: .75rem; opacity: .82; margin-top: 3px; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video--portrait iframe { aspect-ratio: 9 / 16; }
.video__caption { font-size: .85rem; color: var(--ink-3); text-align: center; margin-top: 9px; line-height: 1.45; }

.video-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .video-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 560px) { .video-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .video-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Drive / audio facade */
.media-card {
  border-radius: var(--r-m); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-s);
}
.media-card__btn {
  position: relative; width: 100%; border: 0; cursor: pointer; padding: 26px 20px;
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: linear-gradient(135deg, #1D211C 0%, #0F120E 100%); color: #fff;
  transition: filter .3s;
}
html[data-theme='dark'] .media-card__btn { background: linear-gradient(135deg, #232722 0%, #14170F 100%); }
.media-card__btn:hover { filter: brightness(1.16); }
.media-card__play {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.95);
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.media-card__play svg { width: 17px; height: 17px; margin-left: 2px; color: #14150F; }
.media-card__btn:hover .media-card__play { transform: scale(1.09); }
.media-card__wave { flex: 1; min-width: 0; display: flex; align-items: center; gap: 3px; height: 34px; }
.media-card__wave i {
  display: block; flex: 1 1 auto; background: rgba(255,255,255,.42); border-radius: 2px;
  animation: wv 1.9s ease-in-out infinite alternate;
}
@keyframes wv { from { height: 22%; } to { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .media-card__wave i { animation: none; height: 55%; } }
.media-card__label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; opacity: .68; flex: 0 0 auto; }
.media-card iframe { width: 100%; height: 220px; border: 0; display: block; background: #000; }
.media-card--video iframe { aspect-ratio: 16 / 9; height: auto; }
.media-card__caption { padding: 14px 18px 16px; text-align: center; }
.media-card__caption strong { display: block; font-size: .95rem; }
.media-card__caption em { display: block; font-size: .9rem; color: var(--ink-2); font-style: italic; }
.media-card__caption span { display: block; font-size: .82rem; color: var(--ink-3); margin-top: 3px; }

.prod-pair { display: grid; gap: 14px; }
.prod-arrow { display: grid; place-items: center; color: var(--ink-3); }
.prod-arrow svg { width: 22px; height: 22px; }
.prod-cols { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .prod-cols { grid-template-columns: repeat(2, 1fr); gap: 26px; } }

/* ==========================================================================
   Concerts
   ========================================================================== */
.gigs { display: flex; flex-direction: column; gap: 2px; }
.gig {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center;
  padding: 15px 4px; border-bottom: 1px solid var(--line-soft);
  transition: background-color .25s, padding-left .25s var(--ease);
}
.gig:hover { background: var(--willow-tint); padding-left: 12px; }
.gig__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; padding: 7px 10px; border-radius: 12px;
  background: var(--paper-2); border: 1px solid var(--line-soft);
}
.gig__day { font-family: var(--font-display); font-size: 1.32rem; line-height: 1; }
.gig__month { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.gig__body { min-width: 0; }
.gig__name { font-weight: 550; line-height: 1.35; }
.gig__meta { font-size: .845rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 2px; }
.gig__meta span { display: inline-flex; align-items: center; gap: 5px; }
.gig__meta svg { width: 12px; height: 12px; opacity: .75; }

/* ==========================================================================
   Courses
   ========================================================================== */
.course { padding-block: clamp(26px, 4vw, 42px); border-top: 1px solid var(--line-soft); }
.course:first-of-type { border-top: 0; }
.course__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 14px; }
.course__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; }
.course__title a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--willow), var(--willow)); background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.course__title a:hover { background-size: 100% 1.5px; }
.course__price {
  font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--willow-ink);
  background: var(--willow-soft); padding: 4px 11px; border-radius: 100px; white-space: nowrap;
}
.course__sub { font-size: .9rem; color: var(--ink-3); width: 100%; margin-top: -4px; }
.course__grid { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 680px) { .course__grid { grid-template-columns: 1fr 220px; gap: 30px; } }
@media (min-width: 680px) { .course__grid--rev { grid-template-columns: 220px 1fr; } .course__grid--rev .course__media { order: -1; } }
.course__media { border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-m); aspect-ratio: 1; }
.course__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.course__media:hover img { transform: scale(1.06); }
.course ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.course li { position: relative; padding-left: 22px; font-size: .965rem; line-height: 1.58; color: var(--ink-2); }
.course li::before {
  content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px;
  border-radius: 50% 0 50% 50%; background: var(--willow); transform: rotate(45deg); opacity: .75;
}

/* Reviews */
.reviews { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .reviews { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.review {
  padding: 22px 24px; border-radius: var(--r-m); background: var(--surface);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-s);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.review__head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.review__avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber-soft); color: var(--amber); font-weight: 700; font-size: .88rem; flex: 0 0 auto;
}
.review__name { font-weight: 600; font-size: .95rem; }
.review__stars { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--amber); font-size: .82rem; font-weight: 600; }
.review__stars svg { width: 14px; height: 14px; }
.review__text { font-size: .955rem; line-height: 1.62; color: var(--ink-2); }
.review__text strong { color: var(--willow-ink); }

/* ==========================================================================
   Gallery + lightbox
   ========================================================================== */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.gallery button {
  position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  border-radius: var(--r-m); aspect-ratio: 1; background: var(--paper-3);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery button:hover img { transform: scale(1.07); }
.gallery button::after {
  content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.16); opacity: 0; transition: opacity .35s;
}
.gallery button:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  background: rgba(8,9,8,.94); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  padding: 20px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 86svh; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,.7); }
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08);
  color: #fff; cursor: pointer; transition: background-color .25s, transform .25s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.2); transform: scale(1.06); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav svg, .lightbox__close svg { width: 18px; height: 18px; }
.lightbox__nav--prev { left: 14px; top: 50%; margin-top: -23px; }
.lightbox__nav--next { right: 14px; top: 50%; margin-top: -23px; }
@media (max-width: 620px) { .lightbox__nav { bottom: 22px; top: auto; margin-top: 0; } .lightbox__nav--prev { left: calc(50% - 58px); } .lightbox__nav--next { right: calc(50% - 58px); } }

/* ==========================================================================
   Accordions (répertoire mariages)
   ========================================================================== */
.acc { border-top: 1px solid var(--line-soft); }
.acc__item { border-bottom: 1px solid var(--line-soft); }
.acc__btn {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 4px;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--ink);
  transition: color .2s, padding-left .25s var(--ease);
}
.acc__btn:hover { color: var(--willow-ink); padding-left: 10px; }
.acc__icon {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .25s, border-color .25s;
}
.acc__icon svg { width: 11px; height: 11px; }
.acc__btn[aria-expanded='true'] .acc__icon { transform: rotate(90deg); background: var(--willow); border-color: var(--willow); color: #fff; }
.acc__count { margin-left: auto; font-family: var(--font-sans); font-size: .78rem; color: var(--ink-3); letter-spacing: .06em; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { padding: 4px 0 22px; }

.songs { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .songs { grid-template-columns: repeat(2, 1fr); } }
.song {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px;
  text-decoration: none; color: var(--ink); background: var(--paper-2);
  border: 1px solid transparent; transition: all .25s var(--ease);
}
.song:hover { background: var(--surface); border-color: var(--line-soft); box-shadow: var(--shadow-s); transform: translateY(-2px); color: var(--ink); }
.song__thumb { flex: 0 0 auto; width: 52px; height: 38px; border-radius: 7px; overflow: hidden; background: var(--paper-3); }
.song__thumb img { width: 100%; height: 100%; object-fit: cover; }
.song__body { display: block; min-width: 0; flex: 1; }
.song__t { display: block; font-size: .875rem; font-weight: 550; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song__a { display: block; font-size: .765rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song__go { margin-left: auto; flex: 0 0 auto; color: var(--ink-3); opacity: 0; transition: opacity .25s, transform .25s; }
.song__go svg { width: 14px; height: 14px; }
.song:hover .song__go { opacity: 1; transform: translateX(2px); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-card {
  border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-m); padding: clamp(26px, 5vw, 44px); text-align: center;
}
.contact-name { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.1; }
.contact-list { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; }
.contact-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-m);
  text-decoration: none; color: var(--ink); transition: background-color .25s, transform .25s var(--ease);
  text-align: left;
}
.contact-row:hover { background: var(--willow-tint); color: var(--ink); transform: translateX(3px); }
.contact-row__icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--willow-soft); color: var(--willow-ink);
}
.contact-row__icon svg { width: 17px; height: 17px; }
.contact-row > span:last-child { display: block; min-width: 0; flex: 1; }
.contact-row__label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.contact-row__value { display: block; font-size: 1.02rem; font-weight: 500; line-height: 1.4; word-break: break-word; }

.ascii {
  font-family: var(--font-mono); font-size: clamp(.62rem, 2.1vw, .84rem); line-height: 1.35;
  white-space: pre; color: var(--ink-2); letter-spacing: .04em;
  padding: 20px 14px; border-radius: var(--r-m); background: var(--paper-2);
  border: 1px solid var(--line-soft); overflow-x: auto; text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--line-soft); padding-block: clamp(44px, 6vw, 72px) clamp(30px, 4vw, 44px); text-align: center; background: var(--paper); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; margin-bottom: 26px; }
.footer__nav a {
  padding: 6px 12px; border-radius: 8px; font-size: .92rem; color: var(--ink-2); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.footer__nav a:hover { color: var(--ink); background: var(--willow-tint); }
.footer__branch { width: min(260px, 62vw); margin: 0 auto 22px; opacity: .92; mix-blend-mode: multiply; }
html[data-theme='dark'] .footer__branch { mix-blend-mode: screen; filter: invert(1) hue-rotate(150deg) brightness(1.25); opacity: .5; }
.footer__sites { font-size: .9rem; color: var(--ink-2); }
.footer__sites a { color: var(--willow-ink); }
.footer__sig { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; margin-top: 14px; }
.footer__sig a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.footer__sig a:hover { border-bottom-color: var(--willow); }
.footer__loc { font-size: .82rem; letter-spacing: .1em; color: var(--ink-3); margin-top: 8px; text-transform: uppercase; }
.footer__socials { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.footer__mini { margin-top: 26px; font-size: .74rem; color: var(--ink-3); }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__scroll::after { animation: none; }
}

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 1.8rem; }
.mt-l { margin-top: 2.8rem; }
.txt-c { text-align: center; }
.flex-c { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.grid-2 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 660px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.flags { font-size: 1.35rem; letter-spacing: .32em; }
