/* styles.css — Le Pain Du Bois */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --bg: #f6f1e8;
  --bg-soft: #ede4d3;
  --bg-card: #fbf7ef;
  --ink: #2a2118;
  --ink-soft: rgba(42, 33, 24, 0.72);
  --ink-mute: rgba(42, 33, 24, 0.62);
  --rule: rgba(42, 33, 24, 0.12);
  --rule-soft: rgba(42, 33, 24, 0.07);

  --crust: #b86b3a;
  --crust-deep: #8a4a22;
  --terracotta: #c2552d;
  --honey: #d99a4a;
  --crumb: #efd9a8;
  /* vert forêt du logo (« Du Bois ») — accent secondaire */
  --forest: #2f5d3a;
  --forest-soft: rgba(47, 93, 58, 0.12);

  /* Ombres « Modern » (Malewicz) : lumière d'en haut (liseré inset clair) + 2
     parties (contact serré + grande douce) TEINTÉES de la croûte #8a4a22
     (primaire assombrie) avec spread NÉGATIF = plus chaud et plus réaliste. */
  --shadow-1: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 2px rgba(138, 74, 34, 0.06), 0 4px 12px -2px rgba(138, 74, 34, 0.07);
  --shadow-2: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 2px rgba(138, 74, 34, 0.06), 0 14px 30px -8px rgba(138, 74, 34, 0.13);
  --shadow-3: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 3px rgba(138, 74, 34, 0.07), 0 26px 56px -12px rgba(138, 74, 34, 0.18);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);

  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;

  /* bouton primaire terracotta : la couleur d'action guide l'œil
     (#b84e28 sur blanc = 5.0:1, AA) */
  --btn-primary-bg: #b84e28;
  --btn-primary-ink: #ffffff;
  --btn-primary-hover: #9c3f1e;
}

[data-theme="dark"] {
  --bg: #1c1813;
  --bg-soft: #15110d;
  --bg-card: #221c15;
  --ink: #f3ead9;
  --ink-soft: rgba(243, 234, 217, 0.75);
  --ink-mute: rgba(243, 234, 217, 0.6);
  --rule: rgba(243, 234, 217, 0.14);
  --rule-soft: rgba(243, 234, 217, 0.07);

  --crust: #d99a4a;
  --crust-deep: #c97e3a;
  --terracotta: #e07a4a;
  --forest: #7db08a;
  --forest-soft: rgba(125, 176, 138, 0.14);

  --shadow-1: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 12px -2px rgba(0, 0, 0, 0.32);
  --shadow-2: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 2px rgba(0, 0, 0, 0.35), 0 14px 30px -6px rgba(0, 0, 0, 0.42);
  --shadow-3: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 3px rgba(0, 0, 0, 0.4), 0 26px 56px -10px rgba(0, 0, 0, 0.52);

  /* en sombre le terracotta clair manque de contraste avec du blanc :
     texte encre foncée sur fond terracotta (5.3:1) */
  --btn-primary-bg: #e07a4a;
  --btn-primary-ink: #241207;
  --btn-primary-hover: #ea8c60;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* WCAG 2.2 « Focus Not Obscured » : les éléments focalisés/ancres ne doivent
   pas atterrir sous la nav collante */
html { scroll-padding-top: 112px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { max-width: 100%; }

/* sélection de texte aux couleurs de la marque */
::selection { background: var(--crumb); color: #2a2118; }
[data-theme="dark"] ::selection { background: var(--crust-deep); color: #f6f1e8; }

/* barre de défilement discrète (WebKit) */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--ink) 22%, var(--bg));
  border-radius: 8px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--ink) 34%, var(--bg)); }

/* Focus clavier visible partout (accessibilité) */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Lien d'évitement : invisible jusqu'au focus clavier */
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transform: translateY(-64px);
  transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: translateY(0); }

/* Fine barre de progression de lecture, au-dessus de la nav */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  z-index: 80;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--honey));
  transform: scaleX(0);
  transform-origin: left;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(194, 85, 45, 0.18);
}

/* drapeau belge — fournisseur local */
.flag-be {
  display: inline-block;
  border-radius: 2.5px;
  box-shadow: 0 0 0 1px var(--rule);
  flex-shrink: 0;
}
.footer__crafted {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__top-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: hsl(35, 15%, 55%);
  transition: color 0.2s ease;
}
.footer__top-btn:hover { color: hsl(38, 32%, 84%); }
.footer__top-btn svg { transition: transform 0.25s cubic-bezier(.2,.7,.2,1); }
.footer__top-btn:hover svg { transform: translateY(-2px); }

.section__title, .hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.04;
  color: var(--ink);
  text-wrap: balance;
  font-optical-sizing: auto; /* Fraunces : dessin haute-finesse en grand */
}
.section__title { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 16px; }
.section__lede {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.6;
  text-wrap: pretty;
}
.prose {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 62ch; /* longueur de ligne lisible (45-75 caractères) */
  text-wrap: pretty;
}

.section__head { margin-bottom: 56px; max-width: 760px; }

