/* Franck David — feuille de style unique */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/jost-latin.woff2') format('woff2');
}

:root {
  --ink: #12100D;
  --ink-2: #1B1814;
  --cream: #F3ECDF;
  --paper: #FFF8F0;
  --accent: #C9A65E;
  --accent-light: #E2C88E;
  --accent-dark: #7A5E2A;
  --text-soft: #DDD3C2;
  --text-muted: #CFC5B3;
  --text-faint: #A39985;
  --text-fainter: #8E8473;
  --dark-text: #24201A;
  --dark-muted: #5A5043;
  --line: rgba(243, 236, 223, 0.14);
  --line-light: #CDBFA5;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
p, h1, h2, h3, blockquote, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--accent); }
a:hover { color: var(--accent-light); }
section { scroll-margin-top: 76px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--cream); color: var(--ink); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section-pad { padding-top: 110px; padding-bottom: 110px; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Typographie */
.eyebrow {
  margin-bottom: 18px; font-size: 12px; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow-dark { color: var(--accent-dark); }
.h-display {
  margin-bottom: 24px; font-family: var(--serif); font-weight: 300;
  font-size: clamp(42px, 5vw, 68px); line-height: 1;
}
.h-xl { font-size: clamp(48px, 6vw, 80px); }
.h-upper {
  font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 70px);
  line-height: 1.02; text-transform: uppercase;
}
.serif-italic { font-family: var(--serif); font-style: italic; font-size: 22px; }
.muted { color: var(--text-muted); }
.muted-dark { color: var(--dark-muted); }
.tagline { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--accent-light); }
.tagline-sm { font-size: 22px; max-width: 380px; }
.lead { color: var(--text-soft); margin-bottom: 34px; }
.small-caps { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; }

/* Boutons */
.btn {
  display: inline-block; text-decoration: none; padding: 15px 30px;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-sm { padding: 10px 20px; letter-spacing: 0.24em; }
.btn-o { color: var(--cream); border: 1px solid rgba(243, 236, 223, 0.7); }
.btn-o:hover { background: var(--cream); color: var(--ink); }
.hero .btn-o { border-color: var(--cream); }
.hero .btn-faint { border-color: rgba(243, 236, 223, 0.4); }
.btn-solid { color: var(--ink); background: var(--cream); border: 1px solid var(--cream); }
.btn-solid:hover { background: transparent; color: var(--cream); }
.btn-d { color: var(--dark-text); border: 1px solid var(--dark-text); }
.btn-d:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-start { align-self: flex-start; margin-top: 24px; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 16, 13, 0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand img { height: 50px; width: auto; }
.main-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px;
  font-size: 14px; letter-spacing: 0.06em;
}
.navlink {
  color: var(--cream); text-decoration: none; padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.navlink:hover { color: var(--accent-light); }
.navlink[aria-current="true"] { color: var(--accent); border-bottom-color: var(--accent); }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; background: none;
  border: 1px solid rgba(243, 236, 223, 0.4); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.menu-toggle .bar { display: block; width: 20px; height: 1px; background: var(--cream); transition: transform 0.25s ease; }
.menu-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px 32px 28px; background: var(--ink); border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav .navlink { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 20px; }
}

/* Accueil */
.hero { position: relative; min-height: 720px; min-height: min(92vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { object-position: center 60%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,16,13,0.88) 0%, rgba(18,16,13,0.55) 45%, rgba(18,16,13,0.05) 80%);
}
.hero-content { position: relative; width: 100%; padding-top: 120px; padding-bottom: 96px; }
.hero .eyebrow { margin-bottom: 26px; }
.hero-title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 9vw, 132px);
  line-height: 0.92; letter-spacing: -0.02em;
}
.rule { width: 56px; height: 1px; background: var(--cream); margin: 34px 0 26px; }
.hero-lead { margin-bottom: 38px; max-width: 440px; font-size: 18px; color: var(--text-soft); }

