/* ==========================================================================
   La Conserverie Naborienne — feuille de style principale
   ========================================================================== */

/* ---------- Polices ----------
   Titres : Syncopate (licence libre SIL OFL), auto-hébergée.          */
@font-face {
  font-family: "Syncopate";
  src: url("../fonts/syncopate-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Syncopate";
  src: url("../fonts/syncopate-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --brown: #3d352c;
  --brown-deep: #2c2620;
  --cream: #fffbf3;
  --cream-2: #f6efe2;
  --copper: #c28255;
  --gold: #e0b570;
  --muted: #8f887b;
  --olive: #79845a;
  --line: rgba(61, 53, 44, 0.2);
  --line-light: rgba(255, 251, 243, 0.25);

  --font-display: "Syncopate", "Montserrat", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
button { font: inherit; color: inherit; }

::selection { background: var(--copper); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--cream);
  color: var(--brown);
  padding: 10px 16px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typographie ---------- */
.display,
.h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.12;
  font-weight: 700;
}
.h1 { font-size: clamp(1.75rem, 4.1vw, 3.6rem); }
.h2 { font-size: clamp(1.45rem, 3vw, 2.6rem); }
.h3 { font-size: clamp(1.05rem, 1.8vw, 1.6rem); }
.h4 { font-size: clamp(0.95rem, 1.2vw, 1.1rem); font-weight: 400; letter-spacing: 0.08em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.1rem;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: var(--cream); opacity: 0.9; }

.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.75; }
.text-center { text-align: center; }

/* ---------- Boutons ---------- */
.btn {
  --btn-fg: var(--cream);
  --btn-bg: transparent;
  --btn-border: var(--cream);
  --btn-fill: var(--cream);
  --btn-fg-hover: var(--brown);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 50px;
  padding: 0.9em 2.1em;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.btn:hover,
.btn:focus-visible { color: var(--btn-fg-hover); }
.btn:hover::before,
.btn:focus-visible::before { transform: scaleY(1); }

.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--solid {
  --btn-fg: var(--brown);
  --btn-bg: var(--cream);
  --btn-border: var(--cream);
  --btn-fill: var(--copper);
  --btn-fg-hover: var(--cream);
}
.btn--dark {
  --btn-fg: var(--brown);
  --btn-border: var(--brown);
  --btn-fill: var(--brown);
  --btn-fg-hover: var(--cream);
}
.btn--dark-solid {
  --btn-fg: var(--cream);
  --btn-bg: var(--brown);
  --btn-border: var(--brown);
  --btn-fill: var(--copper);
  --btn-fg-hover: var(--cream);
}
.btn--copper {
  --btn-fg: var(--copper);
  --btn-border: var(--copper);
  --btn-fill: var(--copper);
  --btn-fg-hover: var(--cream);
  min-height: 42px;
  padding: 0.7em 1.6em;
}
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { transition: transform 0.45s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--cream);
  transition: height 0.5s var(--ease), background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.site-header::before {
  /* voile dégradé pour la lisibilité sur les photos */
  content: "";
  position: absolute;
  inset: 0 0 -40px 0;
  background: linear-gradient(to bottom, rgba(20, 16, 12, 0.55), rgba(20, 16, 12, 0));
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(61, 53, 44, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 251, 243, 0.08), 0 10px 30px rgba(20, 16, 12, 0.18);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  padding: 0 clamp(20px, 2.6vw, 40px);
}

.brand { position: relative; z-index: 120; display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img {
  height: 46px;
  width: auto;
  transition: height 0.5s var(--ease), opacity 0.3s;
}
.site-header.is-scrolled .brand img { height: 38px; }
.brand:hover img { opacity: 0.85; }

.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 42px); }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__item:focus-within > .nav__link::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__chevron { width: 9px; height: 9px; transition: transform 0.4s var(--ease); }
.nav__item--has-sub:hover .nav__chevron,
.nav__item--has-sub:focus-within .nav__chevron { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  min-width: 250px;
  padding: 14px 0;
  background: var(--cream);
  color: var(--brown);
  box-shadow: 0 20px 50px rgba(20, 16, 12, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0.35s;
}
.subnav::before {
  content: "";
  position: absolute;
  inset: -16px 0 auto 0;
  height: 16px;
}
.nav__item--has-sub:hover .subnav,
.nav__item--has-sub:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.subnav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  font-size: 0.86rem;
  transition: background-color 0.3s, color 0.3s, padding 0.4s var(--ease);
}
.subnav a span { color: var(--copper); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.subnav a:hover { background: var(--cream-2); padding-left: 28px; }
.subnav a:hover span { opacity: 1; transform: none; }

/* Burger */
.burger {
  display: none;
  position: relative;
  z-index: 120;
  width: 46px; height: 46px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease), opacity 0.3s, top 0.5s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22.5px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(620px, 100svh);
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  color: var(--cream);
  background: var(--brown-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero--page { min-height: max(560px, 78svh); }
.hero--small { min-height: max(460px, 62svh); }

.hero__media {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  animation: hero-zoom 2.8s var(--ease) both;
}
@keyframes hero-zoom {
  from { transform: scale(1.14); filter: brightness(0.6); }
  to { transform: scale(1); filter: brightness(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(28, 22, 17, 0.38) 0%, rgba(28, 22, 17, 0.58) 100%),
    linear-gradient(to bottom, rgba(28, 22, 17, 0.25), rgba(28, 22, 17, 0.3));
}

.hero__content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.hero__title { margin-bottom: 1.4rem; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero__text {
  max-width: 560px;
  margin: 0 auto 2.4rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  opacity: 0.92;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

/* lignes de titre animées */
/* marge haute : les accents des majuscules (É, È…) dépassent la hauteur de ligne */
.line { display: block; overflow: hidden; padding: 0.3em 0 0.08em; margin: -0.3em 0 -0.08em; }
.line > span { display: block; transform: translateY(135%); }
.is-loaded .line > span {
  transform: none;
  transition: transform 1.3s var(--ease);
  transition-delay: calc(0.35s + var(--i, 0) * 0.12s);
}
.hero [data-hero-fade] {
  opacity: 0;
  transform: translateY(18px);
}
.is-loaded .hero [data-hero-fade] {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(0.55s + var(--i, 0) * 0.12s);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.8;
}
.scroll-cue__line {
  position: relative;
  width: 1px;
  height: 48px;
  background: rgba(255, 251, 243, 0.25);
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  animation: scroll-cue 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 90px) 0; }
.section--dark { background: var(--brown); color: var(--cream); }
.section--dark .h2, .section--dark .h3 { color: var(--cream); }

.section-head { margin-bottom: clamp(40px, 5vw, 70px); }
.section-head.text-center { max-width: 1000px; margin-left: auto; margin-right: auto; }

/* grain discret sur les fonds sombres */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Accueil : engagements ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.4vw, 48px);
}
.pillar__title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.pillar__title::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
  transition-delay: calc(0.2s + var(--i, 0) * 0.12s);
}
.is-visible .pillar__title::after,
.pillar.is-visible .pillar__title::after { transform: scaleX(1); }
.pillar p { font-size: 0.93rem; max-width: 32ch; }
.pillar strong { color: var(--copper); font-weight: 600; }

/* ---------- Bloc partagé texte / image ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(460px, 44vw, 640px);
}
.split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 7vw, 110px) clamp(24px, 6vw, 96px);
}
.split__body > * { max-width: 520px; }
.split__body .h2 { margin-bottom: 1.6rem; }
.split__media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.split__parallax { position: absolute; inset: -10% 0; }
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2rem 0 2.4rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7em 1.3em;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-light);
  transition: border-color 0.4s, background-color 0.4s;
}
.tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.tag:hover { border-color: var(--gold); background: rgba(224, 181, 112, 0.08); }

/* ---------- Accueil : gammes ---------- */
.ranges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.range-card { display: block; }
.range-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
  margin-bottom: 22px;
}
.range-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1s var(--ease);
}
.range-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 22, 17, 0.7), rgba(28, 22, 17, 0) 55%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.range-card__cta {
  position: absolute;
  left: 24px; bottom: 22px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.range-card:hover .range-card__media img,
.range-card:focus-visible .range-card__media img { transform: scale(1.07); filter: brightness(1.08); }
.range-card:hover .range-card__media::after,
.range-card:focus-visible .range-card__media::after { opacity: 1; }
.range-card:hover .range-card__cta,
.range-card:focus-visible .range-card__cta { opacity: 1; transform: none; }

.range-card__kicker {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 6px;
}
.range-card__title {
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  margin-bottom: 12px;
  transition: color 0.4s;
}
.range-card:hover .range-card__title { color: var(--copper); }
.range-card p { font-size: 0.93rem; max-width: 34ch; }

/* ---------- Bandeau image plein cadre ---------- */
.banner {
  position: relative;
  padding: clamp(90px, 11vw, 160px) 0;
  color: var(--cream);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--brown-deep);
}
.banner__media { position: absolute; inset: -15% 0; z-index: -2; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(45, 38, 31, 0.72);
}
.banner .h2 { margin-bottom: 1.6rem; }
.banner p { max-width: 760px; margin-left: auto; margin-right: auto; }
.banner .lead { margin-bottom: 2.4rem; }