/* ── Wordmark ────────────────────────────────────────────────────────────── */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.wordmark__line { white-space: nowrap; }
.wordmark__line--alt { font-style: italic; font-weight: 400; }
.wordmark__rule {
  width: 16px; height: 1px;
  background: currentColor;
  opacity: 0.4;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn { position: relative; overflow: hidden; }
.btn svg { transition: transform 0.25s cubic-bezier(.2,.7,.2,1); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-ink);
}
.btn--primary:hover { background: var(--btn-primary-hover); transform: translateY(-1px); }
/* balayage lumineux au survol */
@media (prefers-reduced-motion: no-preference) {
  .btn--primary::after, .btn--cream::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,0.16) 50%, transparent 68%);
    transform: translateX(-130%);
  }
  .btn--primary:hover::after, .btn--cream:hover::after {
    transform: translateX(130%);
    transition: transform 0.65s ease;
  }
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { background: var(--bg-card); border-color: var(--ink-mute); }
/* variantes pour fonds sombres (carte CTA, bandeau final) */
.btn--cream {
  background: #f6f1e8;
  color: #2a2118;
}
.btn--cream:hover { background: #fff; transform: translateY(-1px); }
.btn--outline-cream {
  background: transparent;
  color: #f6f1e8;
  border-color: rgba(246, 241, 232, 0.35);
}
.btn--outline-cream:hover { border-color: rgba(246, 241, 232, 0.8); background: rgba(246, 241, 232, 0.06); }
.btn__phone-icon {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(194, 85, 45, 0.14);
  color: var(--terracotta);
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.35s cubic-bezier(.2,.7,.2,1);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  border-bottom-color: var(--rule);
}
/* nav toujours visible (l'auto-hide déroutait : ancres décalées, repères perdus) */
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav__logo {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: block;
  background: #fff;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1);
}
.nav__brand:hover .nav__logo { transform: rotate(-8deg) scale(1.05); }
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: 28px;
  flex: 1;
}
.nav__links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 12px 2px;
  white-space: nowrap;
  transition: color 0.18s ease;
}
/* affordance de clic : soulignement qui se dessine au survol */
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(.2,.7,.2,1);
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--ink); }
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }
/* « vous êtes ici » : deux indices cumulés — couleur ET soulignement */
.nav__links a.is-current { color: var(--ink); font-weight: 600; }
.nav__links a.is-current::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  white-space: nowrap;
}
.nav__phone-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 4px var(--forest-soft);
}
@media (prefers-reduced-motion: no-preference) {
  .nav__phone-dot { animation: dotPulse 2.6s ease-in-out infinite; }
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 14%, transparent); }
  50%      { box-shadow: 0 0 0 7px color-mix(in srgb, currentColor 9%, transparent); }
}
.nav__phone:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav__phone:hover .nav__phone-dot { box-shadow: 0 0 0 4px rgba(76, 175, 109, 0.3); }

/* sélecteur de langue : segmented control, la pastille glisse vers l'actif */
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px;
}
.lang__pill {
  position: absolute;
  top: 3px; bottom: 3px; left: 0;
  background: var(--ink);
  border-radius: 999px;
  z-index: 0;
  transition: transform 0.32s cubic-bezier(.2,.7,.2,1), width 0.32s cubic-bezier(.2,.7,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  .lang__pill { transition: none; }
}
.lang__btn {
  position: relative;
  z-index: 1;
  background: transparent; border: 0;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--ink-mute); font-weight: 500; letter-spacing: 0.05em;
  border-radius: 999px;
  transition: color 0.25s ease;
}
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { color: var(--bg); }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: transparent; border: 0;
  color: var(--ink-mute);
  border-radius: 999px;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease, transform .15s ease;
}
.theme-toggle:hover { color: var(--ink); background: var(--bg-card); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.theme-toggle svg { display: block; }

.nav__burger {
  display: none;
  background: transparent; border: 0;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 4px;
}
.nav__burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
}
.nav__mobile { display: none; }

/* Les liens se replient dans le menu des 1270 px : deployes, la marque, les
   cinq liens, les langues et le bouton telephone reclament 1252 px de fenetre
   (mesure dans les trois langues). En dessous, ils debordaient et decalaient
   toute la page — mesure : +117 px a 1024 px, sur l'accueil comme sur les
   pages produit.
   ⚠️ Le bouton TELEPHONE, lui, reste dans la barre jusqu'a 1020 px : c'est en
   dessous seulement que la barre d'appel du bas d'ecran prend le relais (voir
   « .mobile-cta »). Sans cette distinction, le numero disparaitrait de l'ecran
   entre 1021 et 1270 px — or c'est le seul moyen de commander. */
@media (max-width: 1270px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__right { margin-left: auto; }
  /* les langues vivent dans le menu burger : la barre reste minimale */
  .nav__right > .lang { display: none; }
  .nav__mobile {
    display: flex; flex-direction: column;
    padding: 0 var(--pad) 20px;
    border-top: 1px solid var(--rule);
    gap: 14px; padding-top: 16px;
  }
  .nav__mobile a { font-size: 16px; padding: 6px 0; }
  .nav__mobile-lang {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--rule-soft);
  }
}
/* En dessous de 1020 px, la barre d'appel fixe du bas d'ecran apparait
   (« .mobile-cta ») : le bouton telephone quitte alors la barre du haut, pour
   ne pas proposer deux fois la meme action. */
@media (max-width: 1020px) {
  .nav__phone { display: none; }
  .nav__inner { gap: 12px; }
  .nav__right { gap: 8px; }
}

