:root {
  /* Palette « ciel de feu » */
  --aubergine: #26121B;
  --aubergine-deep: #1A0C13;
  --claret: #6B1A34;
  --madder: #CE3737;
  --rain: #FB6734;
  --prussian: #1B3854;
  /* Teintes dérivées pour le texte */
  --cream: #F6E6DB;
  --cream-soft: #D8BDB0;
  --peach: #FFB79C;
  --line: rgba(246, 230, 219, .18);
  --sunset: linear-gradient(90deg, #1B3854 0%, #6B1A34 35%, #CE3737 68%, #FB6734 100%);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--aubergine);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
p { margin: 0 0 1.2rem; }

.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--peach); margin-bottom: 1rem; font-weight: 400;
}
.eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--sunset); flex: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(38, 18, 27, .8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sunset); opacity: .85; }
.brand { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.nav { display: flex; gap: 2.2rem; }
.nav a { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; opacity: .88; transition: opacity .2s, color .2s; }
.nav a:hover { opacity: 1; color: var(--rain); }
.nav-ig { display: inline-flex; align-items: center; gap: .6rem; }
.nav-ig span { display: none; }
.menu-btn { display: none; background: none; border: 0; width: 32px; height: 32px; padding: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 4px; right: 4px; height: 1px; background: var(--cream); transition: transform .25s; }
.menu-btn span:first-child { top: 12px; }
.menu-btn span:last-child { top: 19px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,12,19,.55) 0%, rgba(26,12,19,.45) 30%, rgba(38,18,27,.9) 72%, var(--aubergine) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(56px, 10vh, 120px); max-width: 1280px; margin: 0 auto; width: 100%; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); margin-bottom: 2.2rem; color: #FFF1E7; }
.hero .eyebrow { color: var(--peach); font-weight: 500; text-shadow: 0 1px 12px rgba(26,12,19,.9); }

.btn {
  display: inline-block; padding: 15px 34px;
  background: var(--madder); color: #FFF1E7;
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--madder); transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--rain); border-color: var(--rain); color: var(--aubergine); }
.btn.dark { background: var(--rain); border-color: var(--rain); color: var(--aubergine); }
.btn.dark:hover { background: var(--cream); border-color: var(--cream); color: var(--aubergine); }

/* Sections */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section.blue { background: var(--prussian); }
.section.claret { background: var(--claret); }
.lead { max-width: 560px; color: var(--cream-soft); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin: 2rem 0 2.6rem; }
.filters button {
  background: none; border: 0; padding: 6px 0; cursor: pointer; font: inherit;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-soft);
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.filters button:hover { color: var(--cream); }
.filters button.active { color: var(--rain); border-color: var(--rain); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: var(--aubergine-deep);
  aspect-ratio: 4 / 5; cursor: zoom-in; overflow: hidden;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button.hide { display: none; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.split p { max-width: 520px; }
.services { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.services li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--cream-soft); }
.services strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-right: .4rem; color: var(--cream); }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Experiments */
.exp-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 14px; margin-top: 3rem; align-items: stretch; }
.hero-content > * { animation: fadeUp 1.1s ease both; }
.hero-content > :nth-child(2) { animation-delay: .15s; }
.hero-content > :nth-child(3) { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.exp-grid img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.exp-text { display: flex; align-items: center; }
.exp-list { list-style: none; padding: 0; margin: 0; width: 100%; }
.exp-list li { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 1.2rem; align-items: baseline; }
.exp-list li:first-child { border-top: 1px solid var(--line); }
.exp-list span { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--rain); }

/* Contact */
.contact-list { margin: 0; }
.contact-list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list div:first-child { border-top: 1px solid var(--line); }
.contact-list dt { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--peach); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; }
.contact-list a { transition: color .2s; }
.contact-list a:hover { color: var(--peach); }

/* Footer */
.site-footer { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: 28px var(--gutter); background: var(--aubergine-deep); font-size: .78rem; letter-spacing: .1em; color: var(--cream-soft); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--sunset); }
.site-footer a:hover { color: var(--rain); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(26, 12, 19, .96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--cream); cursor: pointer; font-family: var(--serif); line-height: 1; padding: 12px 18px; transition: color .2s; }
.lightbox button:hover { color: var(--rain); }
.lb-close { top: 14px; right: 18px; font-size: 3rem; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 4rem; }
.lb-nav.prev { left: 10px; }
.lb-nav.next { right: 10px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Mobile */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--aubergine-deep); padding: 8px var(--gutter) 24px;
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .brand { font-size: 1.05rem; }
  .nav-ig span { display: inline; }
  .split { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .exp-grid img:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .exp-text { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lb-nav { font-size: 3rem; }
}
