
/* Mise en page : bandes pleine largeur alternées (kaolin / indigo), une section par discipline,
   frise rythmique entre les sections comme une ligne de tambour. */
:root {
  --kaolin: #eceee9;      /* fond clair, blanc de kaolin */
  --kaolin-dim: #dfe2dc;
  --indigo: #1d2647;      /* teinture indigo */
  --indigo-soft: #2c3863;
  --ocre: #c48a1e;        /* ocre jaune */
  --lat: #9c3d22;         /* latérite */
  --ink: #171a26;
  --muted: #565c6e;
  --line: #c3c7cf;
  --on-indigo: #eceee9;
  --bg: var(--kaolin);
  --fg: var(--ink);
  --surface: #f6f7f4;

  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-ui: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Newsreader", Georgia, "Times New Roman", serif;
  --f-sign: "Mrs Saint Delafield", "Brush Script MT", cursive;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11152a; --fg: #e4e6ea; --surface: #1a2040; --kaolin-dim: #161b35;
    --muted: #a3a9ba; --line: #333b5e; --indigo: #0b0e1d; --indigo-soft: #232c52;
    --ocre: #dba53a; --lat: #d0674a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #11152a; --fg: #e4e6ea; --surface: #1a2040; --kaolin-dim: #161b35;
  --muted: #a3a9ba; --line: #333b5e; --indigo: #0b0e1d; --indigo-soft: #232c52;
  --ocre: #dba53a; --lat: #d0674a; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 1.1rem; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; }

.wrap { max-width: 72rem; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(3rem, 7vw, 6rem); }
.band--indigo { background: var(--indigo); color: var(--on-indigo); }
.band--dim { background: var(--kaolin-dim); }

h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 400; letter-spacing: -0.015em; }
h3 { font-family: var(--f-ui); font-size: 1.02rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1.3; }
p { margin: 0; }
.eyebrow { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocre); }
.lede { max-width: 38em; color: var(--muted); font-size: 1.2rem; }
.band--indigo .lede { color: #b9bfd3; }
.stack { display: grid; gap: 1rem; }
.note { font-family: var(--f-mono); font-size: 0.78rem; color: var(--lat); }
.band--indigo .note { color: var(--ocre); }

/* Navigation */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--indigo); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--indigo); color: var(--on-indigo); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none; }
.brand__sign { font-family: var(--f-sign); font-size: 2.2rem; line-height: 1; color: var(--ocre); }
.brand__name { font-family: var(--f-ui); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; font-family: var(--f-ui); font-size: 0.9rem; }
.nav a { text-decoration: none; opacity: 0.85; }
.nav a:hover { opacity: 1; color: var(--ocre); }