/* très petits écrans : resserrer légèrement la marque */
@media (max-width: 420px) {
  .wordmark { font-size: 17px; }
  .nav__logo { width: 42px; height: 42px; }
  .nav__brand { gap: 10px; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(48px, 8vw, 96px) var(--pad) clamp(64px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__title {
  font-size: clamp(46px, 7.2vw, 96px);
  letter-spacing: -0.032em; /* plus le titre est grand, plus on resserre */
  margin-bottom: 24px;
}
.hero__title-em {
  font-style: italic;
  color: var(--crust-deep);
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
[data-theme="dark"] .hero__title-em { color: var(--crust); }
/* trait de marqueur peint qui chevauche le bas du mot (finition signature) */
.hero__title-em::before {
  content: "";
  position: absolute;
  left: -0.06em; right: -0.06em;
  bottom: 0.1em;
  height: 0.34em;
  z-index: -1;
  background: linear-gradient(105deg,
    color-mix(in srgb, var(--honey) 62%, transparent),
    color-mix(in srgb, var(--honey) 44%, transparent));
  border-radius: 40% 55% 45% 60% / 60%;
  transform: rotate(-1.2deg);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__title-em::before {
    transform: rotate(-1.2deg) scaleX(0);
    transform-origin: left;
    animation: markerIn 0.7s 0.9s cubic-bezier(.2,.7,.2,1) forwards;
  }
}
@keyframes markerIn { to { transform: rotate(-1.2deg) scaleX(1); } }
.hero__lede {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--ink-soft);
  max-width: 50ch;
  line-height: 1.6;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__tagline {
  font-size: 12px;
  font-family: var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
}
/* panneau riche : masse chaude et profonde qui ancre l'œil (pas de photo requise) */
.hero__placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(90% 72% at 50% 36%, rgba(217, 154, 74, 0.32) 0%, transparent 62%),
    radial-gradient(130% 110% at 10% 100%, rgba(194, 85, 45, 0.30) 0%, transparent 55%),
    linear-gradient(160deg, #453121 0%, #5c3a22 52%, #8a4e2b 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 2px 6px rgba(42, 33, 24, 0.2),
    0 36px 80px -24px rgba(90, 55, 30, 0.55);
}
/* filigrane d'épis de blé (même motif que le bandeau final) */
.hero__placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23f6f1e8' stroke-opacity='0.05' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M30 92V52'/%3E%3Cpath d='M30 60c-6-2-9-7-9-13 6 0 9 5 9 11zM30 60c6-2 9-7 9-13-6 0-9 5-9 11zM30 72c-6-2-9-7-9-13 6 0 9 5 9 11zM30 72c6-2 9-7 9-13-6 0-9 5-9 11z'/%3E%3Cpath d='M90 100V60'/%3E%3Cpath d='M90 68c-6-2-9-7-9-13 6 0 9 5 9 11zM90 68c6-2 9-7 9-13-6 0-9 5-9 11z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero__ph-stack {
  filter: drop-shadow(0 20px 30px rgba(138, 74, 34, 0.18));
}
.hero__ph-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  background: var(--bg-card);
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--rule);
}
.hero__ph-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-mute);
}
.hero__stat-card {
  position: absolute;
  background: var(--bg-card);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-3);
}
.hero__stat-card--1 { left: -8px; bottom: 14%; }
.hero__stat-card--2 { right: -8px; top: 12%; }
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; /* pas de sautillement pendant le comptage */
}
.hero__stat-label {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* vraie photo du hero (quand HERO_IMAGE est renseigné dans data.jsx) */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Hero : vitrine du logo ──────────────────────────────────────────────── */
.hero__logo-wrap {
  position: relative;
  width: min(74%, 340px);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero__logo {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: block;
  box-shadow:
    0 2px 8px rgba(20, 12, 6, 0.35),
    0 32px 70px -10px rgba(20, 12, 6, 0.55);
  border: 6px solid rgba(251, 247, 239, 0.96);
}
/* anneau pointillé doré qui tourne lentement autour du badge */
.hero__logo-ring {
  position: absolute;
  inset: -7.5%;
  border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, #d99a4a 80%, transparent);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__logo-wrap { animation: heroFloat 7s ease-in-out infinite; }
  .hero__logo-ring { animation: ringSpin 70s linear infinite; }
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* Effet 2 (Kinetics « Sheen sweep ») — un reflet de lumière traverse le badge
   logo périodiquement (façon tampon qui accroche la lumière). Clippé au rond. */
.hero__logo-sheen {
  position: absolute;
  inset: 6px; /* à l'intérieur de la bordure blanche du logo */
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.hero__logo-sheen::before {
  content: "";
  position: absolute;
  top: -25%; bottom: -25%;
  left: -60%;
  width: 42%;
  transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__logo-sheen::before { animation: logoSheen 6s ease-in-out infinite; }
}
@keyframes logoSheen {
  0%, 22%   { left: -60%; }
  55%, 100% { left: 120%; }
}

/* grain très léger sur le hero — matière papier/farine */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0.035'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Hero : entrée en cascade au chargement ─────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow,
  .hero__lede,
  .hero__ctas,
  .hero__tagline {
    opacity: 0;
    animation: riseIn 0.85s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .hero .eyebrow { animation-delay: 0.05s; }
  .hero__lede { animation-delay: 0.3s; }
  .hero__ctas { animation-delay: 0.44s; }
  .hero__tagline { animation-delay: 0.58s; }
  .hero__placeholder {
    opacity: 0;
    animation: heroVisualIn 1s 0.3s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .hero__stat-card--1 { opacity: 0; animation: statPop 0.7s 0.95s cubic-bezier(.34,1.56,.64,1) forwards; }
  .hero__stat-card--2 { opacity: 0; animation: statPop 0.7s 1.15s cubic-bezier(.34,1.56,.64,1) forwards; }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroVisualIn {
  from { opacity: 0; transform: scale(0.94) translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes statPop {
  from { opacity: 0; transform: translateY(16px) scale(0.88); }
  to   { opacity: 1; transform: none; }
}

/* Effet 1 (Kinetics « Text split reveal ») — chaque mot du titre monte + apparaît.
   Gaté derrière .js-reveal : si JS échoue OU reduced-motion, le titre est visible. */
.hw { display: inline-block; }
.hw__i { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .hw__i {
    opacity: 0;
    transform: translateY(0.5em);
    animation: wordRise 0.62s cubic-bezier(.2,.85,.3,1.08) forwards;
    will-change: transform, opacity;
  }
}
@keyframes wordRise {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Features (bande points forts) ───────────────────────────────────────── */
.features {
  padding: 0 var(--pad) clamp(40px, 6vw, 72px);
}
.features__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1020px) { .features__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features__inner { grid-template-columns: 1fr; } }
/* Cartes informatives, PAS cliquables → aucun retour au survol (un hover
   suggérerait un lien qui n'existe pas) */
.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.feature__icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(194, 85, 45, 0.1);
  color: var(--terracotta);
}
.feature__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.feature__body {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ── Marquee (ruban défilant) ────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--rule);
  background: var(--bg-soft);
  padding: 16px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
}
.marquee__row { display: flex; flex-shrink: 0; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}
.marquee__sep { color: var(--terracotta); flex-shrink: 0; }
.marquee__item:nth-child(even) .marquee__sep { color: var(--forest); }
@media (prefers-reduced-motion: no-preference) {
  /* durée = 3× (le contenu est répété 3×) pour conserver la même vitesse visuelle */
  .marquee__track { animation: marqueeScroll 114s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ── Generic section ─────────────────────────────────────────────────────── */
.section {
  padding: clamp(64px, 10vw, 140px) var(--pad);
  position: relative;
}
.section__inner { max-width: var(--maxw); margin: 0 auto; }
.section--products { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.section--about { background: var(--bg); }
.section--delivery { background: var(--bg-soft); }
.section--order { background: var(--bg); }
.section--faq { background: var(--bg-soft); }

/* ── Products ────────────────────────────────────────────────────────────── */
/* chips de segmentation métiers */
.audience-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -32px 0 44px;
}
.audience-row__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 4px;
}
.audience-row__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.audience-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--bg-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.audience-chip:hover {
  border-color: color-mix(in srgb, var(--forest) 45%, transparent);
  color: var(--forest);
  transform: translateY(-1px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}
.product-cell { display: flex; }
.product-cell > .product { flex: 1; }
.product {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-grid--soft .product {
  border: 1px solid var(--rule-soft);
  box-shadow: var(--shadow-1);
}
.product-grid--bordered .product {
  border: 1px solid var(--rule);
  box-shadow: none;
}
.product-grid--elevated .product {
  box-shadow: var(--shadow-2);
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }

.product__visual {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(125% 95% at 50% 36%,
      color-mix(in srgb, var(--tint-top, var(--crumb)) 40%, var(--bg-card)) 0%,
      color-mix(in srgb, var(--tint-bot, var(--crumb)) 14%, var(--bg-card)) 55%,
      var(--bg-card) 100%),
    repeating-linear-gradient(135deg,
      color-mix(in srgb, var(--crumb) 20%, var(--bg-card)) 0 14px,
      color-mix(in srgb, var(--crumb) 10%, var(--bg-card)) 14px 15px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: background 0.45s ease;
}
/* Effet 4 (Kinetics « Shine sweep ») — un reflet balaie le visuel au survol
   (desktop). Pas de survol tactile → rien sur mobile. Coupé en reduced-motion. */
.product__visual::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 55%; height: 100%;
  transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.30), transparent);
  z-index: 4;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .product:hover .product__visual::after {
    left: 130%;
    transition: left 0.75s cubic-bezier(.65, 0, .35, 1);
  }
}
[data-theme="dark"] .product__visual {
  background:
    radial-gradient(125% 95% at 50% 36%,
      color-mix(in srgb, var(--tint-top, var(--crust)) 30%, var(--bg-card)) 0%,
      var(--bg-card) 70%),
    repeating-linear-gradient(135deg,
      color-mix(in srgb, var(--crust) 10%, var(--bg-card)) 0 14px,
      color-mix(in srgb, var(--crust) 5%, var(--bg-card)) 14px 15px);
}
.product__visual-inner {
  filter: drop-shadow(0 10px 18px rgba(138, 74, 34, 0.18));
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease;
  z-index: 1;
}
.product:hover .product__visual-inner { transform: translateY(-3px) scale(1.03); }
.product__visual.is-hover .product__visual-inner { animation: bunFloat 3.4s ease-in-out infinite; }

/* vraie photo produit (quand imageSrc est renseigné dans data.jsx) */
.product__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
}
.product:hover .product__photo { transform: scale(1.035); }

/* hover video (real clip when provided, else premium placeholder) */
.product__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}
.product__visual.is-hover .product__video { opacity: 1; }

/* ── Photo du pain coupé, révélée au survol ──────────────────────────────────
   Même mécanique de fondu que la vidéo. C'est la mie qui décide l'achat en
   B2B : le survol sert donc à informer, pas seulement à décorer. */
.product__cut {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}
.product__visual.is-hover .product__cut { opacity: 1; }

/* Bouton réservé aux écrans TACTILES : sans survol, la coupe serait
   inaccessible sur téléphone. Masqué partout où le survol existe. */
.product__cut-btn { display: none; }
@media (hover: none) {
  .product__cut-btn {
    display: inline-flex;
    align-items: center;
    position: absolute;
    right: 10px; bottom: 10px;
    z-index: 3;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-2);
    cursor: pointer;
  }
  /* zone tactile élargie à 44px sans grossir le bouton */
  .product__cut-btn::before { content: ""; position: absolute; inset: -4px; }
}
@media (prefers-reduced-motion: reduce) {
  .product__cut { transition: none; }
}
.product__video-ph {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  background: color-mix(in srgb, var(--ink) 50%, transparent);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
  pointer-events: none;
}
.product__visual.is-hover .product__video-ph { opacity: 1; }
.product__play {
  position: relative;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.94);
  color: var(--crust-deep);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  transform: scale(0.82);
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1.3);
}
.product__visual.is-hover .product__play { transform: scale(1); }
@media (prefers-reduced-motion: no-preference) {
  .product__visual.is-hover .product__play::after {
    content: "";
    position: absolute;
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    animation: playPulse 1.8s ease-out infinite;
  }
}
@keyframes playPulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.product__video-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
@keyframes bunFloat {
  0%, 100% { transform: translateY(-3px) scale(1.03); }
  50%      { transform: translateY(-9px) scale(1.03); }
}
.product__cat {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink-soft);
}
.product__photo-soon {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  color: var(--ink-mute);
  background: var(--bg-card);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--rule);
}
.product__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.product__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}
.product__specs { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--rule-soft); }
.product__spec { display: flex; flex-direction: column; gap: 10px; }
.product__spec-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.product__size {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  border-radius: 999px;
  color: var(--ink);
}
.chip--soft {
  background: rgba(194, 85, 45, 0.1);
  border-color: rgba(194, 85, 45, 0.25);
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.colorway-row { display: flex; flex-wrap: wrap; gap: 6px; }
.colorway {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 4px 10px 4px 4px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.colorway:hover { color: var(--ink); }
.colorway.is-active { border-color: var(--ink); color: var(--ink); background: var(--bg-card); }
.colorway__dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.swatches { display: inline-flex; gap: 4px; }
.swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--bg-card);
  box-shadow: 0 0 0 1px var(--rule);
}
.custom-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* carte de clôture du catalogue : sur-mesure */
.product--cta {
  background: linear-gradient(160deg, var(--ink) 0%, #3d2f1f 100%);
  color: #f6f1e8;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 30px;
  gap: 14px;
}
[data-theme="dark"] .product--cta {
  background: linear-gradient(160deg, #2c241a 0%, #40301d 100%);
}
.product--cta:hover { transform: translateY(-3px); }
.product-cta__wheat { color: var(--honey); }
.product-cta__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
.product-cta__body {
  font-size: 14px;
  line-height: 1.6;
  color: hsl(38, 26%, 75%);
  margin-bottom: 8px;
}

/* ── About ───────────────────────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 880px) { .about__grid { grid-template-columns: 1fr; } }

.about__portrait { position: relative; }

/* ── Galerie photo du fondateur ─────────────────────────────────────────────
   Défilement horizontal natif avec aimantation : le balayage au doigt marche
   sans JavaScript. Les flèches et les points ne sont qu'un confort en plus. */

/* Visible uniquement par les lecteurs d'écran (annonce « Photo 2 sur 4 »). */
.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;
}

.founder { position: relative; }

.founder__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius-lg);
  /* barre de défilement masquée : les points et les flèches font l'indication */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.founder__track::-webkit-scrollbar { display: none; }
