/* =========================================================
   Mon Poulet Adoré — feuille de style
   Palette : crème / encre chaude / or braise / terre
   Typo    : Fraunces (titres) + DM Sans (texte)
   ========================================================= */

:root {
  /* ---- Espacements (base 4px) ---- */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* ---- Couleurs ---- */
  --paper:      #FBF6EC;   /* fond crème chaud */
  --paper-2:    #F4EBDA;   /* surface légèrement plus profonde */
  --paper-3:    #ECE0C9;   /* bordure douce / voile */
  --ink:        #2B2118;   /* brun quasi-noir, texte fort */
  --ink-soft:   #5C4C3B;   /* brun adouci, texte courant */
  --ink-mute:   #8A7860;   /* légendes, méta */
  --gold:       #C6892F;   /* or braise — accent principal */
  --gold-deep:  #A66A1E;   /* or foncé — survol */
  --gold-soft:  #EBD9B4;   /* or pâle — voiles */
  --ember:      #9E3B2E;   /* terre cuite — accent secondaire */
  --line:       rgba(43, 33, 24, .12);
  --line-strong:rgba(43, 33, 24, .22);

  /* ---- Typo ---- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --leading-body: 1.65;
  --leading-tight: 1.08;

  /* ---- Rayons ---- */
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px; --radius-pill: 999px;

  /* ---- Élévation (chaude, douce) ---- */
  --shadow-sm: 0 1px 2px rgba(43,33,24,.06), 0 1px 1px rgba(43,33,24,.05);
  --shadow-md: 0 8px 24px rgba(43,33,24,.10), 0 2px 6px rgba(43,33,24,.06);
  --shadow-lg: 0 24px 60px rgba(43,33,24,.16), 0 6px 14px rgba(43,33,24,.08);

  /* ---- Mouvement ---- */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 480ms;

  --container: 1200px;
  --reading: 66ch;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: var(--leading-body);
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: var(--leading-tight);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0 0 var(--space-4); }
a { color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--gold-soft); color: var(--ink); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: var(--space-3) var(--space-5); border-radius: 0 0 var(--radius-md) 0;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =========================================================
   Utilitaires de mise en page
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section { padding-block: clamp(var(--space-8), 9vw, var(--space-10)); }
.section--tint { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 var(--space-4);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold);
  display: inline-block;
}

.section-head { max-width: 34rem; margin-bottom: var(--space-7); }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.section-head p { margin-top: var(--space-4); font-size: 1.0625rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--ink); }

/* =========================================================
   Boutons
   ========================================================= */
.btn {
  --btn-bg: var(--gold); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: var(--space-4) var(--space-6);
  min-height: 52px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform var(--dur) var(--ease), background-color .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); background: var(--ink); border-color: var(--ink); }

.btn-ico { width: 18px; height: 18px; flex: none; }

/* =========================================================
   En-tête / navigation
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand__badge { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.28rem; color: var(--ink); letter-spacing: -.01em;
}
.brand__tag {
  font-family: var(--font-sans); font-size: .66rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav__links { display: flex; align-items: center; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem;
  position: relative; padding-block: var(--space-1);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--gold); transition: right var(--dur) var(--ease);
}
.nav__links a:hover::after { right: 0; }

.nav__phone {
  display: inline-flex; align-items: center; gap: var(--space-2);
  text-decoration: none; font-weight: 600; color: var(--ink);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  transition: border-color .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.nav__phone:hover { border-color: var(--gold); background: var(--gold-soft); }
.nav__phone svg { width: 16px; height: 16px; color: var(--gold-deep); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  background: transparent; border-radius: var(--radius-md); cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 96px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 12%, rgba(198,137,47,.20), transparent 55%),
    radial-gradient(120% 120% at 8% 100%, rgba(158,59,46,.14), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(var(--space-6), 5vw, var(--space-9));
  align-items: center; width: 100%;
}
.hero__seal {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep);
  background: color-mix(in srgb, var(--gold-soft) 60%, transparent);
  border: 1px solid var(--gold-soft);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
  margin-bottom: var(--space-5);
}
.hero__seal svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 4.6rem);
  letter-spacing: -.025em;
}
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero__sub {
  margin-top: var(--space-5);
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  color: var(--ink-soft); max-width: 34ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-7); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-7);
  margin-top: var(--space-7); padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}
.hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.hero__meta dt { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); font-weight: 600; }
.hero__meta dd { margin: 0; font-size: .86rem; letter-spacing: .04em; color: var(--ink-mute); text-transform: uppercase; }

/* Visuel hero */
.hero__art { position: relative; }
.hero__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  rotate: 1.5deg;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge-float {
  position: absolute; left: -18px; bottom: 26px; rotate: -4deg;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg); max-width: 200px;
}
.hero__badge-float strong { font-family: var(--font-display); display: block; font-size: 1.15rem; margin-bottom: 2px; }
.hero__badge-float span { font-size: .82rem; color: var(--gold-soft); }