.split__cta { margin-top: 2.2rem; }

.sns-link {
  background: linear-gradient(var(--gold), var(--gold)) left 92% / 0 2px no-repeat;
  transition: background-size 0.6s var(--ease), color 0.4s;
}
.sns-link:hover { background-size: 100% 2px; color: var(--gold); }
.sns-text { max-width: 600px; margin: 1.4rem auto 2.4rem; opacity: 0.9; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 0.9em;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
}
.breadcrumb li + li::before { content: "—"; margin-right: 0.9em; opacity: 0.6; }
.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: var(--brown); }
.breadcrumb [aria-current] { color: var(--muted); }

/* ---------- Pages gammes : liste produits ---------- */
.product-list { border-top: 1px solid var(--line); }
.product {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(160px, 1fr) minmax(200px, 1.3fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(22px, 2.4vw, 30px) clamp(0px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.5s var(--ease);
}
.product:hover { background: var(--cream-2); }
.product__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111;
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.product:hover .product__media img { transform: scale(1.06); }
.product__name { transition: transform 0.6s var(--ease), color 0.4s; }
.product:hover .product__name { transform: translateX(8px); color: var(--copper); }
.product__desc { font-size: 0.95rem; margin: 0; }

.note {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Histoire ---------- */
.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}

.two-cols__text { font-size: 1rem; text-align: justify; hyphens: auto; }

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: 1000px;
  margin: 0 auto;
}
.reason__num {
  position: relative;
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--copper);
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.reason__num::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
  transition-delay: calc(0.2s + var(--i, 0) * 0.15s);
}
.reason.is-visible .reason__num::after { transform: scaleX(1); }
.reason h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 6px;
}
.reason p { font-size: 0.93rem; opacity: 0.85; }

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px);
  max-width: 1100px;
  margin: 0 auto;
}
.member { margin: 0; }
.member__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream-2);
  margin-bottom: 16px;
}
.member__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease), filter 0.8s var(--ease);
}
.member:hover .member__media img { transform: scale(1.05); filter: grayscale(0); }
.member__name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.member__role { font-size: 0.88rem; color: var(--muted); }