.founder__track:focus-visible {
  outline: 2px solid var(--crust);
  outline-offset: 3px;
}

.founder__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  margin: 0;
}

.founder__img {
  display: block;
  width: 100%;
  /* height:auto est INDISPENSABLE : les attributs width/height du HTML (qui
     réservent la place et évitent les sauts de mise en page) imposent sinon
     une hauteur de 1500px et neutralisent l'aspect-ratio ci-dessous. */
  height: auto;
  aspect-ratio: 4 / 5;
  /* recadrage centré : la photo remplit le cadre quelle que soit la taille
     d'écran, sans jamais se déformer */
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  /* ombre interne très douce : évite que la photo se fonde dans le fond
     quand ses bords sont clairs (plus discret qu'une bordure) */
  box-shadow: inset 0 0 0 1px var(--rule-soft);
}

/* Voile 2 % de la couleur de marque : unifie les photos entre elles et les
   rattache visuellement au reste du site. Invisible consciemment. */
.founder__slide::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: var(--crust);
  opacity: 0.02;
  pointer-events: none;
}
.founder__slide { position: relative; }

.founder__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;           /* cible tactile conforme */
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--bg-card);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-2);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.founder__arrow--prev { left: -14px; }
.founder__arrow--next { right: -14px; }
.founder__arrow:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); }
.founder__arrow:active:not(:disabled) { transform: translateY(-50%) scale(0.96); }
.founder__arrow:focus-visible { outline: 2px solid var(--crust); outline-offset: 2px; }

