/* M.A CRÉATION — feuille de style */
:root {
  --taupe: #A08169;        /* couleur du logo */
  --taupe-deep: #7D624F;
  --cocoa: #4A392E;        /* bandeaux foncés */
  --cream: #FAF6F1;
  --sand: #EFE7DE;
  --linen: #E4D8CB;
  --ink: #2F2620;
  --muted: #74665B;
  --white: #FFFFFF;
  --serif: "Didot", "GFS Didot", "Bodoni Moda", "Times New Roman", serif;
  --sans: "Tenor Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .32em;
  font-size: 12px; color: var(--taupe);
}
.spaced { letter-spacing: .28em; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 241, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linen);
  transition: background .3s, border-color .3s;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 56px;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--serif); font-size: 19px; letter-spacing: .22em; color: var(--taupe); white-space: nowrap; }
.brand .light { display: none; }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.15vw, 20px); }
.nav a {
  text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  padding: 15px 28px; border: 1px solid var(--taupe); background: var(--taupe); color: var(--white);
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--taupe-deep); border-color: var(--taupe-deep); }
.btn.ghost { background: transparent; color: var(--taupe); }
.btn.ghost:hover { background: var(--taupe); color: var(--white); }
.btn.light { background: transparent; color: var(--cream); border-color: rgba(250,246,241,.7); }
.btn.light:hover { background: var(--cream); color: var(--ink); }
.nav .btn { padding: 12px 20px; color: var(--white); border-bottom: 1px solid var(--taupe); }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}

/* En-tête transparent sur l'accueil */
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.home .site-header .nav a:not(.btn), .home .site-header .menu-toggle { color: var(--cream); }
.home .site-header .brand span { color: var(--cream); }
.home .site-header .brand .dark { display: none; }
.home .site-header .brand .light { display: block; }
.home .site-header.scrolled { background: rgba(250, 246, 241, .96); border-color: var(--linen); backdrop-filter: blur(8px); }
.home .site-header.scrolled .nav a:not(.btn), .home .site-header.scrolled .menu-toggle { color: var(--ink); }
.home .site-header.scrolled .brand span { color: var(--taupe); }
.home .site-header.scrolled .brand .dark { display: block; }
.home .site-header.scrolled .brand .light { display: none; }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: var(--cream);
  display: flex; align-items: flex-end; overflow: hidden; background: var(--cocoa);
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,30,24,.45) 0%, rgba(40,30,24,.15) 38%, rgba(40,30,24,.72) 100%);
}
.hero .inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 9vh, 110px); padding-top: 140px; }
.hero .eyebrow { color: var(--cream); opacity: .9; }
.hero h1 {
  font-size: clamp(34px, 9vw, 150px); letter-spacing: -.01em; line-height: .9; white-space: nowrap; /* « M.A CRÉATION » en capitales : sur une seule ligne */
  margin: 18px 0 26px;
}
.hero .lead { font-size: clamp(17px, 1.6vw, 22px); max-width: 640px; line-height: 1.55; margin-bottom: 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tagline {
  position: absolute; z-index: 1; top: 108px; left: 0; right: 0; text-align: center;
  font-size: 11px; letter-spacing: .4em; text-transform: uppercase; opacity: .85;
}

/* ---------- Bandeau de page : titre compact + photo carrée pleine hauteur à droite ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--sand); }
.page-hero .grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 40vw, 580px); align-items: stretch; }
.page-hero .text { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 72px) clamp(28px, 5vw, 80px) clamp(40px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.page-hero h1 { font-size: clamp(43px, calc(4.6vw + 5px), 71px); line-height: 1.04; color: var(--ink); margin: 0 0 20px; }
.page-hero .sub { font-size: 16px; color: var(--muted); max-width: 470px; margin: 0; }
.page-hero .media { position: relative; }
.page-hero .arch { aspect-ratio: 1/1; height: 100%; width: 100%; overflow: hidden; background: #E4D8CB; }
.page-hero .arch img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.page-hero .media:hover .arch img { transform: scale(1.03); }
/* Cookies : photo 30 % plus petite et vivante (zoom lent + réaction à la souris) */
.page-hero.hero-small .grid { grid-template-columns: minmax(0, 1fr) clamp(224px, 28vw, 406px); }
.page-hero.hero-alive .arch img { animation: hero-breathe 14s ease-in-out infinite alternate; transform-origin: 50% 60%; }
.page-hero.hero-alive .arch { --mx: 0px; --my: 0px; }
.page-hero.hero-alive .arch img { translate: var(--mx) var(--my); transition: translate .8s cubic-bezier(.2,.7,.2,1); }
@keyframes hero-breathe { from { transform: scale(1.04) rotate(0deg); } to { transform: scale(1.16) rotate(-1.2deg); } }
@media (prefers-reduced-motion: reduce) { .page-hero.hero-alive .arch img { animation: none; translate: none; } }
.crumbs { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--taupe); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.sand { background: var(--sand); }
.section.white { background: var(--white); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(36px, 5.2vw, 72px); margin: 16px 0 20px; text-transform: uppercase; letter-spacing: .02em; }
.section-head p { color: var(--muted); font-size: 17px; }
.rule { width: 64px; height: 1px; background: var(--taupe); margin: 26px auto; border: 0; }

.intro {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.intro h2 { font-size: clamp(38px, 5vw, 68px); margin: 18px 0 28px; }
.intro .body { color: var(--muted); font-size: 17px; }
.intro .media { position: relative; }
.intro .media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.intro .media .float {
  position: absolute; width: 46%; bottom: -40px; left: -40px; border: 10px solid var(--cream);
  aspect-ratio: 1/1;
}
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px;
  border-top: 1px solid var(--linen);
}
.pillars div { padding: 22px 18px 0 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-deep); }
.pillars strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: 0; color: var(--taupe); text-transform: none; margin-bottom: 6px; }