/* Accueil */
.hero { background: var(--indigo); color: var(--on-indigo); padding-block: clamp(3rem, 8vw, 6.5rem) 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero__sign { font-family: var(--f-sign); font-size: clamp(5rem, 15vw, 11rem); line-height: 0.8; color: var(--ocre); margin-bottom: 0.4rem; }
.hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 300; line-height: 1.2; }
.hero h1 strong { font-weight: 500; }
.hero__trio { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chip { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.75rem; border: 1px solid var(--indigo-soft); border-radius: 999px; text-decoration: none; }
.chip:hover { border-color: var(--ocre); color: var(--ocre); }
.hero__lede { margin-top: 1.6rem; max-width: 34em; color: #b9bfd3; }
.hero__art { aspect-ratio: 4 / 5; max-width: 100%; position: relative; }
.frise { height: 2.2rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }

.hero__photo { margin: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 25%; display: block; }

/* Visuels provisoires */
.ph { position: relative; background: var(--surface); border: 1px dashed var(--line); display: grid; place-items: end start; overflow: hidden; }
.ph canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph__label { position: relative; margin: 0.6rem; font-family: var(--f-mono); font-size: 0.72rem; background: var(--bg); color: var(--fg); padding: 0.2rem 0.5rem; }

.ph--img { border-style: solid; background: var(--surface); }
.ph--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* Galeries */
.head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.head > div { min-width: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.work { display: grid; gap: 0.6rem; }
.work .ph { aspect-ratio: 4 / 5; }
.work__meta { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); }
.band--indigo .work__meta { color: #9aa1b8; }
.band--indigo .ph { background: var(--indigo-soft); border-color: #3e4a78; }
.sculpt { grid-template-columns: 1.4fr 1fr 1fr; }
.sculpt .work:first-child .ph { aspect-ratio: auto; height: 100%; min-height: 18rem; }
.sculpt .work:first-child { grid-row: span 2; grid-template-rows: 1fr auto auto; }
.sculpt .work .ph { aspect-ratio: 1; }

.sculpt .work--wide { grid-column: 1 / -1; }
.sculpt .work--wide .ph { aspect-ratio: 16 / 7; }

.cover-photo { margin: 0; display: grid; gap: 0.5rem; }
.cover-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.expo__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.expo__grid > * { min-width: 0; }
.expo__photo { margin: 0; display: grid; gap: 0.5rem; }
.expo__photo img { width: 100%; display: block; }
.expo__dates { font-family: var(--f-mono); font-size: 0.9rem; color: var(--lat); letter-spacing: 0.04em; }

/* Musique */
.music { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.music > * { min-width: 0; }
.cover { aspect-ratio: 1; max-width: 100%; }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 2.6rem 1fr auto; gap: 1rem; align-items: center; padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.play { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; display: grid; place-items: center; }
.play:hover { background: var(--ocre); border-color: var(--ocre); color: var(--indigo); }
.play svg { width: 0.9rem; height: 0.9rem; fill: currentColor; }
.track__t { font-family: var(--f-ui); font-weight: 500; }
.track__s { font-size: 0.9rem; color: var(--muted); }
.track__d { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bars { display: flex; gap: 3px; align-items: end; height: 1.1rem; }
.bars i { width: 3px; background: var(--ocre); height: 30%; }
.is-playing .bars i { animation: beat 0.9s ease-in-out infinite alternate; }
.bars i:nth-child(2) { animation-delay: -0.3s; } .bars i:nth-child(3) { animation-delay: -0.6s; } .bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes beat { from { height: 20%; } to { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .is-playing .bars i { animation: none; height: 70%; } }

/* À propos */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about > * { min-width: 0; }
.portrait { aspect-ratio: 3 / 4; max-width: 100%; }
.prose { display: grid; gap: 1rem; max-width: 36em; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.facts dt { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-family: var(--f-ui); font-weight: 400; }

.about__side { position: sticky; top: 5rem; }
.facts--side { grid-template-columns: 1fr; margin-top: 0.4rem; }
.about__quote { margin: 0.6rem 0 0; padding-left: 1.2rem; border-left: 3px solid var(--ocre); font-style: italic; font-size: 1.25rem; max-width: 34em; }
.about__h { margin-top: 1.8rem; font-size: 1.5rem; }
.atouts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.atouts li { display: grid; gap: 0.25rem; padding-top: 0.8rem; border-top: 2px solid var(--ocre); }
.atouts strong { font-family: var(--f-ui); font-weight: 600; font-size: 1.05rem; }
.atouts span { color: var(--muted); font-size: 1rem; }
.parcours { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); display: grid; gap: 1rem; }
.parcours li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding-left: 1.2rem; position: relative; }
.parcours li::before { content: ""; position: absolute; left: -5px; top: 0.45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--lat); }
.parcours__an { font-family: var(--f-mono); font-size: 0.85rem; color: var(--lat); font-variant-numeric: tabular-nums; padding-top: 0.15rem; }

.portrait-photo { margin: 0; display: grid; gap: 0.5rem; }
.portrait-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 35% 12%; display: block; }
.work__txt { font-size: 0.98rem; color: var(--muted); font-style: italic; }
.critique__q { margin: 0; max-width: 52rem; display: grid; gap: 1.2rem; }
.critique__q p { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 3.2vw, 2.3rem); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.critique__q footer { font-family: var(--f-mono); font-size: 0.82rem; color: var(--muted); }
.critique__q strong { color: var(--lat); font-weight: 500; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact > * { min-width: 0; }
form { display: grid; gap: 0.9rem; }
label { display: grid; gap: 0.3rem; font-family: var(--f-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
input, select, textarea { font: inherit; font-family: var(--f-body); font-size: 1rem; text-transform: none; letter-spacing: 0; padding: 0.7rem 0.8rem; border: 1px solid #3e4a78; background: var(--indigo-soft); color: var(--on-indigo); border-radius: 2px; width: 100%; }
textarea { min-height: 8rem; resize: vertical; }
.btn { font-family: var(--f-ui); font-weight: 500; letter-spacing: 0.01em; padding: 0.8rem 1.4rem; background: var(--ocre); color: #1d2647; border: 0; cursor: pointer; justify-self: start; text-decoration: none; display: inline-block; }
.btn:hover { background: #e0aa45; }
.sent { font-family: var(--f-mono); font-size: 0.85rem; color: var(--ocre); }

.footer { padding-block: 2.5rem; font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; }

@media (max-width: 860px) {
  .hero__grid, .music, .about, .contact, .expo__grid { grid-template-columns: 1fr; }
  .gallery, .sculpt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sculpt .work:first-child { grid-row: auto; grid-column: span 2; }
  .sculpt .work--wide .ph { aspect-ratio: 4 / 3; }
  .sculpt .work:first-child .ph { min-height: 16rem; }
  .hero__art { max-width: 24rem; }
  .about__side { position: static; }
  .portrait, .portrait-photo { max-width: 22rem; }
}
@media (max-width: 520px) {
  .gallery, .sculpt { grid-template-columns: 1fr; }
  .sculpt .work:first-child { grid-column: auto; }
  .facts { grid-template-columns: 1fr; }
  .atouts { grid-template-columns: 1fr; }
  .parcours li { grid-template-columns: 1fr; gap: 0.2rem; }
  .nav ul { font-size: 0.82rem; gap: 0.2rem 0.9rem; }
}

/* ===== Compléments du site (pages multiples, FR/EN) ===== */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.hidden-field { position: absolute; left: -9999px; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; }

.nav__toggle { display: none; font-family: var(--f-ui); background: transparent; color: var(--on-indigo); border: 1px solid var(--indigo-soft); padding: 0.4rem 0.9rem; cursor: pointer; }
.nav__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; font-family: var(--f-ui); font-size: 0.86rem; font-weight: 400; letter-spacing: 0.01em; }
.nav a[aria-current="page"] { color: var(--ocre); opacity: 1; }
.nav__lang a { font-family: var(--f-mono); border: 1px solid var(--indigo-soft); padding: 0.1rem 0.45rem; }
@media (max-width: 760px) {
  .nav__toggle { display: inline-block; }
  .nav .nav__links { display: none; width: 100%; flex-direction: column; gap: 0.7rem; padding-block: 0.8rem 0.4rem; font-size: 1.05rem; }
  .nav .nav__links.is-open { display: flex; }
}

.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-head .lede { max-width: 40em; }
.narrow { max-width: 48rem; }

a.work { text-decoration: none; color: inherit; }
a.work h3 { transition: color 0.15s; }
a.work:hover h3 { color: var(--lat); }
.band--indigo a.work:hover h3 { color: var(--ocre); }
a.work:hover .ph--img img { transform: scale(1.02); }
.ph--img img { transition: transform 0.3s ease; }
@media (prefers-reduced-motion: reduce) { .ph--img img, a.work h3 { transition: none; } }
.flag { font-family: var(--f-mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.05em; color: var(--lat); white-space: nowrap; }
.band--indigo .flag { color: var(--ocre); }

.gallery--sculpt .work .ph { aspect-ratio: 4 / 5; }

.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--fg); }
.btn--ghost:hover { background: var(--ocre); color: #1d2647; border-color: var(--ocre); }
.band--indigo .btn--ghost { color: var(--on-indigo); border-color: var(--on-indigo); }
.btn--paper { background: var(--on-indigo); color: #1d2647; }
.cta-col { align-content: center; justify-items: start; }

/* Fiche œuvre */
.crumb { font-family: var(--f-mono); font-size: 0.82rem; margin-bottom: 1.6rem; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--lat); }
.detail__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.detail__grid > * { min-width: 0; }
.detail__imgs { display: grid; gap: 1rem; }
.detail__img { margin: 0; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.detail__img img { display: block; max-height: 80vh; width: auto; }
.detail__ph { aspect-ratio: 4 / 5; }
.detail__info { position: sticky; top: 5rem; }
.detail__txt { font-style: italic; font-size: 1.15rem; max-width: 30em; }

/* Expositions, pro */
.pro__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pro__grid > * { min-width: 0; }
.pro__aside { background: var(--kaolin-dim); padding: 1.6rem; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.docs li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; }
.instr { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.instr li { font-family: var(--f-mono); font-size: 0.85rem; padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; }
.soon { border: 1px dashed var(--line); padding: 1.2rem; color: var(--muted); }
.contact__mail { font-family: var(--f-mono); color: var(--ocre); }
.form { display: grid; gap: 0.9rem; }

/* Pied de page */
.footer { background: var(--indigo); color: #b9bfd3; padding-block: 3rem 2rem; }
.footer .brand { color: var(--on-indigo); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; align-content: start; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ocre); }
.footer__bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--indigo-soft); }
.footer .wrap { display: grid; justify-content: stretch; }

@media (max-width: 860px) {
  .detail__grid, .pro__grid { grid-template-columns: 1fr; }
  .detail__info { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.pro__grid h2, .pro__aside h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 0.6rem; }
.pro__aside { overflow-wrap: anywhere; }
.detail h1 { font-size: clamp(2rem, 4vw, 3rem); }
.narrow h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* actualités */
.news { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.news__item { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; scroll-margin-top: 5rem; }
.news__item > * { min-width: 0; }
.news__item--noimg { grid-template-columns: 1fr; max-width: 48rem; }
.news__item h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.news__img { margin: 0; }
.news__img img { display: block; width: 100%; height: auto; }
.news__tags { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0.8rem 0 0.2rem; color: var(--muted); }
.news__item .news__tags { margin-top: 0; }
.news__statut { padding: 0.1rem 0.45rem; border: 1px solid currentColor; margin-right: 0.4rem; }
.news__statut--en-cours { color: var(--lat); }
.news__statut--a-venir { color: var(--fg); }
@media (max-width: 760px) { .news__item { grid-template-columns: 1fr; } }
.news-card .ph--img img { width: 100%; height: 100%; object-fit: cover; }
.hero__sign { margin: 2.8rem 0 1.4rem; }