.founder__dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.founder__dot {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: var(--rule);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
  /* la pastille reste petite visuellement, mais reste facile à viser */
  position: relative;
}
.founder__dot::before {
  content: "";
  position: absolute;
  inset: -14px;                        /* zone cliquable élargie à 36px */
}
.founder__dot.is-active { background: var(--crust); width: 22px; }
.founder__dot:focus-visible { outline: 2px solid var(--crust); outline-offset: 3px; }

.founder__caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
  min-height: 1.4em;                   /* réserve la place : aucun saut au défilement */
}

/* Écrans tactiles : les flèches sont inutiles (on balaye), et elles mordent
   sur la photo quand la place manque. */
@media (max-width: 560px) {
  .founder__arrow { display: none; }

  /* La photo suivante dépasse d'environ 28 px : c'est LE signal qui dit
     « ça se balaye ». Mesuré : à 86 % de largeur il n'en dépassait que 13 px,
     ce qui se lit comme une barre décorative et non comme une photo. */
  .founder__track { gap: 6px; }
  .founder__slide { flex-basis: 80%; }
  /* marges (et non padding sur le cadre) : le padding de fin d'un conteneur
     à défilement est ignoré par certains navigateurs, la dernière photo ne
     se centrerait alors jamais. */
  .founder__slide:first-child { margin-left: 10%; }
  .founder__slide:last-child { margin-right: 10%; }

  /* les photos de côté s'effacent légèrement : l'œil sait laquelle est
     « celle du moment » sans qu'on ait à l'écrire. */
  .founder__slide { opacity: 0.8; transition: opacity 0.25s ease; }
  .founder__slide.is-current { opacity: 1; }

  /* sept pastilles à la file tiennent large sur un petit écran */
  .founder__dots { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .founder__track { scroll-behavior: auto; }
  .founder__arrow, .founder__dot, .founder__slide { transition: none; }
}
.portrait-card {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(45deg,
      color-mix(in srgb, var(--crust) 18%, var(--bg-card)) 0 18px,
      color-mix(in srgb, var(--crust) 10%, var(--bg-card)) 18px 19px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.portrait-card__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
}
.portrait-card__monogram {
  font-family: var(--font-display);
  font-size: clamp(70px, 10vw, 140px);
  font-weight: 400;
  font-style: italic;
  color: var(--crust-deep);
  line-height: 1;
  letter-spacing: -0.04em;
}
.portrait-card__label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  background: var(--bg-card);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
}
/* Le badge se plaçait en flottant au coin bas-droit du bloc. Or ce bloc
   contient désormais la galerie du fondateur : son « bas » n'est plus le bas
   de la photo mais celui des pastilles et de la légende, que le badge
   recouvrait alors. Mesuré sur onze largeurs d'écran : légende masquée entre
   881 et ~1150 px, pastille 7 impossible à viser vers 900 px, et un
   défilement horizontal parasite vers 1024 px (le badge dépassait à droite).
   Il est donc posé dans le flux, centré sous la galerie : lisible partout,
   sans rien masquer, à toutes les largeurs. */
.about__years {
  margin: 22px auto 0;
  width: fit-content;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; align-items: center;
  min-width: 140px;
}
.about__years-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.about__years-num span { color: var(--terracotta); }
.about__years-label {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

.quote {
  position: relative;
  padding: 10px 0 6px 58px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}
/* guillemet géant décoratif — la ponctuation devient un élément graphique */
.quote::before {
  content: "«";
  position: absolute;
  left: 0; top: -14px;
  font-size: 76px;
  line-height: 1;
  font-style: normal;
  color: var(--terracotta);
}
.quote footer {
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ── Testimonials — mur d'avis défilant ──────────────────────────────────── */
.section--testimonials { background: var(--bg-soft); }
.section--testimonials .section__inner { margin-bottom: 40px; }

/* mur pleine largeur, fondu progressif aux deux bords (premium) */
.twall {
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.twall__track { display: flex; width: max-content; }
.twall__row {
  display: flex;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .twall__track { animation: twallScroll 80s linear infinite; }
  .twall:hover .twall__track { animation-play-state: paused; }
}
@keyframes twallScroll { to { transform: translateX(-50%); } }
/* mouvement réduit : mur statique centré (pas de défilement) */
@media (prefers-reduced-motion: reduce) {
  .twall { -webkit-mask-image: none; mask-image: none; padding-inline: var(--pad); }
  .twall__track { flex-wrap: wrap; width: auto; justify-content: center; gap: 24px; }
  .twall__row { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .twall__row[aria-hidden="true"] { display: none; }
}

.tcard {
  margin: 0;
  width: min(360px, 82vw);
  flex-shrink: 0;
  padding: 32px;
  padding-top: 40px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  position: relative;
}
.tcard::before {
  content: "«";
  position: absolute;
  top: 4px; left: 24px;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--terracotta);
}
.tcard__quote {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 16px;
}
.tcard__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.tcard__place {
  display: block;
  font-weight: 400;
  color: var(--ink-mute);
  margin-top: 2px;
}
/* cartes-exemples (état vide) : clairement « à venir », jamais un faux avis */
.tcard--demo {
  background: transparent;
  border: 1.5px dashed var(--rule);
  box-shadow: none;
}
.tcard--demo::before { color: color-mix(in srgb, var(--terracotta) 45%, transparent); }
.tcard--demo .tcard__quote { color: var(--ink-mute); }
.tcard__badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(194, 85, 45, 0.1);
  border: 1px solid rgba(194, 85, 45, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ── Delivery ────────────────────────────────────────────────────────────── */
.delivery__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 980px) { .delivery__grid { grid-template-columns: 1fr; } }

.delivery__map {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 440px;
  color: var(--ink);
  display: block;
}
.delivery__leaflet {
  position: absolute;
  inset: 0;
  background: var(--bg-soft);
}
/* teinte chaude appliquée aux TUILES seulement — la zone terracotta et le
   marqueur restent aux couleurs exactes de la marque */
.delivery__leaflet .leaflet-tile-pane {
  filter: sepia(0.32) saturate(0.82) contrast(0.97) brightness(1.02) hue-rotate(-6deg);
}
[data-theme="dark"] .delivery__leaflet .leaflet-tile-pane {
  filter: invert(0.9) hue-rotate(170deg) sepia(0.35) saturate(0.85) brightness(0.95) contrast(0.95);
}
.lpdb-pin svg { filter: drop-shadow(0 3px 6px rgba(42, 33, 24, 0.35)); }
.delivery__leaflet .leaflet-popup-content-wrapper {
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
}
.delivery__leaflet .leaflet-container a { color: inherit; }
/* vignette subtile pour fondre la carte dans la card ; laisse passer les clics.
   z-index 450 : au-dessus des tuiles Leaflet (200), sous le marqueur (600). */
.delivery__map-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 120% at 50% 45%, transparent 55%, color-mix(in srgb, var(--crust) 12%, transparent) 100%);
  mix-blend-mode: multiply;
  z-index: 450;
}
[data-theme="dark"] .delivery__map-tint { mix-blend-mode: screen; opacity: 0.5; }

.delivery__legend-pin {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--terracotta);
  flex-shrink: 0;
}
.delivery__legend {
  position: absolute;
  left: 20px; bottom: 18px;
  z-index: 1100; /* au-dessus des contrôles Leaflet */
  display: flex; flex-direction: column; gap: 8px;
  background: color-mix(in srgb, var(--bg-card) 90%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 12px 16px;
}
.delivery__legend-row {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.delivery__legend-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.delivery__legend-dot--pin {
  background: var(--terracotta);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--terracotta) 30%, transparent);
}
.delivery__legend-dot--zone {
  background: color-mix(in srgb, var(--terracotta) 18%, transparent);
  border: 1.3px dashed var(--terracotta);
}
.delivery__maps-btn {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 1100;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg-card) 90%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 13px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.delivery__maps-btn:hover { border-color: var(--ink-mute); background: var(--bg-card); }

.delivery__cards { display: flex; flex-direction: column; gap: 16px; }
.dcard {
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
a.dcard:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.dcard__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.dcard__head h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  flex: 1;
}
.dcard__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  color: var(--ink-soft);
}
.dcard__badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: var(--terracotta);
  padding: 4px 9px;
  border-radius: 999px;
}
.dcard__body {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  white-space: pre-line;
}
.dcard__footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
}
.dcard--hl {
  background: linear-gradient(180deg, var(--bg-card) 0%, color-mix(in srgb, var(--terracotta) 5%, var(--bg-card)) 100%);
  border-top: 3px solid var(--terracotta);
}