/* Distinctions */
.distinctions { border-bottom: 1px solid var(--line); }
.distinctions-inner {
  padding-top: 30px; padding-bottom: 30px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px 40px;
}
.diamond { width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.escoffier { display: flex; align-items: center; gap: 14px; }
.escoffier img { width: 48px; height: 48px; }

/* Manifeste */
.manifesto { padding-top: 120px; padding-bottom: 100px; }
.manifesto-title {
  margin-bottom: 30px; max-width: 900px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; text-transform: uppercase; letter-spacing: 0.01em;
}
.manifesto-sub { margin-bottom: 64px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 30px); color: var(--accent-light); }
.two-cols { display: flex; flex-wrap: wrap; gap: 32px 80px; }
.two-cols p { flex: 1 1 360px; }

/* Le chef */
.chef { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chef-photo { flex: 1 1 460px; min-height: 640px; position: relative; overflow: hidden; }
.chef-photo img { object-position: center 22%; }
.chef-text {
  flex: 1 1 460px; padding: 96px clamp(24px, 6vw, 96px);
  display: flex; flex-direction: column; justify-content: center;
}
.chef-text .h-display { margin-bottom: 28px; }
.chef-text .muted { margin-bottom: 18px; }
.chef-text .muted + .quote { margin-top: 16px; }
.quote { margin-bottom: 40px; font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.4; color: var(--accent-light); }
.stats { display: flex; flex-wrap: wrap; gap: 28px 56px; border-top: 1px solid var(--line); padding-top: 28px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { font-family: var(--serif); font-weight: 300; font-size: 52px; line-height: 1; }
.stats dt { margin-top: 6px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); }

/* Formation et conseil (même gabarit que Le Chef, photo à droite) */
.formation { border-top: 0; }
.formation .chef-photo { order: 2; }
.formation .chef-photo img { object-position: center 50%; }
@media (max-width: 939px) { .formation .chef-photo { order: 0; } }
.offer-list { border-top: 1px solid var(--line); margin-bottom: 8px; }
.offer-list div {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.offer-list dt { flex: 0 0 190px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.offer-list dd { flex: 1 1 260px; color: var(--text-muted); }
.offer-list .offer-price { font-family: var(--serif); font-size: 28px; line-height: 1.2; color: var(--accent-light); }

/* Sections claires */
.light { background: var(--paper); color: var(--dark-text); }

/* Cours */
.cours { display: flex; flex-wrap: wrap; gap: 56px 88px; align-items: flex-start; }
.cours-visual { flex: 1 1 380px; min-width: 0; position: relative; padding-bottom: 80px; }
.mc-logo { width: 240px; height: auto; margin-bottom: 40px; }
.duo { position: relative; }
.duo-main { width: 72%; height: 400px; object-fit: cover; }
.duo-over {
  position: absolute; right: 0; bottom: -80px; width: 52%; height: 260px;
  object-fit: cover; border: 8px solid var(--paper);
}
.cours-text { flex: 999 1 520px; min-width: 0; }
.cours-text .muted-dark { margin-bottom: 14px; }
.opening {
  display: inline-block; margin-bottom: 26px; padding: 9px 18px;
  border: 1px solid var(--accent-dark); color: var(--accent-dark);
  font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase;
}
.facts { margin-bottom: 40px; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }

.price-list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 6px 24px; padding: 24px 0;
}
.price-list li > div { flex: 1 1 300px; }
.price-list h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.2; }
.price-list .price { font-family: var(--serif); font-size: 28px; white-space: nowrap; }
.price-list-light { border-top: 1px solid var(--line-light); }
.price-list-light li { border-bottom: 1px solid var(--line-light); }
.atelier-photo { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.price-list-light li > div > p { margin-top: 4px; font-size: 15px; color: var(--dark-muted); }
.note-dark { margin-top: 10px; font-size: 13px; color: #6B604F; }
.themes-label { margin-top: 40px; margin-bottom: 16px; letter-spacing: 0.3em; }
.themes { margin-bottom: 40px; font-family: var(--serif); font-size: 22px; line-height: 1.6; color: #3C352B; }

/* Épicerie (encart « Bientôt ») */
.epicerie { background: var(--ink-2); border-top: 1px solid rgba(243, 236, 223, 0.1); }
.epicerie-soon { max-width: 760px; text-align: center; }
.epicerie-soon .h-display { margin-bottom: 20px; }

/* Galerie */
.gallery { padding-top: 120px; padding-bottom: 110px; }
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 60px; margin-bottom: 44px; }
.gallery-head .h-display { margin-bottom: 0; }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 10px; }
.mosaic figure { overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.mosaic figure:hover img { transform: scale(1.05); }
.m-wide { grid-column: span 2; }
.m-tall { grid-row: span 2; }

/* Jardin */
.jardin { padding-top: 100px; padding-bottom: 100px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 88px; }
.jardin-text { flex: 999 1 460px; min-width: 0; }
.jardin-text .muted-dark { max-width: 560px; }

/* Réserver */
.booking { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.booking-shade {
  position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(18,16,13,0.92) 0%, rgba(18,16,13,0.7) 50%, rgba(18,16,13,0.35) 100%);
}
.booking-inner { position: relative; width: 100%; padding-top: 96px; padding-bottom: 96px; display: flex; justify-content: flex-end; }
.booking-text { max-width: 520px; }
.booking .h-display { margin-bottom: 20px; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); }
.footer-cols { padding-top: 56px; padding-bottom: 30px; display: flex; flex-wrap: wrap; gap: 36px 0; }
.footer-col { flex: 1 1 240px; padding: 0 32px; border-left: 1px solid var(--line); font-size: 15px; color: var(--text-soft); }
.footer-col address { font-style: normal; }
.footer-col a { color: var(--text-soft); }
.footer-col a:hover { color: var(--accent-light); }
.footer-brand { flex-basis: 260px; padding-left: 0; border-left: 0; }
.footer-brand img { height: 92px; width: auto; }
.footer-label { margin-bottom: 8px; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-faint); }
.footer-legal { padding-bottom: 22px; font-size: 13px; color: var(--text-faint); }
.footer-bottom {
  padding-top: 22px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12px; letter-spacing: 0.08em; color: var(--text-fainter); border-top: 1px solid rgba(243, 236, 223, 0.1);
}

/* Mobile */
@media (max-width: 720px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .section-pad { padding-top: 80px; padding-bottom: 80px; }
  .manifesto, .gallery { padding-top: 84px; padding-bottom: 80px; }
  .hero { min-height: 640px; }
  .hero-content { padding-bottom: 64px; }
  .hero-shade { background: linear-gradient(180deg, rgba(18,16,13,0.25) 0%, rgba(18,16,13,0.6) 45%, rgba(18,16,13,0.92) 100%); }
  .distinctions-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .diamond { display: none; }
  .chef-photo { min-height: 460px; flex-basis: 100%; }
  .chef-text { padding: 72px 22px; }
  .offer-list dt { flex-basis: 100%; }
  .duo-main { width: 82%; height: 320px; }
  .duo-over { width: 56%; height: 200px; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .footer-col { padding: 0; border-left: 0; flex-basis: 100%; }
  .main-nav { padding-left: 22px; padding-right: 22px; }
}

/* Apparition en glissé (classes posées par main.js : sans JavaScript, tout reste visible) */
main { overflow-x: clip; }
.reveal {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-up { transform: translate3d(0, 48px, 0); }
.reveal-left { transform: translate3d(-64px, 0, 0); }
.reveal-right { transform: translate3d(64px, 0, 0); }
.reveal-zoom { transform: scale(0.94) translate3d(0, 24px, 0); }
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }
section[tabindex="-1"]:focus, main[tabindex="-1"]:focus, footer[tabindex="-1"]:focus { outline: none; }
@media (max-width: 720px) {
  .reveal-left, .reveal-right { transform: translate3d(0, 40px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Emplacements photo en attendant les vraies images */
.photo-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px; text-align: center; color: var(--accent);
  background: rgba(201, 166, 94, 0.07);
  border: 1px dashed rgba(201, 166, 94, 0.55);
}
.photo-slot-hint { font-family: var(--serif); font-style: italic; font-size: 20px; opacity: 0.85; }
.hero-slot { align-items: flex-end; justify-content: flex-start; padding: 120px 40px; }
.duo-over { display: flex; background-color: var(--paper); }
.duo-over.photo-slot { background-image: linear-gradient(rgba(201, 166, 94, 0.07), rgba(201, 166, 94, 0.07)); }
.mosaic .photo-slot { height: 100%; }
@media (max-width: 720px) {
  .hero-slot { padding: 100px 22px; }
}
.light .photo-slot { color: var(--accent-dark); border-color: rgba(122, 94, 42, 0.45); }