.workshop {
  max-width: 880px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.workshop { position: relative; }
.workshop__parallax { position: absolute; inset: -12% 0; }
.workshop img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Points de vente ---------- */
.stores { border-top: 1px solid var(--line); }
.store {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(200px, 1.6fr) auto;
  align-items: center;
  gap: 20px clamp(20px, 4vw, 60px);
  padding: clamp(24px, 2.6vw, 34px) clamp(0px, 1.5vw, 16px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.5s var(--ease);
}
.store:hover { background: var(--cream-2); }
.store__city { transition: color 0.4s, transform 0.6s var(--ease); }
.store:hover .store__city { color: var(--copper); transform: translateX(6px); }
.store__shops {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 0.95rem;
}
.store__shops li:not(:last-child)::after { content: "·"; margin: 0 0.7em; color: var(--copper); }
.store__shops a {
  background: linear-gradient(var(--copper), var(--copper)) left bottom / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease), color 0.3s;
}
.store__shops a:hover { background-size: 100% 1px; color: var(--copper); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label,
.field legend {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.field .req { color: var(--copper); }
.field input:not([type="radio"]):not([type="checkbox"]),
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--brown);
  background: #fff;
  border: 1px solid rgba(61, 53, 44, 0.28);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: rgba(61, 53, 44, 0.5); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(194, 130, 85, 0.18);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #b4532a; }
fieldset.field { border: 0; margin: 0; padding: 0; }

.choice { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2px; }
.choice input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.choice label {
  padding: 12px 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 1px solid rgba(61, 53, 44, 0.28);
  background: #fff;
  transition: background-color 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.choice label:hover { border-color: var(--brown); }
.choice input:checked + label { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.choice input:focus-visible + label { outline: 2px solid var(--copper); outline-offset: 3px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.82rem; line-height: 1.55; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brown); flex-shrink: 0; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

.form__status {
  display: none;
  padding: 16px 20px;
  font-size: 0.92rem;
  border-left: 3px solid var(--olive);
  background: rgba(121, 132, 90, 0.12);
}
.form__status.is-error { border-color: #b4532a; background: rgba(180, 83, 42, 0.08); }
.form__status.is-shown { display: block; }
.form.is-sending button[type="submit"] { opacity: 0.6; pointer-events: none; }

.contact-card {
  position: sticky;
  top: 110px;
  padding: clamp(36px, 4vw, 52px) clamp(28px, 3vw, 44px);
  text-align: center;
  color: var(--cream);
  background: var(--olive);
}
.contact-card .h4 { font-weight: 700; line-height: 1.5; }
.contact-card hr {
  width: 110px;
  margin: 24px auto;
  border: 0;
  border-top: 1px solid rgba(255, 251, 243, 0.6);
}
.contact-card address { font-style: normal; text-transform: uppercase; font-size: 0.86rem; letter-spacing: 0.06em; line-height: 1.8; }
.contact-card a { transition: opacity 0.3s; }
.contact-card a:hover { opacity: 0.75; }
.contact-card__links { display: grid; gap: 4px; font-size: 0.93rem; }

/* ---------- Pages légales ---------- */
.prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 0.97rem;
  line-height: 1.8;
}
.prose .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 2.6rem; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
  margin: 3rem 0 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.prose h3 { font-size: 1rem; margin: 1.8rem 0 0.6rem; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 1.4em; margin-bottom: 0.4em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 6px; height: 1px; background: var(--copper); }
.prose a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: 0.9rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--cream-2); }
.todo { background: rgba(224, 181, 112, 0.3); padding: 0 4px; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--brown);
  color: var(--cream);
  padding: clamp(64px, 7vw, 96px) 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr);
  gap: 40px clamp(20px, 3vw, 44px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.footer__brand img { width: 130px; height: auto; transition: opacity 0.3s; }
.footer__brand a:hover img { opacity: 0.8; }
.footer__title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__links { display: grid; gap: 9px; font-size: 0.88rem; overflow-wrap: anywhere; }
.footer__links a,
.footer__legal a {
  opacity: 0.85;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: opacity 0.3s, background-size 0.45s var(--ease);
}
.footer__links a:hover,
.footer__legal a:hover { opacity: 1; background-size: 100% 1px; }
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 251, 243, 0.6);
  font-size: 0.82rem;
}
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 251, 243, 0.3);
  border-radius: 50%;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.footer__social a:hover { background: var(--cream); color: var(--brown); border-color: var(--cream); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; }