/* ── Order ───────────────────────────────────────────────────────────────── */
/* compte à rebours avant 21h */
.cutoff-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -32px 0 48px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--forest-soft);
  border: 1px solid color-mix(in srgb, var(--forest) 32%, transparent);
  color: var(--forest);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.cutoff-chip__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .cutoff-chip__dot { animation: dotPulse 2.6s ease-in-out infinite; }
}
.cutoff-chip--late {
  background: rgba(194, 85, 45, 0.1);
  border-color: rgba(194, 85, 45, 0.32);
  color: var(--terracotta);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  counter-reset: step;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 32px;
  background: var(--bg-card);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-lg);
  position: relative;
}
.step__num {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(194, 85, 45, 0.1);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: 32px;
  background: var(--bg-card);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.contact-card__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}
.contact-card__value:hover { color: var(--terracotta); }
.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.contact-card__hours {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 8px 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq__chev {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: transform 0.25s ease, background 0.2s ease;
  flex-shrink: 0;
}
.faq__item.is-open .faq__chev { transform: rotate(180deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; padding-bottom: 22px; }
.faq__a > p {
  overflow: hidden;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 70ch;
  line-height: 1.65;
}

/* ── CTA banner (clôture avant footer) ──────────────────────────────────── */
.cta-banner {
  background:
    radial-gradient(120% 160% at 85% 10%, rgba(194, 85, 45, 0.18) 0%, transparent 55%),
    radial-gradient(100% 140% at 10% 90%, rgba(47, 93, 58, 0.14) 0%, transparent 50%),
    var(--ink);
  color: #f6f1e8;
  padding: clamp(72px, 10vw, 130px) var(--pad);
  text-align: center;
}
[data-theme="dark"] .cta-banner {
  background:
    radial-gradient(120% 160% at 85% 10%, rgba(224, 122, 74, 0.12) 0%, transparent 55%),
    radial-gradient(100% 140% at 10% 90%, rgba(125, 176, 138, 0.08) 0%, transparent 50%),
    #241d13;
}
.cta-banner { position: relative; overflow: hidden; }
/* motif d'épis de blé en filigrane, très faible contraste (décor de fond) */
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23f6f1e8' stroke-opacity='0.05' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M30 92V52'/%3E%3Cpath d='M30 60c-6-2-9-7-9-13 6 0 9 5 9 11zM30 60c6-2 9-7 9-13-6 0-9 5-9 11zM30 72c-6-2-9-7-9-13 6 0 9 5 9 11zM30 72c6-2 9-7 9-13-6 0-9 5-9 11z'/%3E%3Cpath d='M90 100V60'/%3E%3Cpath d='M90 68c-6-2-9-7-9-13 6 0 9 5 9 11zM90 68c6-2 9-7 9-13-6 0-9 5-9 11z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 52px) clamp(24px, 5vw, 56px);
}
/* Effet 3 (Kinetics « Border beam ») — un halo chaud parcourt lentement le
   contour arrondi du bandeau. Intérieur transparent (masque en exclusion) →
   reste aéré. UNE seule occurrence sur le site = sobriété respectée. */
@property --beam-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cta-banner__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--beam-a),
    transparent 0 66%,
    color-mix(in srgb, var(--honey) 85%, transparent) 79%,
    #fff 86%,
    transparent 92% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}