/* =========================================================
   Emplacements photo (placeholder gracieux)
   ========================================================= */
.ph { position: relative; background: linear-gradient(135deg, var(--paper-2), var(--paper-3)); }
.ph img { transition: opacity var(--dur) var(--ease); }
.ph.is-empty img { opacity: 0; }
.ph::after {
  content: attr(data-label); position: absolute; inset: 0;
  display: none; align-items: center; justify-content: center;
  padding: var(--space-4); text-align: center;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(138,120,96,.05) 14px 28px);
}
.ph.is-empty::after { display: flex; }

/* =========================================================
   Bandeau héritage / chiffres
   ========================================================= */
.heritage { background: var(--ink); color: var(--paper); }
.heritage__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6); text-align: center;
}
.heritage__item { padding: var(--space-4); }
.heritage__num {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--gold); font-weight: 600; line-height: 1;
}
.heritage__label { margin-top: var(--space-3); color: color-mix(in srgb, var(--paper) 78%, transparent); font-size: .98rem; }

/* =========================================================
   Histoire
   ========================================================= */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-6), 5vw, var(--space-9)); align-items: center; }
.story__media { position: relative; }
.story__photo { aspect-ratio: 5 / 6; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__body p { color: var(--ink-soft); }
.story__quote {
  margin: var(--space-6) 0 0; padding-left: var(--space-5);
  border-left: 3px solid var(--gold);
  font-family: var(--font-display); font-style: italic;
  font-size: 1.25rem; color: var(--ink); line-height: 1.4;
}

/* =========================================================
   Marchés
   ========================================================= */
.markets__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
}
.market-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color .2s ease;
  overflow: hidden;
}
.market-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--ember));
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.market-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.market-card:hover::before { transform: scaleX(1); }
.market-card__day {
  font-family: var(--font-sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep);
}
.market-card__town { font-family: var(--font-display); font-size: 1.55rem; color: var(--ink); margin-top: var(--space-2); }
.market-card__note { margin-top: var(--space-3); font-size: .92rem; color: var(--ink-mute); }
.market-card__ico {
  width: 34px; height: 34px; margin-bottom: var(--space-5);
  color: var(--gold-deep);
}
.markets__foot {
  margin-top: var(--space-7); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4);
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
}
.markets__foot p { margin: 0; color: var(--ink); font-weight: 500; }

/* =========================================================
   Interview
   ========================================================= */