/* Gammes : grille éditoriale */
.ranges { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(14px, 1.8vw, 26px); }
.range { display: block; text-decoration: none; color: var(--ink); }
.range .ph { overflow: hidden; background: var(--sand); }
.range img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.range:hover img { transform: scale(1.045); }
.range .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 2px 0; }
.range h3 { font-size: clamp(24px, 2.4vw, 34px); }
.range .meta span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); white-space: nowrap; }
.range p { color: var(--muted); font-size: 15px; margin: 6px 2px 0; }
.range.big { grid-row: span 2; }
.range.big .ph { aspect-ratio: 4/5.4; }
.range:not(.big) .ph { aspect-ratio: 4/3.4; }
.ranges-cta { text-align: center; margin-top: 56px; }

/* Bandeau matières premières (diagramme) */
.dark { background: var(--cocoa); color: var(--cream); }
.dark .eyebrow { color: #D8C3AF; }
.dark .section-head p { color: #D9CCBF; }
.ingredients {
  display: grid; grid-template-columns: 1fr minmax(240px, 380px) 1fr; align-items: center; gap: clamp(16px, 3vw, 48px);
}
.ingredients ul { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(30px, 5vw, 64px); }
.ingredients li { position: relative; }
.ingredients .left li { text-align: right; padding-right: 64px; }
.ingredients .right li { padding-left: 64px; }
.ingredients li::after {
  content: ""; position: absolute; top: 14px; width: 48px; height: 1px; background: rgba(250,246,241,.5);
}
.ingredients .left li::after { right: 0; }
.ingredients .right li::after { left: 0; }
.ingredients li::before {
  content: ""; position: absolute; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--taupe);
}
.ingredients .left li::before { right: -3px; }
.ingredients .right li::before { left: -3px; }
.ingredients b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; letter-spacing: .04em; }
.ingredients small { display: block; font-size: 13px; color: #CDBEB0; letter-spacing: .06em; margin-top: 4px; }
.ingredients .center img { width: 100%; aspect-ratio: 1/1; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }

/* Chiffres */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linen); border-bottom: 1px solid var(--linen); }
.figures div { padding: clamp(28px, 4vw, 52px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--linen); }
.figures div:first-child { border-left: 0; }
.figures strong { display: block; white-space: nowrap; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 66px); color: var(--taupe); line-height: 1; margin-bottom: 14px; }
.figures span { font-size: 14px; color: var(--muted); display: block; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); counter-reset: s; }
.steps div { border-top: 1px solid var(--taupe); padding-top: 22px; }
.steps .n { font-family: var(--serif); font-size: 48px; color: var(--taupe); line-height: 1; }
.steps h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .08em; margin: 16px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Citation / CTA */
.cta-band { position: relative; overflow: hidden; color: var(--cream); text-align: center; background: var(--cocoa); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-band .inner { position: relative; padding: clamp(90px, 13vw, 180px) var(--gutter); max-width: 900px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(42px, 6.5vw, 96px); margin: 18px 0 22px; }
.cta-band p { font-size: 18px; color: #EDE3D9; max-width: 600px; margin: 0 auto 36px; }
.cta-band .eyebrow { color: #E4D3C2; }

/* ---------- Pages produits ---------- */
.argbar { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-bottom: 1px solid var(--linen); }
.argbar div { padding: 30px var(--gutter); border-left: 1px solid var(--linen); display: flex; align-items: flex-start; gap: 18px; }
.argbar p { margin: 0; }
.argbar div:first-child { border-left: 0; }
.argbar strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--taupe); line-height: 1.1; margin-bottom: 6px; }
.argbar span { font-size: 14px; color: var(--muted); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.product { display: flex; flex-direction: column; }
.product .ph { background: #EDE7E1; aspect-ratio: 4/5; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.product .ph img.cut { object-fit: contain; padding: 12%; }
.product:hover .ph img { transform: scale(1.04); }
.product h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .05em; margin: 18px 0 6px; }
.product .tag { font-size: 14px; color: var(--taupe-deep); margin-bottom: 8px; }
.product .info { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--linen); padding-top: 10px; margin-top: auto; }

/* Fiche détaillée (Nuages, Cookies) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--linen); }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature.flip .media { order: 2; }
.feature .media { background: #EDE7E1; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.feature .media img { width: 72%; height: 82%; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(74,57,46,.18)); }
.feature.cutout .media { background: transparent; aspect-ratio: auto; height: clamp(280px, 34vw, 440px); }
.feature.cutout .media img { width: auto; height: 70%; max-width: 100%; object-fit: contain; filter: none; }
.feature.cutout.cookies-sm .media img { height: 56%; } /* Cookies : 20 % plus petits */
.feature.cookies-sm h3 { font-size: clamp(30px, calc(5vw - 10px), 62px); } /* titres des cookies : 10 px plus petits */
/* Nuages : verrines 30 % plus petites, posées sur une pastille, qui flottent doucement */
.feature.cutout.smaller .media { position: relative; overflow: visible; }
.feature.cutout.smaller .media::before, .feature.cutout.smaller .media::after { content: ""; position: absolute; left: 50%; top: 50%; width: clamp(190px, 20vw, 270px); aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; pointer-events: none; }
.feature.cutout.smaller .media::before { background: var(--sand); }
.feature.cutout.smaller .media::after { border: 1px solid var(--taupe); opacity: .45; translate: calc(-50% + 16px) calc(-50% - 12px); transition: translate .9s cubic-bezier(.2,.7,.2,1); }
.feature.cutout.smaller .media img { position: relative; z-index: 1; height: 49%; filter: drop-shadow(0 18px 14px rgba(74,57,46,.16)); animation: nuage-float 6s ease-in-out infinite; }
.feature.cutout.smaller.flip .media img { animation-delay: -3s; }
.feature.cutout.smaller:hover .media img { animation-play-state: paused; translate: 0 -10px; rotate: -3deg; transition: translate .6s, rotate .6s; }
.feature.cutout.smaller:hover .media::after { translate: calc(-50% - 12px) calc(-50% + 10px); }
.feature.smaller h3 { font-size: clamp(30px, calc(5vw - 10px), 62px); } /* titres des Nuages : 10 px plus petits */
@keyframes nuage-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .feature.cutout.smaller .media img { animation: none; } }
.feature .num { font-family: var(--serif); font-size: 18px; color: var(--taupe); letter-spacing: .2em; }
.feature h3 { font-size: clamp(40px, 5vw, 72px); text-transform: uppercase; margin: 10px 0 8px; }
.feature .tag { font-size: 18px; color: var(--taupe-deep); margin-bottom: 26px; }
.feature h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe); margin: 0 0 12px; }
.feature ul { list-style: none; padding: 0; margin: 0 0 26px; }
.feature li { padding: 10px 0; border-bottom: 1px solid var(--linen); }
.feature li:first-child { border-top: 1px solid var(--linen); }
.feature .specs { display: flex; gap: 36px; flex-wrap: wrap; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.feature .specs b { display: block; font-weight: 400; color: var(--ink); letter-spacing: .04em; text-transform: none; font-size: 16px; }

.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.gallery img:first-child { grid-row: span 2; aspect-ratio: auto; }
.gallery.three { grid-template-columns: repeat(3, 1fr); }
.gallery.three img:first-child { grid-row: auto; aspect-ratio: 3/4; }

.subhead { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 40px; flex-wrap: wrap; border-bottom: 1px solid var(--linen); padding-bottom: 22px; }
.subhead h2 { font-size: clamp(32px, 4vw, 54px); text-transform: uppercase; }
.subhead p { color: var(--muted); max-width: 520px; margin: 0; }

.notice { background: var(--taupe); color: var(--white); text-align: center; padding: 46px var(--gutter); }
.notice h3 { font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.notice p { margin: 0 0 18px; }

/* ---------- À propos ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linen); }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--linen); }
.timeline .y { font-family: var(--serif); font-size: 34px; color: var(--taupe); line-height: 1; }
.timeline .y.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--taupe); margin-top: 10px; box-shadow: 0 0 0 5px var(--sand); } /* étapes sans date : un point plutôt qu'un mot répété */
.timeline h3 { font-size: 24px; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.two-col h2 { font-size: clamp(36px, 4.6vw, 64px); margin: 16px 0 26px; }
.two-col .body { color: var(--muted); font-size: 17px; }
.sticky-media { position: sticky; top: 110px; }
.sticky-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.caption { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.cards div { background: var(--white); padding: 30px 26px; border-top: 2px solid var(--taupe); }
.cards h3 { font-size: 22px; margin-bottom: 10px; }
.cards p { font-size: 15px; color: var(--muted); margin: 0; }
.suppliers { width: 100%; border-collapse: collapse; font-size: 15px; }
.suppliers th { text-align: left; font-weight: 400; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); padding: 0 12px 14px 0; border-bottom: 1px solid var(--taupe); }
.suppliers td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--linen); vertical-align: top; }
.suppliers td:first-child { font-family: var(--serif); font-size: 20px; }
.quote { font-family: var(--serif); font-size: clamp(30px, 4vw, 54px); line-height: 1.2; text-align: center; max-width: 980px; margin: 0 auto; color: var(--ink); }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe); margin-top: 26px; }
.wide-img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-info h2 { font-size: clamp(34px, 4vw, 56px); margin: 16px 0 24px; }
.contact-info dl { margin: 34px 0 0; }
.contact-info dt { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); margin-top: 22px; }
.contact-info dd { margin: 6px 0 0; font-family: var(--serif); font-size: 22px; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { color: var(--taupe); }
form.tasting { background: var(--white); padding: clamp(26px, 4vw, 54px); border-top: 2px solid var(--taupe); }
form.tasting h3 { font-size: 30px; margin-bottom: 8px; }
form.tasting .hint { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.fields .full { grid-column: 1 / -1; }
label { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--cream);
  border: 1px solid var(--linen); padding: 13px 14px; border-radius: 0; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--taupe); background: var(--white); }