/* ---------- Bouton retour en haut ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  color: var(--cream);
  background: var(--brown);
  border: 1px solid rgba(255, 251, 243, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.5s var(--ease), visibility 0.4s, background-color 0.3s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--copper); }

/* ---------- Animations d'apparition ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* photos : fondu doux et léger dézoom (sans effet de rideau) */
.js [data-reveal="clip"] {
  opacity: 0;
  transform: none;
  transition: opacity 1.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.js [data-reveal="clip"] img { transform: scale(1.08); transition: transform 2.4s var(--ease); }
.js [data-reveal="clip"].is-visible { opacity: 1; }
.js [data-reveal="clip"].is-visible img { transform: scale(1); }
/* combiné au survol */
.js .range-card [data-reveal="clip"].is-visible img { transition: transform 1.4s var(--ease), filter 1s var(--ease); }

[data-parallax] { will-change: transform; }

/* transitions de page */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--brown);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.is-leaving .page-veil { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .site-header.is-scrolled { --header-h: 64px; }
  .brand img { height: 38px; }
  .site-header.is-scrolled .brand img { height: 32px; }

  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px var(--gutter) 60px;
    background: var(--brown);
    clip-path: circle(0 at calc(100% - 40px) 38px);
    visibility: hidden;
    transition: clip-path 0.8s var(--ease-in-out), visibility 0.8s;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav__item { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.7s var(--ease); }
  .menu-open .nav__item { opacity: 1; transform: none; transition-delay: calc(0.25s + var(--i, 0) * 0.07s); }
  .nav__link { font-size: clamp(1.3rem, 5.5vw, 1.8rem); padding: 8px 0; }
  .nav__link::after { bottom: 2px; }
  .nav__chevron { display: none; }
  .subnav {
    position: static;
    min-width: 0;
    padding: 4px 0 14px 2px;
    background: none;
    color: var(--cream);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .subnav a { padding: 6px 0; font-size: 0.95rem; opacity: 0.8; }
  .subnav a:hover { background: none; padding-left: 6px; opacity: 1; }
  .subnav a span { display: none; }
  .nav__contact {
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--line-light);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.6s 0.6s;
  }
  .menu-open .nav__contact { opacity: 0.85; }
  .menu-open { overflow: hidden; }
  /* backdrop-filter / transform confineraient le menu plein écran à l'en-tête */
  .menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; background: transparent; box-shadow: none; }

  .pillars { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 0; aspect-ratio: 4 / 3; }
  .split--reverse .split__media { order: -1; }
  .split__body > * { max-width: 640px; }
  .ranges { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 56px; }
  .two-cols { grid-template-columns: 1fr; }
  .two-cols .h2 { max-width: none; }
  .reasons { grid-template-columns: 1fr; max-width: 560px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .product { grid-template-columns: minmax(140px, 220px) 1fr; }
  .product__desc { grid-column: 2; }
  .product__media { grid-row: span 2; }
  .store { grid-template-columns: 1fr auto; }
  .store__shops { grid-column: 1 / -1; grid-row: 2; }
  .footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__legal { justify-content: center; }
}

