/* =========================================================
   BIOSENE — Site public
   Palette : forêt, sauge, sable, argile (baobab), ocre
   ========================================================= */
:root {
  --forest: #1E3A2B;
  --forest-2: #2B4F3A;
  --sage: #7E9461;
  --sage-soft: #DCE3CC;
  --sand: #F3EBDD;
  --cream: #FBF8F2;
  --paper: #FFFDF9;
  --clay: #B95E2A;
  --clay-soft: #F2DCC8;
  --ochre: #D89B3C;
  --ink: #1D1A16;
  --muted: #6B6255;
  --line: #E7DDCB;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(40, 30, 15, .04), 0 12px 32px -12px rgba(40, 30, 15, .18);
  --shadow-lg: 0 30px 60px -25px rgba(40, 30, 15, .35);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
svg.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.flash svg.i { width: 20px; height: 20px; }
.ingredient .ring svg.i { width: 28px; height: 28px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--clay); color: #fff; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: 'SOFT' 100, 'WONK' 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
em, .italic { font-style: italic; }
h1 em, h2 em { color: var(--clay); font-style: italic; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* Boutons */
.btn {
  --bg: var(--forest); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(30, 58, 43, .55); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-clay { --bg: var(--clay); }
.btn-light { --bg: var(--cream); --fg: var(--forest); }
.btn-ghost { background: transparent; color: var(--bg); }
.btn-ghost:hover { background: var(--bg); color: var(--fg); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--forest); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* Bandeau + en-tête */
.announce {
  background: var(--forest); color: #E9EFE0; font-size: .82rem; text-align: center; padding: 9px 16px; letter-spacing: .02em;
}
.announce b { color: #F3D9A8; font-weight: 700; }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.3); }
.header .wrap { display: flex; align-items: center; gap: 32px; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-name { font-family: var(--serif); font-size: 1.65rem; letter-spacing: .02em; color: var(--forest); line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav > a, .nav .dd > a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: #3A342C; transition: background .2s, color .2s; display: inline-flex; gap: 6px; align-items: center; }
.nav > a:hover, .nav .dd:hover > a, .nav a.active { background: var(--sand); color: var(--forest); }
.dd { position: relative; }
.dd-menu {
  position: absolute; top: 100%; left: -20px; min-width: 330px; padding: 12px; margin-top: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; transition: background .2s; }
.dd-menu a:hover { background: var(--sand); }
.dd-menu .dot { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.dd-menu strong { display: block; font-size: .95rem; }
.dd-menu span { font-size: .8rem; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .2s; border: 0; background: transparent; cursor: pointer; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--clay); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.cart-count.bump { transform: scale(1.35); }
.burger { display: none; }

.search-bar { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); background: var(--paper); border-bottom: 1px solid var(--line); }
.search-bar.open { max-height: 120px; }
.search-bar form { display: flex; gap: 10px; padding: 18px 0; }
.search-bar input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 13px 22px; background: var(--cream); outline: none; }
.search-bar input:focus { border-color: var(--sage); }

/* Tiroir mobile */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20, 25, 18, .45); opacity: 0; transition: opacity .3s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 400px); background: var(--cream);
  transform: translateX(100%); transition: transform .4s var(--ease); padding: 24px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-panel > a { font-family: var(--serif); font-size: 1.7rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer-panel .sub { display: grid; gap: 4px; padding: 6px 0 12px 14px; border-bottom: 1px solid var(--line); }
.drawer-panel .sub a { color: var(--muted); font-weight: 600; padding: 6px 0; }
.drawer-panel .btn { margin-top: 24px; }

/* Messages flash */
.flash { padding: 14px 20px; border-radius: 14px; margin: 18px auto 0; max-width: var(--wrap); display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: .95rem; }
.flash-wrap { padding: 0 24px; }
.flash.success { background: #E5EEDC; color: #2B4F2A; }
.flash.error { background: #F7DED6; color: #8A2B14; }

/* ============ HERO ============ */
.hero { position: relative; padding: 40px 0 90px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 900px; height: 900px; right: -300px; top: -350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216,155,60,.18), transparent 65%); pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero .lead { margin-bottom: 36px; animation: fade 1s .45s both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; animation: fade 1s .6s both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-proof { display: flex; gap: 28px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); animation: fade 1s .75s both; flex-wrap: wrap; }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--forest); line-height: 1; }
.hero-proof span { font-size: .82rem; color: var(--muted); margin-top: 6px; }

.hero-art { position: relative; height: 640px; animation: fade 1.2s .2s both; }
.arch {
  position: absolute; inset: 0 40px 0 60px; border-radius: 300px 300px 28px 28px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(30, 20, 10, .35)); }
.float-card {
  position: absolute; background: var(--paper); border-radius: 20px; padding: 12px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; animation: floaty 7s ease-in-out infinite;
}
.float-card img { width: 72px; height: 72px; border-radius: 14px; background: var(--sand); }
.float-card strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.05rem; line-height: 1.2; }
.float-card span { font-size: .8rem; color: var(--muted); }
.float-card .price { color: var(--clay); font-weight: 800; font-size: .9rem; }
.float-card.one { left: 0; top: 100px; }
.float-card.two { right: 0; bottom: 120px; animation-delay: -3.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.seal { position: absolute; right: 10px; top: 30px; width: 130px; height: 130px; }
.seal svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal .core { position: absolute; inset: 34px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; }
.seal .core img { width: 34px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Bande défilante */
/* bande */
.marquee-clip { overflow: hidden; padding: 24px 0; margin-top: -24px; }
.marquee { background: var(--forest); color: #F3EBDD; padding: 22px 0; overflow: hidden; transform: rotate(-1.2deg); margin: 0 -20px; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.7rem; font-style: italic; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: '✦'; font-style: normal; font-size: 1rem; color: var(--ochre); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ Univers ============ */
.universes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.universe {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; padding: 36px; display: flex; flex-direction: column;
  color: #fff; isolation: isolate; transition: transform .5s var(--ease);
}
.universe:hover { transform: translateY(-6px); }
.universe .bgimg { position: absolute; z-index: -1; right: -60px; bottom: -40px; width: 380px; transition: transform .8s var(--ease); filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); }
.universe:hover .bgimg { transform: scale(1.06) rotate(-3deg); }
.universe .brand-tag { font-family: var(--serif); font-style: italic; font-size: 1.1rem; opacity: .85; }
.universe h3 { font-size: 2.4rem; margin: 6px 0 12px; }
.universe p { opacity: .85; max-width: 30ch; font-size: .95rem; }
.universe .count { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; }
.universe .count i { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-style: normal; transition: background .3s; }
.universe:hover .count i { background: #fff; color: var(--ink); }

/* ============ Cartes produit ============ */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pcard .mwrap { position: relative; }
.pcard .media {
  position: relative; aspect-ratio: 1 / 1.08; border-radius: var(--radius); overflow: hidden; background: var(--sand);
}
.pcard .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .media img { transform: scale(1.06); }
.pcard .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.badge { display: inline-block; background: var(--paper); color: var(--forest); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; }
.badge.clay { background: var(--clay); color: #fff; }
.pcard .quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; transform: translateY(16px); opacity: 0;
  transition: all .35s var(--ease);
}
.pcard:hover .quick, .pcard:focus-within .quick { transform: none; opacity: 1; }
.pcard .quick .btn { width: 100%; backdrop-filter: blur(6px); }
.pcard .info { padding: 16px 4px 0; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pcard .cat { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pcard h3 { font-size: 1.25rem; margin: 4px 0 0; }
.pcard .weight { color: var(--muted); font-size: .88rem; }
.pcard .price { font-weight: 800; color: var(--forest); white-space: nowrap; text-align: right; }
.pcard .price s { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.out { position: absolute; inset: 0; background: rgba(251,248,242,.6); display: grid; place-items: center; font-weight: 800; color: var(--muted); z-index: 1; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; }

/* ============ Histoire ============ */
.story { background: var(--sand); border-radius: 40px; margin: 0 16px; }
.story .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.story-visual { position: relative; }
.story-visual .main { border-radius: 260px 260px 24px 24px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.story-visual .main img { width: 100%; height: 100%; object-fit: cover; }
.story-visual .quote {
  position: absolute; right: -40px; bottom: 40px; max-width: 260px; background: var(--forest); color: #F3EBDD; padding: 24px; border-radius: 20px;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.35; box-shadow: var(--shadow-lg);
}
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-top: 44px; }
.stat strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4vw, 3.6rem); color: var(--forest); line-height: 1; display: block; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ============ Processus ============ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 60px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 38px; left: 8%; right: 8%; height: 1.5px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step { text-align: center; position: relative; }
.step .ico { width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: all .4s var(--ease); }
.step:hover .ico { background: var(--forest); color: #fff; border-color: var(--forest); transform: translateY(-4px); }
.step .ico svg { width: 30px; height: 30px; }
.step .ico::after { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -6px; right: -6px; background: var(--clay); color: #fff; font-size: .7rem; font-weight: 800; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.step h4 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { font-size: .88rem; color: var(--muted); }

/* ============ Traçabilité ============ */
.trace-band { background: var(--forest); color: #E9EFE0; overflow: hidden; }
.trace-band .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.trace-band h2 { color: #fff; }
.trace-band h2 em { color: #F3C98A; }
.trace-band .lead { color: #C9D4BE; }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before { content: ''; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: rgba(243, 201, 138, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3C98A' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.phone {
  width: 300px; margin: 0 auto; background: #0F1A13; border-radius: 44px; padding: 12px; box-shadow: 0 50px 80px -30px rgba(0,0,0,.6), inset 0 0 0 2px #2c3a30;
  transform: rotate(4deg); transition: transform .6s var(--ease);
}
.phone:hover { transform: rotate(0); }
.phone-screen { background: var(--cream); color: var(--ink); border-radius: 34px; overflow: hidden; padding: 30px 20px 24px; min-height: 540px; }
.phone-screen .ok { display: flex; gap: 10px; align-items: center; background: #E5EEDC; color: #2B4F2A; padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: .82rem; }
.phone-screen .ok i { width: 22px; height: 22px; border-radius: 50%; background: #3F7A3A; color: #fff; display: grid; place-items: center; font-style: normal; font-size: .75rem; }
.phone-screen img { width: 140px; margin: 18px auto 6px; }
.phone-screen h5 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 0; text-align: center; }
.phone-screen dl { margin: 16px 0 0; display: grid; gap: 0; font-size: .82rem; }
.phone-screen dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.phone-screen dt { color: var(--muted); }
.phone-screen dd { margin: 0; font-weight: 700; }

/* ============ Ingrédients ============ */
.ingredients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.ingredients.three { grid-template-columns: repeat(3, 1fr); }
.ingredient { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: all .4s var(--ease); }
.ingredient:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ingredient .ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; font-size: 1.8rem; }
.ingredient h4 { font-size: 1.5rem; margin-bottom: 2px; }
.ingredient .latin { font-style: italic; color: var(--muted); font-size: .85rem; font-family: var(--serif); }
.ingredient p { font-size: .92rem; color: var(--muted); margin-top: 14px; }

/* ============ Pros ============ */
.pro-band { margin: 0 16px; border-radius: 40px; overflow: hidden; position: relative; background: #2A1D14; color: #F3EBDD; }
.pro-band::before { content: ''; position: absolute; inset: 0; background: url('/static/img/baobab-scene.svg') center 70%/cover; opacity: .38; }
.pro-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 18, 12, .92) 30%, rgba(26, 18, 12, .2)); }
.pro-band .wrap { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; }
.pro-band h2 { color: #fff; max-width: 16ch; }
.pro-band .lead { color: #E3D6C3; }
.pro-points { display: flex; gap: 40px; margin: 36px 0 40px; flex-wrap: wrap; }
.pro-points div strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: #F3C98A; }
.pro-points div span { font-size: .88rem; color: #CDBFA9; }

/* ============ Témoignages ============ */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.testi { background: var(--paper); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.testi .stars { color: var(--ochre); letter-spacing: 3px; margin-bottom: 16px; }
.testi blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
.testi .who { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.testi .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.testi .who strong { display: block; font-size: .95rem; }
.testi .who span { font-size: .82rem; color: var(--muted); }

/* ============ Labels & export ============ */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust > div { padding: 34px 26px; border-right: 1px solid var(--line); display: flex; gap: 16px; align-items: center; }
.trust > div:last-child { border-right: 0; }
.trust .ic { width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--sage-soft); color: var(--forest); display: grid; place-items: center; }
.trust .ic svg { width: 26px; height: 26px; }
.trust strong { display: block; font-size: .98rem; }
.trust span { font-size: .84rem; color: var(--muted); }

/* ============ Newsletter & pied de page ============ */
.newsletter { background: var(--clay-soft); border-radius: 40px; margin: 0 16px; padding: 70px 24px; text-align: center; position: relative; overflow: hidden; }
.newsletter h2 { max-width: 20ch; margin: 0 auto 14px; }
.nl-form { display: flex; gap: 10px; max-width: 520px; margin: 30px auto 0; background: var(--paper); padding: 7px; border-radius: 999px; box-shadow: var(--shadow); }
.nl-form input { flex: 1; border: 0; background: transparent; padding: 0 20px; outline: none; min-width: 0; }
.leaf-deco { position: absolute; width: 220px; opacity: .25; pointer-events: none; }

.footer { background: #16261C; color: #BFC9B6; margin-top: 110px; padding: 90px 0 30px; font-size: .93rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; }
.footer h5 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 20px; }
.footer a { display: block; padding: 5px 0; transition: color .2s; }
.footer a:hover { color: #F3C98A; }
.footer .brand-name { color: #fff; }
.footer .brand-name small { color: #8FA087; }
.footer .about { margin: 22px 0; max-width: 34ch; line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; padding: 0; }
.socials a:hover { background: #F3C98A; color: #16261C; border-color: #F3C98A; }
.socials svg { width: 18px; height: 18px; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pay span { background: rgba(255,255,255,.08); border-radius: 8px; padding: 6px 10px; font-size: .75rem; font-weight: 700; color: #E9EFE0; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; margin-top: 40px; font-size: .82rem; color: #8FA087; }
.footer-bottom a { display: inline; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 140%); background: var(--forest); color: #fff;
  padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; transition: transform .45s var(--ease), opacity .3s, visibility .3s; max-width: calc(100vw - 32px);
  opacity: 0; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast a { color: #F3C98A; font-weight: 800; white-space: nowrap; }

/* ============ Pages intérieures ============ */
.page-hero { padding: 70px 0 50px; text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--clay); }

.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 700; font-size: .88rem; transition: all .2s; background: var(--paper); }
.chip:hover { border-color: var(--forest); }
.chip.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.select { border: 1.5px solid var(--line); border-radius: 99px; padding: 10px 40px 10px 18px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6255' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; appearance: none; font-weight: 600; font-size: .88rem; cursor: pointer; }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty h3 { color: var(--ink); }

/* Fiche produit */
.product-page { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; padding-top: 30px; }
.gallery { position: sticky; top: 100px; border-radius: 28px; overflow: hidden; background: var(--sand); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.pinfo .cat { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 1.15rem; }
.pinfo h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); margin: 6px 0 12px; }
.pinfo .short { font-size: 1.15rem; color: var(--muted); }
.pinfo .price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 26px 0; }
.pinfo .price-row > * { white-space: nowrap; }
.pinfo .price-row strong { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; color: var(--forest); }
.pinfo .price-row s { color: var(--muted); }
.stock-pill { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 700; color: #3F7A3A; }
.stock-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(63, 122, 58, .18); }
.stock-pill.low { color: #B9752A; }
.stock-pill.none { color: #A23B2A; }
.buy { display: flex; gap: 12px; margin: 22px 0 30px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; background: var(--paper); }
.qty button { width: 46px; height: 50px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--forest); }
.qty input { width: 44px; text-align: center; border: 0; background: none; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy .btn { flex: 1; min-width: 220px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.perks div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; font-size: .8rem; text-align: center; color: var(--muted); }
.perks div b { display: block; color: var(--ink); font-size: .88rem; margin-bottom: 2px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { overflow: hidden; list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--serif); font-size: 1.3rem; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-family: var(--sans); font-size: 1.5rem; color: var(--clay); transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 0 22px; color: var(--muted); }
.acc ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 0; }
.acc ul li::before { content: '✦  '; color: var(--sage); }
.lot-card { display: flex; gap: 16px; align-items: center; background: var(--sage-soft); border-radius: 18px; padding: 18px; margin-top: 26px; }
.lot-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--forest); color: #fff; display: grid; place-items: center; flex: none; }
.lot-card .ic svg { width: 22px; }
.lot-card small { color: #4A5E3A; display: block; }

/* Panier / commande */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 90px; height: 90px; border-radius: 16px; background: var(--sand); object-fit: cover; }
.cart-line h4 { font-size: 1.15rem; margin: 0 0 4px; }
.cart-line .qty { transform: scale(.85); transform-origin: left; }
.cart-line .remove { background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; cursor: pointer; padding: 0; }
.summary { position: sticky; top: 100px; }
.summary .row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 1.2rem; font-weight: 800; }
.summary .total span:last-child { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--forest); }
.note { font-size: .82rem; color: var(--muted); background: var(--sand); border-radius: 12px; padding: 12px 14px; margin-top: 16px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: #4A433A; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--cream); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sage); box-shadow: 0 0 0 4px rgba(126, 148, 97, .15); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.pay-options { display: grid; gap: 12px; }
.pay-opt { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; transition: all .2s; background: var(--cream); }
.pay-opt:has(input:checked) { border-color: var(--forest); background: #fff; box-shadow: 0 0 0 4px rgba(30, 58, 43, .08); }
.pay-opt input { accent-color: var(--forest); width: 18px; height: 18px; }
.pay-opt .logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: #fff; font-size: .8rem; flex: none; }
.pay-opt strong { display: block; }
.pay-opt span { font-size: .82rem; color: var(--muted); }

/* Confirmation & suivi */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin: 30px 0; position: relative; }
.timeline > div { text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); position: relative; padding-top: 34px; }
.timeline > div::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); z-index: 1; }
.timeline > div::after { content: ''; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.timeline > div:first-child::after { display: none; }
.timeline > div.done { color: var(--forest); }
.timeline > div.done::before { background: var(--forest); border-color: var(--forest); box-shadow: 0 0 0 5px rgba(30,58,43,.12); }
.timeline > div.done::after { background: var(--forest); }
.success-ic { width: 84px; height: 84px; border-radius: 50%; background: #E5EEDC; color: #3F7A3A; display: grid; place-items: center; margin: 0 auto 20px; animation: pop .6s var(--ease); }
.success-ic svg { width: 40px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-info { background: var(--forest); color: #E9EFE0; border-radius: var(--radius); padding: 44px; position: relative; overflow: hidden; }
.contact-info h3 { color: #fff; font-size: 2rem; }
.contact-info .item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-info .item svg { width: 22px; flex: none; color: #F3C98A; }
.contact-info .item small { display: block; color: #9FB094; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

/* À propos */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split .visual { border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.split .visual img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.value { padding: 34px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.value .n { font-family: var(--serif); font-size: 3rem; color: var(--clay); line-height: 1; margin-bottom: 18px; font-style: italic; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.mosaic div { border-radius: 20px; padding: 26px; color: #fff; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; }
.mosaic strong { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; line-height: 1; }

/* Traçabilité */
.trace-result { max-width: 760px; margin: 0 auto; }
.trace-head { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; }
.trace-head img { border-radius: 20px; background: var(--sand); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin-top: 24px; }
.kv div { padding: 14px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; }
.kv span { color: var(--muted); }

/* Animations au défilement */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Écrans tactiles : le bouton d'ajout passe sous la carte au lieu de survoler l'image */
@media (hover: none), (max-width: 960px) {
  .pcard .quick { left: auto; right: 10px; bottom: 10px; opacity: 1; transform: none; }
  .pcard .quick .btn { width: 46px; height: 46px; padding: 0; border-radius: 50%; box-shadow: 0 8px 18px -6px rgba(30,58,43,.55); }
  .pcard .quick .btn span { display: none; }
  .pcard .quick .btn svg { width: 20px; height: 20px; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .ingredients, .ingredients.three { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div:nth-child(2) { border-right: 0; }
  .trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .nav, .header .desk { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .hero .wrap, .story .wrap, .trace-band .wrap, .product-page, .cart-layout, .contact-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { height: 520px; }
  .universes, .testimonials, .values { grid-template-columns: 1fr; }
  .universe { min-height: 400px; }
  .gallery, .summary { position: static; }
  .story-visual .quote { right: 10px; }
  .mosaic { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header .wrap { height: 66px; gap: 12px; }
  .brand-name { font-size: 1.4rem; }
  .brand img { width: 34px; height: 34px; }
  .products { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pcard h3 { font-size: 1.05rem; }
  .pcard .info { flex-direction: column; gap: 4px; }
  .pcard .price { text-align: left; }

  .ingredients, .ingredients.three, .steps, .trust, .kv, .form-grid { grid-template-columns: 1fr; }
  .perks { gap: 6px; }
  .perks div { padding: 10px 6px; font-size: .72rem; }
  .perks div b { font-size: .78rem; }
  .pinfo .price-row strong { font-size: 2rem; }
  .pcard .quick .btn { width: 40px; height: 40px; }
  .trust > div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 20px; }
  .hero-proof { gap: 14px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-proof strong { font-size: 1.6rem; }
  .hero-proof span { font-size: .74rem; }
  .universe { min-height: 360px; padding: 28px; }
  .universe .bgimg { width: 210px; right: -40px; bottom: -50px; }
  .universe .count { position: relative; z-index: 1; }
  .hero-art { height: 440px; }
  .arch { inset: 0 10px; }
  .float-card { padding: 8px; }
  .float-card img { width: 52px; height: 52px; }
  .float-card.one { top: 60px; left: -4px; }
  .float-card.two { right: -4px; bottom: 50px; }
  .seal { width: 100px; height: 100px; right: 0; top: 0; }
  .seal .core { inset: 26px; }
  .story, .pro-band, .newsletter { margin: 0 8px; border-radius: 28px; }
  .stats { gap: 22px; }
  .footer .wrap { grid-template-columns: 1fr; gap: 36px; }
  .nl-form { flex-direction: column; border-radius: 22px; }
  .nl-form input { padding: 14px 16px; }
  .trace-head { grid-template-columns: 1fr; }
  .trace-head img { max-width: 220px; margin: 0 auto; }
  .timeline { font-size: .7rem; }
  .timeline > div { font-size: .66rem; }
  .card { padding: 22px; }
  .cart-line { grid-template-columns: 70px 1fr; }
  .cart-line img { width: 70px; height: 70px; }
  .cart-line > :last-child { grid-column: 2; }
  .mosaic { grid-template-columns: 1fr; }
  .phone { width: 270px; }
}

@media print {
  .announce, .header, .footer, .wa-float, .no-print { display: none !important; }
  body { background: #fff; }
}
.summary .row .muted { white-space: nowrap; }

/* ============ Téléphone : comportement application ============ */
html { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tabbar { display: none; }
@media (max-width: 960px) {
  input, select, textarea { font-size: 16px; }
  .burger, .header-actions > a[href="/panier"] { display: none !important; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 252, 246, .94);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(30, 58, 43, .35);
  }
  .tabbar > a, .tabbar > button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px;
    border: 0; background: none; padding: 0; color: var(--muted); font: inherit; font-size: .68rem; font-weight: 700; letter-spacing: .01em; cursor: pointer;
  }
  .tabbar svg { width: 23px; height: 23px; transition: transform .25s var(--ease); }
  .tabbar .ic { position: relative; display: grid; place-items: center; width: 52px; height: 30px; border-radius: 99px; transition: background .25s; }
  .tabbar > button svg, .tabbar > a > svg { width: 52px; height: 30px; padding: 3.5px 0; border-radius: 99px; transition: background .25s; }
  .tabbar .on { color: var(--forest); }
  .tabbar .on .ic, .tabbar > .on > svg { background: var(--sand); }
  .tabbar > :active svg { transform: scale(.9); }
  .tabbar .cart-count { top: -3px; right: 6px; }
  .wa-float { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }

  /* Le menu s'ouvre depuis le bas, comme une application */
  .drawer-panel {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 86vh; border-radius: 26px 26px 0 0;
    transform: translateY(100%); padding: 10px 22px calc(24px + env(safe-area-inset-bottom));
  }
  .drawer-panel::before { content: ''; width: 44px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 6px; flex: none; }
  .drawer-panel .top { margin-bottom: 6px; }
  .drawer-panel > a { font-size: 1.3rem; padding: 9px 0; }
}
@media print { .tabbar { display: none !important; } }
.cart-count[hidden] { display: none; }
@media (max-width: 960px) {
  .toast { left: 12px; right: 12px; max-width: none; transform: translateY(160%); justify-content: space-between; }
  .toast.show { transform: none; }
  .toast span { flex: 1; min-width: 0; }
}
html, body, * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