textarea { min-height: 130px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; border: 1px solid var(--linen); cursor: pointer; letter-spacing: .12em; color: var(--ink); background: var(--cream); }
.checks input { width: auto; accent-color: var(--taupe); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 360px; }
.form-msg { margin-top: 18px; color: var(--taupe-deep); font-size: 15px; display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); padding: 80px 0 32px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 92px; width: auto; margin-bottom: 20px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--taupe); }
.site-footer .motto { font-family: var(--serif); font-size: 22px; color: var(--taupe-deep); margin-bottom: 8px; }
.site-footer .legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--linen); margin-top: 56px; padding-top: 24px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
/* Menu replié : en dessous de 1440 px, le menu complet (8 liens + bouton) ne tient plus à côté du nom */
@media (max-width: 1440px) {
  .nav { position: fixed; inset: 84px 0 auto 0; background: var(--cream); flex-direction: column; align-items: flex-start; gap: 0; padding: 12px var(--gutter) 28px; border-bottom: 1px solid var(--linen); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--linen); color: var(--ink) !important; }
  .nav .btn { margin-top: 18px; width: auto; color: var(--white) !important; }
  .menu-toggle { display: block; }
}
@media (max-width: 1280px) {
  .ingredients { grid-template-columns: 1fr; }
  .ingredients .center { order: -1; max-width: 300px; margin: 0 auto; }
  .ingredients .left li, .ingredients .right li { text-align: left; padding: 0 0 0 28px; }
  .ingredients li::after { display: none; }
  .ingredients .left li::before, .ingredients .right li::before { left: 0; right: auto; }
  .ingredients ul { gap: 26px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .intro, .two-col, .contact-grid, .feature, .page-hero .grid { grid-template-columns: 1fr; }
  .feature.flip .media { order: 0; }
  .page-hero .text { padding: 40px var(--gutter) 36px; }
  .page-hero .arch { height: auto; }
  .page-hero.hero-small .grid { grid-template-columns: 1fr; }
  .page-hero.hero-small .media { width: 70%; margin: 0 auto 36px; }
  .intro .media .float { display: none; }
  .ranges { grid-template-columns: 1fr 1fr; }
  .range.big { grid-column: span 2; grid-row: auto; }
  .range.big .ph { aspect-ratio: 4/3; }
  .figures, .steps { grid-template-columns: 1fr 1fr; }
  .figures div:nth-child(3) { border-left: 0; }
  .figures div:nth-child(n+3) { border-top: 1px solid var(--linen); }
  .argbar { grid-template-columns: 1fr; }
  .argbar div { border-left: 0; border-top: 1px solid var(--linen); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .sticky-media { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
  .gallery.three img:first-child { grid-column: auto; aspect-ratio: 3/4; }
}
@media (max-width: 560px) {
  .brand img { height: 44px; }
  .brand span { display: none; }
  .ranges { grid-template-columns: 1fr; }
  .range.big { grid-column: auto; }
  .steps, .cards, .pillars { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .product h3 { font-size: 17px; }
  .gallery.three { grid-template-columns: 1fr 1fr; }
  .suppliers td:first-child { font-size: 17px; }
}

/* ---------- Pâtisseries : mise en page « carte » ---------- */
.chapters-nav { position: sticky; top: 84px; z-index: 40; background: rgba(250, 246, 241, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linen); }
.chapters-nav .wrap { display: flex; justify-content: center; gap: clamp(18px, 5vw, 72px); }
.chapters-nav a { text-decoration: none; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding: 20px 0 18px; border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .3s, border-color .3s; }
.chapters-nav a span { font-family: var(--serif); color: var(--taupe); margin-right: 10px; letter-spacing: .1em; }
.chapters-nav a:hover, .chapters-nav a.active { color: var(--ink); border-bottom-color: var(--ink); }

.chapter { padding: clamp(72px, 9vw, 130px) 0; scroll-margin-top: 140px; }
.chapter.sand { background: var(--sand); }
.chapter-grid > * { min-width: 0; }
.chapter-grid { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.chapter-aside { position: sticky; top: 180px; }
.chapter-aside .big-num { display: block; font-family: var(--serif); font-size: clamp(80px, 10vw, 150px); line-height: .85; color: var(--taupe); opacity: .35; }
.chapter-aside h2 { font-size: clamp(26px, 2.3vw, 34px); hyphens: manual; text-transform: uppercase; margin: 18px 0 12px; }
.chapter-aside .count { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe-deep); border-bottom: 1px solid var(--linen); padding-bottom: 18px; margin-bottom: 18px; }
.chapter-aside p:last-child { color: var(--muted); }

/* 01 — vitrine en quinconce */
.vitrine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px clamp(16px, 2.2vw, 32px); }
.vit-item { margin: 0; }
.vit-item:nth-child(3n+2) { transform: translateY(72px); }
.vit-item:nth-child(3n+2).reveal:not(.in) { transform: translateY(98px); }
.vitrine { padding-bottom: 72px; }
.vit-item .ph { aspect-ratio: 3/4; overflow: hidden; background: #EDE7E1; }
.vit-item .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.vit-item:hover .ph img { transform: scale(1.05); }
.vit-item figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; padding-top: 14px; }
.vit-item .n { font-family: var(--serif); color: var(--taupe); font-size: 15px; }
.vit-item h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .04em; }
.vit-item small { grid-column: 2; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* 02 — la carte des mignardises */
.carte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 64px); }
.carte li { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--linen); }
.carte img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; transition: transform .5s; }
.carte li:hover img { transform: scale(1.08) rotate(-4deg); }
.carte .txt { flex: 1; min-width: 0; }
.carte h3 { font-size: 20px; line-height: 1.2; }
.carte .txt p { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; }
.carte .dots { flex: 1; border-bottom: 1px dotted var(--taupe); min-width: 16px; transform: translateY(-3px); }
.carte em { font-style: normal; font-size: 14px; color: var(--taupe-deep); }
.carte small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* 03 — rail horizontal des grands formats */
.rail-wrap { min-width: 0; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 300px); gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--taupe) var(--linen); }
.rail:focus-visible { outline: 1px solid var(--taupe); outline-offset: 6px; }
.rail-item { margin: 0; scroll-snap-align: start; }
.rail-item .ph { aspect-ratio: 1/1; overflow: hidden; background: #EDE7E1; }
.rail-item .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.rail-item:hover .ph img { transform: scale(1.05); }
.rail-item h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .04em; margin: 14px 0 4px; }
.rail-item small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.rail-ctrl { display: flex; gap: 10px; margin-top: 22px; }
.rail-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--taupe); background: transparent; color: var(--taupe-deep); font-size: 18px; cursor: pointer; transition: background .3s, color .3s; }
.rail-ctrl button:hover { background: var(--taupe); color: var(--white); }
.rail-ctrl button:disabled { opacity: .3; cursor: default; background: transparent; color: var(--taupe-deep); }