@media (prefers-reduced-motion: no-preference) {
  .cta-banner__inner::before { animation: beamSpin 7s linear infinite; }
}
@keyframes beamSpin { to { --beam-a: 360deg; } }
.cta-banner__logo {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 3px solid rgba(246, 241, 232, 0.9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 26px;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 68px);
  letter-spacing: -0.022em;
  line-height: 1.06;
  margin-bottom: 20px;
  text-wrap: balance;
}
.cta-banner__title em {
  font-style: italic;
  color: var(--honey);
}
.cta-banner__lede {
  font-size: clamp(15px, 1.3vw, 18px);
  color: hsl(38, 28%, 76%);
  max-width: 52ch;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.cta-banner__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(56px, 8vw, 96px) var(--pad) 32px;
}
[data-theme="dark"] .footer { background: #0f0c08; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid hsl(30, 18%, 26%);
}
@media (max-width: 880px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(246, 241, 232, 0.25);
  display: block;
}
.footer__brand p {
  margin-top: 16px;
  font-size: 14px;
  color: hsl(35, 22%, 66%); /* teinte chaude pleine, pas de blanc délavé */
  max-width: 32ch;
}
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(35, 18%, 58%);
  font-weight: 500;
  margin-bottom: 8px;
}
.footer__col a, .footer__col span {
  font-size: 14px;
  color: hsl(38, 32%, 84%);
  line-height: 1.55;
}
.footer__col a:hover { color: var(--bg); }
.footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: hsl(35, 15%, 55%);
  letter-spacing: 0.04em;
}
.footer__crafted { font-style: italic; }
@media (max-width: 540px) { .footer__bottom { flex-direction: column; gap: 8px; } }

/* ── Mobile CTA (barre d'appel fixe en bas, mobile uniquement) ───────────── */
.mobile-cta { display: none; }
@media (max-width: 1020px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-top: 1px solid var(--rule);
  }
  .mobile-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-size: 15px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }
  .mobile-cta__btn:active { transform: scale(0.985); }
  /* la barre ne doit pas masquer le bas du footer */
  .footer { padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom, 0px)); }
}

/* ── Cibles tactiles ≥ 44px sur écrans tactiles (Fitts / WCAG 2.2) ───────── */
@media (pointer: coarse) {
  .btn--sm { min-height: 44px; }
  .colorway { min-height: 44px; padding: 8px 14px 8px 8px; }
  .lang__btn { min-height: 40px; padding: 9px 12px; }
  .theme-toggle { width: 44px; height: 44px; }
  .nav__burger { width: 44px; height: 44px; }
  .delivery__maps-btn { min-height: 44px; padding: 12px 16px; }
  .faq__q { padding-block: 24px; } /* rangée FAQ confortable au doigt */
}