@media (min-width: 961px) {
  .nav__contact { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .hero__actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .pillars { grid-template-columns: 1fr; gap: 36px; }
  .pillar p { max-width: none; }
  .form__row { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 14px; padding-left: 0; padding-right: 0; }
  .product__media { grid-row: auto; }
  .product__desc { grid-column: auto; }
  .team { gap: 28px 16px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top > div:last-child { grid-column: 1 / -1; }
  .scroll-cue { display: none; }
  .link-arrow { display: inline; line-height: 2; }
  .link-arrow svg { display: inline-block; vertical-align: middle; margin-left: 0.5em; }
  .two-cols__text { text-align: left; }
}

/* ---------- Accessibilité : mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js [data-reveal="clip"], .line > span, .hero [data-hero-fade] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .to-top, .scroll-cue, .page-veil, .footer__social { display: none !important; }
  .hero { min-height: 0; padding: 40px 0; color: var(--brown); background: none; }
  .hero__media, .hero::after { display: none; }
}

/* ---------- Histoire : savoir-faire en étapes ---------- */
.section--alt { background: var(--cream-2); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 44px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.step__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--brown-deep);
  margin-bottom: 20px;
}
.step__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.step:hover .step__media img { transform: scale(1.05); }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--copper);
  margin-bottom: 6px;
}
.step__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 6px;
}
.step p { font-size: 0.93rem; margin: 0; max-width: 34ch; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; max-width: 420px; }
}

/* ---------- Histoire : conviction ---------- */
.manifesto .h2 { margin-bottom: 1.8rem; }
.manifesto__text { max-width: 760px; margin: 0 auto; }
.manifesto__quote {
  max-width: 760px;
  margin: clamp(40px, 5vw, 60px) auto 0;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.manifesto__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ---------- Points de vente : fiche boutique ---------- */
.store__info p { margin: 0; }
.store__name { font-size: 1.05rem; font-weight: 600; }
.store__name a {
  background: linear-gradient(var(--copper), var(--copper)) left bottom / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease), color 0.3s;
}
.store__name a:hover { background-size: 100% 1px; color: var(--copper); }
.store__address { font-size: 0.92rem; color: var(--muted); }
.store__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) {
  .store__info { grid-column: 1 / -1; grid-row: 2; }
  .store__actions { grid-column: 1 / -1; grid-row: 3; }
}

/* ---------- Histoire : responsable + collaborateurs ---------- */
.team--lead { grid-template-columns: minmax(0, 260px); justify-content: center; margin-bottom: clamp(56px, 7vw, 90px); }
.team--lead .member, .team .member { text-align: center; }
.team-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 clamp(28px, 3.5vw, 44px);
}
@media (max-width: 960px) { .team--lead { grid-template-columns: minmax(0, 240px); } }