@media (max-width: 1080px) {
  .carte { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .chapter-grid { grid-template-columns: minmax(0, 1fr); }
  .chapter-aside { position: static; }
  .chapter-aside .big-num { font-size: 72px; }
  .vitrine { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
  .vit-item:nth-child(3n+2), .vit-item:nth-child(3n+2).reveal:not(.in) { transform: none; }
  .vit-item:nth-child(2n) { transform: translateY(48px); }
  .vit-item:nth-child(2n).reveal:not(.in) { transform: translateY(74px); }
  .vitrine { padding-bottom: 48px; }
  .rail { grid-auto-columns: 62vw; }
}
@media (max-width: 560px) {
  .chapters-nav .wrap { justify-content: flex-start; gap: 18px; overflow-x: auto; scrollbar-width: none; } /* défile au doigt si les intitulés ne tiennent pas */
  .chapters-nav .wrap::-webkit-scrollbar { display: none; }
  .chapters-nav a { font-size: 10px; letter-spacing: .14em; }
  .chapters-nav a span { display: none; }
  .vit-item h3, .carte h3, .rail-item h3 { font-size: 16px; }
  .carte img { width: 60px; height: 60px; }
}

/* ---------- Pictogrammes ---------- */
.ico { width: 34px; height: 34px; flex: none; display: block; color: var(--taupe); fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.ico .f { fill: currentColor; stroke: none; }
.argbar .ico { margin-top: 2px; }
.figures .ico { width: 30px; height: 30px; margin-bottom: 22px; }
.steps.with-icons .ico { width: 44px; height: 44px; stroke-width: 1; }
.contact-info dt { display: flex; align-items: center; gap: 10px; }
.ico.sm { width: 18px; height: 18px; stroke-width: 1.3; }
@media (max-width: 560px) {
  .argbar .ico { width: 28px; height: 28px; }
}

/* ---------- Matières premières (accueil) : ingrédients en rotation autour de la photo ---------- */
.sourcing .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: center; margin-top: clamp(36px, 5vw, 64px); }
.ing-col { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ing { width: 100%; display: grid; grid-template-columns: 26px 30px 1fr; align-items: center; gap: 14px; padding: 20px 4px 22px; background: none; border: 0; border-top: 1px solid rgba(216,195,175,.18); color: inherit; font: inherit; text-align: left; cursor: pointer; position: relative; }
.ing-col.left .ing { grid-template-columns: 1fr 30px 26px; text-align: right; }
.ing-col.left .ing .n { order: 3; } .ing-col.left .ing .ico { order: 2; } .ing-col.left .ing b { order: 1; }
.ing .n { font-family: var(--serif); font-size: 15px; color: rgba(216,195,175,.5); transition: color .4s; }
.ing .ico { width: 28px; height: 28px; color: rgba(216,195,175,.45); transition: color .4s, transform .5s cubic-bezier(.2,.7,.2,1); }
.ing b { font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.15; text-transform: uppercase; letter-spacing: .04em; color: rgba(250,246,241,.45); transition: color .4s; }
.ing .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.ing .bar i { display: block; height: 100%; width: 0; background: #D8C3AF; }
.ing-col.left .ing .bar i { margin-left: auto; }
.ing:hover b, .ing:focus-visible b { color: var(--cream); }
.ing:focus-visible { outline: 1px solid #D8C3AF; outline-offset: 2px; }
.ing.active .n, .ing.active .ico { color: #D8C3AF; }
.ing.active .ico { transform: scale(1.15) rotate(-6deg); }
.ing.active b { color: var(--cream); }
.ing.active .bar i { width: 100%; }
.stage.playing .ing.active .bar i { width: 0; animation: ingbar 4.2s linear forwards; }
.stage.playing:hover .ing.active .bar i, .stage.paused .ing.active .bar i { animation-play-state: paused; }
@keyframes ingbar { to { width: 100%; } }

.ing-photo { margin: 0; position: relative; aspect-ratio: 4/5; overflow: hidden; }
.ing-photo img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; transform-origin: 60% 55%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.ing-card { position: absolute; left: 50%; bottom: clamp(14px, 2vw, 22px); transform: translateX(-50%); width: calc(100% - clamp(28px, 4vw, 44px)); background: rgba(74,57,46,.92); backdrop-filter: blur(6px); padding: 18px 22px 18px; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; transition: opacity .3s ease, transform .3s ease; }
.ing-card.swap { opacity: 0; transform: translate(-50%, 8px); }
.ing-card .ic { grid-row: span 3; }
.ing-card .ico { width: 34px; height: 34px; color: #D8C3AF; }
.ing-card .v { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #D8C3AF; }
.ing-card .k { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); color: var(--cream); line-height: 1.15; }
.ing-card .d { font-size: 13px; color: #CDBEB0; }

@media (max-width: 960px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ing-photo { order: -1; max-width: 520px; width: 100%; margin: 0 auto 28px; }
  .ing-col { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .ing, .ing-col.left .ing { grid-template-columns: 22px 26px 1fr; text-align: left; padding: 16px 0 18px; gap: 10px; }
  .ing-col.left .ing .n, .ing-col.left .ing .ico, .ing-col.left .ing b { order: 0; }
  .ing-col.left .ing .bar i { margin-left: 0; }
}
@media (max-width: 560px) {
  .ing-col { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ing-photo img { animation: none; }
  .ing.active .ico { transform: none; }
}

/* ---------- Pâtisseries : une vedette en grand + les vignettes de sa famille, en rotation ---------- */
.spot-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.spot-head .eyebrow { margin: 0 0 8px; }
.spot-head h2 { font-size: clamp(30px, 3.2vw, 46px); text-transform: uppercase; letter-spacing: .03em; }
.spot-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.spot-tab { display: inline-flex; align-items: baseline; gap: 8px; padding: 12px 18px; background: none; border: 1px solid var(--linen); color: var(--muted); font: inherit; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .4s, color .4s, border-color .4s; }
.spot-tab span { font-family: var(--serif); color: var(--taupe); letter-spacing: .08em; }
.spot-tab small { font-size: 11px; color: var(--taupe); letter-spacing: .1em; }
.spot-tab:hover { border-color: var(--taupe); color: var(--ink); }
.spot-tab.active { background: var(--cocoa); border-color: var(--cocoa); color: var(--cream); }
.spot-tab.active span, .spot-tab.active small { color: #D8C3AF; }
.spot-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.spot-stage { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.spot-stage .ph { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #EDE7E1; }
.spot-stage .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform 6s ease-out; }
.spot-stage .ph img.b { opacity: 0; }
.spot-stage .ph img.show { opacity: 1; transform: scale(1.06); }
.spot-stage .ph img.hide { opacity: 0; transform: scale(1); }
.spot-stage figcaption { padding-top: 22px; transition: opacity .3s ease, transform .3s ease; }
.spot-stage figcaption.swap { opacity: 0; transform: translateY(6px); }
.spot-stage .meta { display: flex; justify-content: space-between; margin: 0 0 10px; font-size: 12px; letter-spacing: .22em; color: var(--taupe); }
.spot-stage .meta .num { font-family: var(--serif); font-size: 16px; letter-spacing: .08em; }
.spot-stage .name { font-size: clamp(26px, 2.6vw, 38px); text-transform: uppercase; letter-spacing: .03em; }
.spot-stage .tag { margin: 8px 0 0; color: var(--taupe-deep); font-size: 15px; min-height: 1.4em; }
.spot-stage .ref { margin: 6px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.spot-stage .arrows { display: flex; gap: 10px; margin-top: 22px; }
.spot-stage .arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--taupe); background: transparent; color: var(--taupe-deep); font-size: 17px; cursor: pointer; transition: background .3s, color .3s; }
.spot-stage .arrows button:hover { background: var(--taupe); color: var(--white); }
.spot-grid { display: none; }
.spot-grid.active { display: block; animation: spot-in .5s ease; }
.spot.no-js .spot-grid { display: block; margin-bottom: 30px; }
@keyframes spot-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.spot-fam-text { color: var(--muted); margin: 0 0 18px; max-width: 520px; }
.spot-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.spot-thumb { position: relative; padding: 0; border: 0; background: #EDE7E1; aspect-ratio: 4/5; overflow: hidden; cursor: pointer; }
.spot-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .62; filter: saturate(.75); transition: opacity .4s, filter .4s, transform .6s cubic-bezier(.2,.7,.2,1); }
.spot-thumb:hover img { opacity: 1; filter: none; transform: scale(1.05); }
.spot-thumb.active img { opacity: 1; filter: none; }
.spot-thumb.active { outline: 1px solid var(--taupe); outline-offset: 3px; }
.spot-thumb:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.spot-thumb .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(250,246,241,.5); opacity: 0; }
.spot-thumb.active .bar { opacity: 1; }
.spot-thumb .bar i { display: block; height: 100%; width: 0; background: var(--taupe); }
.spot.playing .spot-thumb.active .bar i { animation: spotbar 4s linear forwards; }
.spot.playing.paused .spot-thumb.active .bar i, .spot.playing .spot-body:hover .spot-thumb.active .bar i { animation-play-state: paused; }
@keyframes spotbar { to { width: 100%; } }
@media (max-width: 860px) {
  .spot-body { grid-template-columns: minmax(0, 1fr); }
  .spot-stage { max-width: 460px; }
  .spot-tab { padding: 10px 12px; font-size: 10px; letter-spacing: .14em; }
}
@media (max-width: 560px) {
  .spot-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .spot-stage .ph img.show { transform: none; }
}

/* ---------- Matières premières (accueil) : médaillon à pictos au lieu de la photo ---------- */
.ing-medal { aspect-ratio: 1/1; width: 100%; max-width: 400px; margin: 0 auto; overflow: visible; display: grid; place-items: center; }
.ing-medal::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: rgba(250,246,241,.05); }
.ing-medal .orbit { position: absolute; inset: -4%; border-radius: 50%; border: 1px dashed rgba(216,195,175,.28); animation: medal-spin 70s linear infinite; }
.ing-medal .ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.ing-medal .ring circle { fill: none; }
.ing-medal .ring .track { stroke: rgba(216,195,175,.18); stroke-width: .5; }
.ing-medal .ring .prog { stroke: #D8C3AF; stroke-width: .9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.stage.playing .ing-medal .ring.run .prog { animation: medal-ring 4.2s linear forwards; }
.stage.playing:hover .ing-medal .ring.run .prog, .stage.paused .ing-medal .ring.run .prog { animation-play-state: paused; }
@keyframes medal-ring { to { stroke-dashoffset: 0; } }
@keyframes medal-spin { to { rotate: 360deg; } }
.ing-medal .ing-card { position: relative; left: auto; bottom: auto; transform: none; width: auto; max-width: 74%; background: none; backdrop-filter: none; padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.ing-medal .ing-card.swap { opacity: 0; transform: translateY(8px) scale(.97); }
.ing-medal .ing-card .ic { margin-bottom: 10px; }
.ing-medal .ing-card .ico { width: clamp(52px, 5.5vw, 72px); height: clamp(52px, 5.5vw, 72px); stroke-width: .9; color: #D8C3AF; }
.ing-medal .ing-card .k { font-size: clamp(24px, 2.4vw, 32px); }
.ing-medal .ing-card .d { font-size: 14px; }
@media (max-width: 960px) {
  .ing-medal { max-width: 300px; margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .ing-medal .orbit { animation: none; }
  .ing-medal .ring .prog { stroke-dashoffset: 0; }
}

/* ---------- Nuages : section sur mesure pour les réseaux de franchise ---------- */
.nuages-franchise .franchise-proof { text-align: center; margin: clamp(30px, 4vw, 44px) auto 0; max-width: 640px; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); color: var(--taupe-deep); }
.nuages-franchise .franchise-cta { text-align: center; margin: 22px 0 0; }

/* ---------- Cookies : cibles (coffee shops, restauration, hôtellerie) ---------- */
.targets .section-head { margin-bottom: clamp(30px, 4vw, 48px); }
.targets .section-head h2 { font-size: clamp(30px, 3.6vw, 50px); }
.targets-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linen); border-bottom: 1px solid var(--linen); }
.targets-grid > div { padding: clamp(28px, 3.5vw, 44px) clamp(18px, 3vw, 40px); text-align: center; border-left: 1px solid var(--linen); }
.targets-grid > div:first-child { border-left: 0; }
.targets-grid .ico { width: 46px; height: 46px; margin: 0 auto 18px; stroke-width: 1; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.targets-grid > div:hover .ico { transform: translateY(-4px) rotate(-4deg); }
.targets-grid h3 { font-size: clamp(22px, 2vw, 28px); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.targets-grid p { color: var(--muted); font-size: 15px; margin: 0 auto; max-width: 300px; }
@media (max-width: 860px) {
  .targets-grid { grid-template-columns: 1fr; }
  .targets-grid > div { border-left: 0; border-top: 1px solid var(--linen); }
  .targets-grid > div:first-child { border-top: 0; }
}

/* produit sans photo pour l'instant : pictogramme à la place */
.photo-soon { display: grid; place-items: center; width: clamp(150px, 15vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--sand); }
.photo-soon .ico { width: 44%; height: 44%; stroke-width: .9; }

/* ---------- Viennoiseries : l'étal, par famille, produits détourés sur pastille ---------- */
.etal-family { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(34px, 4.5vw, 56px) 0; border-top: 1px solid var(--linen); }
.etal-family:last-child { border-bottom: 1px solid var(--linen); }
.etal-family header .big-num { display: block; font-family: var(--serif); font-size: clamp(54px, 5.5vw, 80px); line-height: .85; color: var(--taupe); opacity: .4; }
.etal-family header h3 { font-size: clamp(24px, 2.4vw, 32px); text-transform: uppercase; letter-spacing: .03em; margin: 14px 0 10px; }
.etal-family header p { color: var(--muted); font-size: 15px; margin: 0; }
.etal-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px clamp(20px, 3vw, 44px); align-content: start; }
.etal-item { display: flex; align-items: center; gap: 20px; }
.etal-item .disc { position: relative; flex: none; width: clamp(110px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%; background: var(--sand); display: grid; place-items: center; }
.etal-item .disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--taupe); opacity: .4; translate: 8px -6px; transition: translate .7s cubic-bezier(.2,.7,.2,1); }
.etal-item .disc img { position: relative; z-index: 1; width: 118%; max-width: none; filter: drop-shadow(0 10px 10px rgba(74,57,46,.18)); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.etal-item .disc img[src*="vien-cut-croissant"] { width: 136%; }
.etal-item:hover .disc img { transform: translateY(-6px) rotate(-4deg) scale(1.04); }
.etal-item:hover .disc::after { translate: -6px 6px; }
.etal-item h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.2; margin: 0 0 6px; }
.etal-item p { margin: 0; font-size: 14px; color: var(--taupe-deep); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.etal-item p span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); align-self: center; }
@media (max-width: 960px) {
  .etal-family { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .etal-list { grid-template-columns: minmax(0, 1fr); }
}

/* Viennoiseries : grands formats à partager, présentés plus grands */
.etal-family.big .etal-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(16px, 2.5vw, 36px); }
.etal-family.big .etal-item { flex-direction: column; text-align: center; gap: 16px; }
.etal-family.big .etal-item .disc { width: clamp(150px, 14vw, 200px); }
.etal-family.big .etal-item p { justify-content: center; }
.etal-item .soon { position: relative; z-index: 1; display: grid; place-items: center; }
.etal-item .soon .ico { width: clamp(46px, 4.5vw, 64px); height: clamp(46px, 4.5vw, 64px); stroke-width: .9; }
@media (max-width: 560px) {
  .etal-family.big .etal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etal-family.big .etal-item .disc { width: 130px; }
}
.vit-item .ph .soon { width: 100%; height: 100%; display: grid; place-items: center; background: var(--sand); }
.vit-item .ph .soon .ico { width: 34%; height: auto; aspect-ratio: 1; stroke-width: .8; }

/* Pâtisseries : matières premières (grille 3 × 3) */
.matieres .targets-grid > div:nth-child(3n+1) { border-left: 0; }
.matieres .targets-grid > div:nth-child(n+4) { border-top: 1px solid var(--linen); }
.matieres .targets-grid h3 { font-size: clamp(19px, 1.7vw, 24px); }
.matieres .section-head p:not(.eyebrow) { color: var(--muted); max-width: 560px; margin: 14px auto 0; }
@media (max-width: 860px) {
  .matieres .targets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .matieres .targets-grid > div { border-left: 1px solid var(--linen); border-top: 1px solid var(--linen); }
  .matieres .targets-grid > div:nth-child(2n+1) { border-left: 0; }
  .matieres .targets-grid > div:nth-child(-n+2) { border-top: 0; }
}

/* Pâtisseries : épicerie fine, visuels plus petits (bocaux) */
#epicerie .vit-item .ph { aspect-ratio: 1/1; width: 78%; }
#epicerie .vitrine { gap: 36px clamp(16px, 2.2vw, 32px); }
@media (max-width: 860px) {
  #epicerie .vit-item .ph { width: 100%; }
}

/* Bandeau étroit : même hauteur de section, photo moins large (Pâtisseries) */
.page-hero.hero-narrow .grid { grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 380px); min-height: clamp(320px, 40vw, 580px); }
.page-hero.hero-narrow .arch { aspect-ratio: auto; }
@media (max-width: 860px) {
  .page-hero.hero-narrow .grid { grid-template-columns: 1fr; min-height: 0; }
  .page-hero.hero-narrow .media { width: 70%; margin: 0 auto 36px; }
  .page-hero.hero-narrow .arch { aspect-ratio: 4/5; }
}

/* Photos du laboratoire : sur-mesure (accueil), laboratoire (à propos), garnissage (Nuages) */
.sur-mesure .franchise-proof { text-align: center; margin: clamp(30px, 4vw, 44px) auto 0; max-width: 640px; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); color: var(--taupe-deep); }
.sur-mesure .franchise-cta { text-align: center; margin: 22px 0 0; }
.sm-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.sm-grid .steps { grid-template-columns: 1fr 1fr; row-gap: clamp(26px, 3vw, 40px); }
.sm-photo, .nf-photo, .labo-wide { margin: 0; overflow: hidden; }
.sm-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.sm-photo:hover img, .nf-photo:hover img, .labo-wide:hover img { transform: scale(1.03); }
.sm-photo figcaption, .nf-photo figcaption { font-size: 13px; color: var(--muted); padding-top: 12px; }
.labo-wide { margin: 0 0 clamp(36px, 5vw, 64px); }
.labo-wide img { width: 100%; aspect-ratio: 21/9; object-fit: cover; object-position: 50% 45%; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
#laboratoire .section-head p:not(.eyebrow) { color: var(--muted); }
.nf-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.nf-grid .cards { grid-template-columns: 1fr 1fr; }
.nf-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 40%; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
@media (max-width: 860px) {
  .sm-grid, .nf-grid { grid-template-columns: 1fr; }
  .sm-photo img, .nf-photo img { aspect-ratio: 4/3; }
  .labo-wide img { aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  .sm-grid .steps, .nf-grid .cards { grid-template-columns: 1fr; }
}

/* Accueil : six gammes (Nuages en grand sur 3 rangées) */
.ranges.six { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; row-gap: clamp(30px, 3.5vw, 48px); }
.ranges.six .range.big { grid-row: auto; }
.ranges.six .range .ph, .ranges.six .range.big .ph { aspect-ratio: 4/3.4; }

/* Accueil : bandeau de chiffres clés */
.keyfigs { background: var(--white); border-bottom: 1px solid var(--linen); }
.keyfigs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.keyfigs-grid > div { padding: clamp(28px, 3.4vw, 44px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--linen); }
.keyfigs-grid > div:first-child { border-left: 0; padding-left: 0; }
.keyfigs strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; color: var(--taupe-deep); margin-bottom: 12px; }
.keyfigs span { display: block; font-size: 14px; color: var(--muted); max-width: 240px; }

/* Glacerie */
.glaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 48px) clamp(16px, 2.2vw, 32px); }
.glace { margin: 0; }
.glace .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.glace .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.glace:hover .ph img { transform: scale(1.05); }
.glace figcaption { padding-top: 16px; }
.glace h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.glace p { margin: 0; font-size: 15px; color: var(--taupe-deep); }
.glace small { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .ranges.six { grid-template-columns: 1fr 1fr; }
  .ranges.six .range.big { grid-column: auto; }
  .ranges.six .range.big .ph { aspect-ratio: 4/3.4; }
  .keyfigs-grid { grid-template-columns: 1fr 1fr; }
  .keyfigs-grid > div { padding-left: clamp(16px, 2vw, 28px); }
  .keyfigs-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .keyfigs-grid > div:nth-child(n+3) { border-top: 1px solid var(--linen); }
  .glaces { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .glaces { grid-template-columns: 1fr; }
  .ranges.six { grid-template-columns: 1fr; }
}

/* Accueil : l’anneau animé des matières premières ne doit pas élargir la page sur petit écran */
.sourcing { overflow-x: clip; }

/* Pâtisseries : bandeau des fêtes avec photos de bûches */
.notice.fetes { text-align: left; padding: clamp(48px, 6vw, 80px) 0; }
.fetes-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.fetes-text p { max-width: 380px; }
.fetes-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.fetes-photos img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.fetes-photos img:nth-child(2) { transform: translateY(clamp(14px, 2vw, 28px)); }
@media (max-width: 860px) {
  .fetes-grid { grid-template-columns: 1fr; }
  .notice.fetes { text-align: center; }
  .fetes-text p { margin-left: auto; margin-right: auto; }
}

/* Noms longs (ex. MILLEFEUILLE) : coupure propre plutôt qu’un débordement */
.vit-item h3 { overflow-wrap: break-word; }