.interview { background: var(--paper-2); }
.interview__wrap { max-width: 48rem; margin-inline: auto; }
.qa { margin-top: var(--space-7); }
.qa__item { padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.qa__item:first-child { border-top: 0; }
.qa__q {
  font-family: var(--font-display); font-size: 1.22rem; color: var(--ink);
  font-weight: 600; margin: 0 0 var(--space-3);
  display: flex; gap: var(--space-3);
}
.qa__q::before { content: "Q"; color: var(--gold-deep); font-style: italic; flex: none; }
.qa__a { margin: 0; color: var(--ink-soft); padding-left: calc(1ch + var(--space-3)); }
.interview__credit {
  margin-top: var(--space-7); text-align: center; font-style: italic;
  color: var(--ink-mute); font-family: var(--font-display);
}

/* =========================================================
   Galerie
   ========================================================= */
.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px; gap: var(--space-4);
}
.gallery__item {
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  position: relative;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--ink); color: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(var(--space-6), 5vw, var(--space-9)); align-items: center; }
.contact h2 { color: var(--paper); font-size: clamp(2rem, 5vw, 3rem); }
.contact__lead { color: color-mix(in srgb, var(--paper) 82%, transparent); font-size: 1.15rem; max-width: 40ch; }
.contact__phone {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--gold); text-decoration: none; margin-top: var(--space-5);
  transition: color .2s ease;
}
.contact__phone:hover { color: var(--gold-soft); }
.contact__phone svg { width: 28px; height: 28px; }
.contact__socials { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.social-btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--paper) 24%, transparent);
  color: var(--paper); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background-color .2s ease, border-color .2s ease;
}
.social-btn:hover { background: color-mix(in srgb, var(--paper) 12%, transparent); border-color: var(--gold); }
.social-btn svg { width: 18px; height: 18px; }

.contact__card {
  background: color-mix(in srgb, var(--paper) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  border-radius: var(--radius-lg); padding: var(--space-6);
}
.contact__card h3 { color: var(--paper); font-size: 1.35rem; margin-bottom: var(--space-4); }
.hours-row { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-top: 1px solid color-mix(in srgb, var(--paper) 14%, transparent); }
.hours-row:first-of-type { border-top: 0; }
.hours-row span:first-child { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.hours-row span:last-child { font-weight: 600; color: var(--paper); }

/* =========================================================
   Pied de page
   ========================================================= */
.site-footer { background: #211A13; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; justify-content: space-between;
  padding-block: var(--space-6);
}
.site-footer a { color: color-mix(in srgb, var(--paper) 82%, transparent); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__meta { font-size: .88rem; }

/* =========================================================
   Révélation au défilement
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .market-card, .gallery__item img { transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .markets__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav__links, .nav__phone { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero { min-height: auto; padding-block: 120px var(--space-9); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 420px; }
  .hero__photo { rotate: 0deg; }
  .story__grid, .contact__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 460px; }
  .heritage__grid { grid-template-columns: 1fr; gap: var(--space-6); }

  /* Menu mobile */
  .nav-drawer {
    position: fixed; inset: 0; z-index: 150;
    background: color-mix(in srgb, var(--ink) 40%, transparent);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
  }
  .nav-drawer.open { opacity: 1; visibility: visible; }
  .nav-drawer__panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(84vw, 340px);
    background: var(--paper); box-shadow: var(--shadow-lg);
    padding: var(--space-7) var(--space-6);
    display: flex; flex-direction: column; gap: var(--space-2);
    transform: translateX(100%); transition: transform var(--dur) var(--ease);
  }
  .nav-drawer.open .nav-drawer__panel { transform: none; }
  .nav-drawer__close { align-self: flex-end; background: none; border: 0; cursor: pointer; color: var(--ink); padding: var(--space-2); }
  .nav-drawer__close svg { width: 26px; height: 26px; }
  .nav-drawer a {
    text-decoration: none; color: var(--ink); font-family: var(--font-display);
    font-size: 1.4rem; padding: var(--space-3) 0; border-bottom: 1px solid var(--line);
  }
  .nav-drawer .btn { margin-top: var(--space-5); }
}
@media (min-width: 881px) { .nav-drawer { display: none; } }

@media (max-width: 620px) {
  .container { padding-inline: var(--space-4); }
  .markets__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item--wide { grid-column: span 2; }
  .hero__meta { gap: var(--space-4) var(--space-6); }
  .hero__badge-float { left: 8px; }
}
