/* CSS critique — affichage initial (nav, hero, préchargeur) */
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia");
  size-adjust: 94%;
  ascent-override: 105%;
  descent-override: 35%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Jost Fallback";
  src: local("Arial");
  size-adjust: 98%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --cream: #f6f1e8;
  --ink: #191713;
  --ink-soft: #3d362f;
  --gold: #b08d57;
  --gold-soft: #d8bd88;
  --paper: #fffaf2;
  --line: #ddd2c5;
  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: "Jost", "Jost Fallback", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --nav-offset: 88px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--nav-offset);
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.section { padding: clamp(70px, 10vw, 142px) 24px; }
.section__head { max-width: var(--container); margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section__title { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.03em; }

.reveal {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 17px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { text-align: center; }
.preloader__mono {
  font-family: var(--serif); font-size: 2.4rem; color: var(--cream);
  letter-spacing: 0.1em; display: block; margin-bottom: 18px;
}
.preloader__bar { display: block; width: 160px; height: 1px; background: rgba(255,255,255,0.2); overflow: hidden; }
.preloader__fill { display: block; height: 100%; width: 0; background: var(--gold-soft); transition: width 1.1s var(--ease); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10001;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 241, 232, 0.97);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav.nav--menu-open { background: var(--cream); }
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; flex-direction: column; line-height: 1; color: #fff; transition: color 0.4s; }
.nav.is-scrolled .nav__logo { color: var(--ink); }
.nav__logo-mark { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em; }
.nav__logo-sub { font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.8; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link { font-size: 0.82rem; letter-spacing: 0.06em; color: #fff; font-weight: 400; }
.nav.is-scrolled .nav__link { color: var(--ink-soft); }
.nav__link--cta { border: 1px solid rgba(255,255,255,0.5); padding: 9px 22px; border-radius: 50px; }
.nav.is-scrolled .nav__link--cta { border-color: var(--line); }
.nav__burger { display: none; }

.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(20,18,15,0.05), rgba(20,18,15,0.42) 48%, rgba(20,18,15,0.74)),
    linear-gradient(180deg, rgba(20,18,15,0.32) 0%, rgba(20,18,15,0.2) 40%, rgba(20,18,15,0.6) 100%);
}
.hero__content {
  color: #fff; max-width: 980px; padding: 0 24px;
  min-height: clamp(220px, 38vh, 320px);
}
.hero__eyebrow { margin-bottom: 1.6rem; color: rgba(255,255,255,0.9); text-transform: uppercase; }
.hero__eyebrow-main { display: block; font-size: 0.78rem; letter-spacing: 0.34em; }
.hero__eyebrow-sub { display: block; margin-top: 6px; font-size: 0.58rem; letter-spacing: 0.28em; opacity: 0.9; }
.hero__title {
  font-family: var(--serif); font-size: clamp(3rem, 8.4vw, 6.6rem);
  color: #fff; font-weight: 500; letter-spacing: -0.035em; line-height: 1.08;
  min-height: 3.25em;
}
.hero__title span { display: block; }
.hero__title-em { font-style: italic; color: var(--gold-soft); }
.hero__sub {
  margin: 1.8rem auto 0; max-width: 680px;
  font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.55;
  color: rgba(255,255,255,0.9);
}
.hero .reveal {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.hero .reveal.is-visible { opacity: 1; }

.page-hero {
  position: relative; min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 120px 24px 70px;
}
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,0.5), rgba(20,18,15,0.6));
}
.page-hero__content { color: #fff; max-width: 760px; }
.page-hero__title {
  font-family: var(--serif); color: #fff;
  font-size: clamp(2.8rem, 6.5vw, 5rem); letter-spacing: -0.03em; line-height: 1.02;
}