/* ── Motion: scroll-reveal ───────────────────────────────────────────────── */
/* Transform-only (no opacity) so content is ALWAYS visible — worst case it just
   sits a little lower. Hidden base gated behind .js-reveal. Reveal applied via
   inline transform by motion.jsx. */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] {
    transform: translateY(28px);
    transition: transform 0.85s cubic-bezier(.2,.7,.2,1);
    will-change: transform;
  }
}

/* gentle idle float on the hero bun */
@media (prefers-reduced-motion: no-preference) {
  .hero__ph-stack { animation: heroFloat 6s ease-in-out infinite; }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE PRODUIT (une fiche par produit, générée par build.js)
   ═══════════════════════════════════════════════════════════════════════════ */

.ppage { padding: 104px 0 96px; }
.ppage__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}


.ppage__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .ppage__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Une case de grille refuse par défaut de devenir plus étroite que son
   contenu (« min-width: auto »). Ici ce contenu est la bande de vignettes :
   cinq vignettes de 84 px et leurs écarts font 460 px — six pour le hot-dog,
   soit 554 px. La colonne photo restait donc large de 460 px dans un
   téléphone de 390 px, et TOUTE la page se décalait sur le côté (mesuré :
   +110 px, +207 px pour le hot-dog).
   Les deux bandes qui défilent — la grande photo et les vignettes — savent
   déjà gérer leur trop-plein toutes seules : on autorise simplement la
   colonne à rétrécir. */
.ppage__media, .ppage__info { min-width: 0; }

/* ── Galerie ─────────────────────────────────────────────────────────────── */
.pgal { position: relative; }
.pgal__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius-lg);
  scrollbar-width: none; -ms-overflow-style: none;
}
.pgal__track::-webkit-scrollbar { display: none; }
.pgal__track:focus-visible { outline: 2px solid var(--crust); outline-offset: 3px; }
.pgal__slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.pgal__img {
  display: block;
  width: 100%;
  height: auto;                /* indispensable : sinon les attributs HTML imposent 825px */
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px var(--rule-soft);
}

.pgal__thumbs {
  display: flex; gap: 10px; margin-top: 14px;
  overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none;
}
.pgal__thumbs::-webkit-scrollbar { display: none; }
.pgal__thumb {
  flex: 0 0 auto;
  width: 84px; height: 58px;
  padding: 0; border: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  position: relative;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.pgal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* le cadre, dessine PAR-DESSUS la photo et a l'interieur du bord */
.pgal__thumb::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: box-shadow 0.2s ease;
  pointer-events: none;
}
.pgal__thumb:hover { opacity: 0.85; }
.pgal__thumb.is-active { opacity: 1; }
.pgal__thumb.is-active::after { box-shadow: inset 0 0 0 2px var(--crust); }
/* ecart negatif : le halo de mise au point clavier est lui aussi dessine a
   l'interieur, sinon la bande a defilement le rognerait pareillement */
.pgal__thumb:focus-visible { outline: 2px solid var(--crust); outline-offset: -2px; }

/* ── Colonne d'information ───────────────────────────────────────────────── */
.ppage__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}
.ppage__lede { font-size: 17px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 28px; }

.ppage__label {
  display: block;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 10px;
}
.ppage__variants { margin-bottom: 28px; }
.ppage__pills { display: flex; flex-wrap: wrap; gap: 8px; }

.ppage__specs {
  display: grid; grid-template-columns: auto 1fr;
  gap: 10px 20px;
  margin: 0 0 32px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.ppage__specs dt { color: var(--ink-mute); }
.ppage__specs dd { margin: 0; }

.ppage__h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  margin: 0 0 10px;
}
.ppage__allerg { margin-bottom: 32px; }
/* Donnée réglementée non encore validée : on l'annonce clairement plutôt que
   d'afficher une liste incomplète. */
.ppage__allerg-pending {
  font-size: 14px; line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border-left: 3px solid var(--honey, var(--crust));
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin: 0;
}
.ppage__allerg-note { font-size: 13px; color: var(--ink-mute); margin: 10px 0 0; }

.ppage__cta {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
}
.ppage__cta p { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; }
.ppage__cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 560px) {
  .ppage { padding: 88px 0 72px; }
  .ppage__cta-row .btn { width: 100%; justify-content: center; }
}

/* ── Fil d'Ariane ────────────────────────────────────────────────────────────
   Plus petit que la navigation, page courante non cliquable (convention). */
.fil { margin-bottom: 22px; }
.fil ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
  font-size: 13px; color: var(--ink-mute);
}
.fil li { display: flex; align-items: center; gap: 8px; }
.fil li + li::before { content: "/"; color: var(--rule); }
.fil a {
  color: var(--ink-soft);
  text-decoration: none;
  /* zone cliquable confortable sans grossir le texte */
  padding: 6px 0;
}
.fil a:hover { color: var(--crust); text-decoration: underline; }
.fil a:focus-visible { outline: 2px solid var(--crust); outline-offset: 2px; border-radius: 4px; }
.fil [aria-current="page"] { color: var(--ink); }

/* ── Fiche précédente / suivante ─────────────────────────────────────────── */
.ppage__nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.ppage__nav-lien {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ppage__nav-lien:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.ppage__nav-lien:focus-visible { outline: 2px solid var(--crust); outline-offset: 3px; }
.ppage__nav-lien--suiv { text-align: right; }
.ppage__nav-label { font-size: 12px; color: var(--ink-mute); }
.ppage__nav-nom { font-family: var(--font-display); font-size: 17px; color: var(--ink); }

@media (max-width: 560px) {
  .ppage__nav { grid-template-columns: 1fr; margin-top: 44px; }
  .ppage__nav-lien--suiv { text-align: left; }
}

/* Liens du pied de page : 22px de haut, sous le minimum tactile de 44px.
   On élargit la zone SANS changer l'apparence, et seulement là où l'on
   touche l'écran — la mise en page desktop reste identique. */
@media (pointer: coarse) {
  .footer__col a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
