/* =========================================================
   POWERVEEX · Baume Chinois — Landing B2B (officines TN)
   Design tokens, typographie variable, bento, glass, motion-safe
   ========================================================= */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Palette issue du packaging : bordeaux, rouge laqué, or, crème, menthe */
  --burgundy-900: oklch(19% 0.06 22);
  --burgundy-800: oklch(25% 0.09 22);
  --red-600:      oklch(42% 0.17 25);
  --red-500:      oklch(50% 0.19 25);
  --gold-300:     oklch(88% 0.09 85);
  --gold-400:     oklch(80% 0.12 83);
  --gold-600:     oklch(56% 0.11 78);
  --cream-50:     oklch(98.4% 0.006 85);
  --cream-100:    oklch(96.6% 0.013 83);
  --cream-200:    oklch(93% 0.02 80);
  --gold-200:     oklch(93% 0.05 85);
  --gold-450:     oklch(82% 0.11 83);
  --ink-900:      oklch(20% 0.02 20);
  --ink-700:      oklch(38% 0.02 20);
  --ink-500:      oklch(52% 0.015 20);
  --line:         oklch(87% 0.02 75);

  --bg: var(--cream-100);
  --surface: var(--cream-50);
  --text: var(--ink-900);
  --muted: var(--ink-700);
  --accent: var(--red-600);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px oklch(20% 0.02 20 / .06), 0 12px 32px -12px oklch(20% 0.05 20 / .18);
  --shadow-lift: 0 2px 4px oklch(20% 0.02 20 / .08), 0 30px 60px -20px oklch(25% 0.09 22 / .35);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --ease-out: cubic-bezier(.2, .7, .1, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Grain tactile, très léger (technique 2026 : texture papier) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink-900); color: var(--cream-50); padding: .6rem 1rem; border-radius: var(--radius-pill);
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }

/* ---------- Typographie ---------- */
.display, .h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  font-variation-settings: "SOFT" 40;
}
.display { font-size: clamp(2.9rem, 1.2rem + 6.2vw, 6.6rem); }
.h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.9rem); }
.h3, h3 { font-family: var(--font-ui); font-weight: 750; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 .5rem; }
em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--red-600);
}
.h2 em { color: var(--red-600); }
.h2--light, .h2--light em { color: var(--cream-50); }
.h2--light em { color: var(--gold-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--gold { color: var(--gold-300); }
.section-lede { font-size: 1.125rem; color: var(--muted); max-width: 58ch; }
.section-lede--light { color: oklch(90% 0.02 60); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--red-600);
  --btn-fg: var(--cream-50);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .98rem/1 var(--font-ui);
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease-spring), background-color .25s, box-shadow .35s var(--ease-out), color .25s, border-color .25s;
  box-shadow: 0 10px 24px -10px oklch(42% 0.17 25 / .6);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); background: var(--red-500); box-shadow: 0 16px 30px -12px oklch(42% 0.17 25 / .7); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 42px; padding: .7rem 1.1rem; font-size: .9rem; box-shadow: none; }
.btn--lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink-900);
  border-color: var(--ink-900); box-shadow: none;
}
.btn--ghost:hover { background: var(--ink-900); color: var(--cream-50); box-shadow: none; }
.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: var(--cream-50);
  border-color: oklch(96% 0.01 80 / .5); box-shadow: none;
}
.btn--ghost-light:hover { background: var(--cream-50); color: var(--burgundy-900); box-shadow: none; }
.btn--gold { --btn-bg: var(--gold-400); --btn-fg: var(--burgundy-900); box-shadow: 0 12px 28px -12px oklch(80% 0.12 83 / .8); }
.btn--gold:hover { background: var(--gold-300); }
.btn--whatsapp { --btn-bg: var(--gold-400); --btn-fg: var(--burgundy-900); box-shadow: none; }
.btn--whatsapp:hover { background: var(--gold-300); }

.btn[data-magnetic] { transform: translate(var(--mx, 0), var(--my, 0)); }
.btn[data-magnetic]:hover { transform: translate(var(--mx, 0), calc(var(--my, 0) - 2px)); }

.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.cta-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 750; color: var(--red-600); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow:hover { gap: .8rem; }
.link-arrow { transition: gap .3s var(--ease-out); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: .85rem 0;
  transition: background-color .3s, box-shadow .3s, padding .3s;
}
.site-header.is-scrolled {
  background: oklch(98% 0.008 85 / .72);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
  padding: .6rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--burgundy-800); color: var(--gold-300);
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px oklch(80% 0.1 83 / .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-weight: 800; letter-spacing: .14em; font-size: .98rem; }
.brand-text small { font-family: var(--font-display); font-style: italic; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.brand--light { color: var(--cream-50); }
.brand--light .brand-text small { color: var(--gold-300); }

.site-nav { display: none; gap: 2rem; font-weight: 600; font-size: .95rem; margin-left: auto; }
.site-nav a { text-decoration: none; position: relative; padding: .25rem 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red-600); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.site-nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem); isolation: isolate; }
.hero-glow {
  position: absolute; inset: -10% -10% auto auto; width: min(90vw, 780px); aspect-ratio: 1;
  background:
    radial-gradient(closest-side, oklch(90% 0.07 85 / .9), transparent 70%),
    radial-gradient(closest-side at 30% 70%, oklch(93% 0.06 85 / .7), transparent 70%);
  filter: blur(10px);
  z-index: -1;
  animation: drift 18s var(--ease-out) infinite alternate;
}
@keyframes drift { to { transform: translate3d(-4%, 6%, 0) scale(1.05); } }

.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-copy .lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 46ch; margin-top: 1.6rem; }
.hero-copy .display em { display: inline-block; }

.hero-facts {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem;
  margin-top: 2.6rem; max-width: 640px;
}
.hero-facts li {
  background: oklch(99% 0.005 85 / .7);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1rem 1.05rem;
  display: flex; flex-direction: column; gap: .15rem;
  backdrop-filter: blur(8px);
}
.hero-facts strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.02em; line-height: 1; color: var(--burgundy-800); }
.hero-facts span { font-size: .82rem; color: var(--muted); line-height: 1.3; }

.hero-visual { position: relative; }
.hero-stage {
  position: relative;
  width: min(100%, 540px); margin-inline: auto;
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.hero-stage::before {
  content: ""; position: absolute; inset: 3%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, oklch(99% 0.01 85), oklch(93% 0.03 80));
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / .6), 0 40px 80px -30px oklch(25% 0.09 22 / .45);
}
.hero-product {
  position: relative; z-index: 1;
  width: 92%; height: auto;
  animation: float 7s var(--ease-out) infinite;
}
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.2deg); } }

.badge-rotate {
  position: absolute; z-index: 2; top: 2%; right: 2%;
  width: clamp(104px, 22%, 136px); height: auto;
  animation: spin 26s linear infinite;
  filter: drop-shadow(0 10px 20px oklch(25% 0.09 22 / .35));
}
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  position: absolute; z-index: 3;
  padding: .55rem .9rem; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 700; white-space: nowrap;
  box-shadow: var(--shadow-soft);
  border: 1px solid oklch(100% 0 0 / .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.chip--mint { left: -2%; bottom: 14%; background: oklch(94% 0.05 85 / .92); color: oklch(33% 0.07 70); animation: bob 6s ease-in-out infinite; }
.chip--gold { right: -2%; top: 46%; background: oklch(93% 0.07 85 / .92); color: oklch(38% 0.09 70); animation: bob 6s ease-in-out -3s infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 1.5rem 0 1rem; }
.marquee {
  background: var(--burgundy-900); color: var(--gold-300);
  overflow: hidden; padding: 1.15rem 0;
  border-block: 1px solid oklch(40% 0.1 22);
  transform: rotate(-1.2deg);
  margin: 0 -3%; width: 106%;
}
.marquee-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .8em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--paper { background: var(--surface); }
.section--dark { background: var(--burgundy-900); color: var(--cream-50); overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 80% 0%, oklch(35% 0.12 25 / .55), transparent 70%);
}
.section--dark .container { position: relative; }
.section--burgundy { background: var(--burgundy-800); color: var(--cream-50); overflow: hidden; }
.section--burgundy::after {
  content: ""; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%;
  right: -180px; bottom: -220px; pointer-events: none;
  background: radial-gradient(closest-side, oklch(55% 0.13 80 / .35), transparent);
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-head--center .eyebrow::before { display: none; }
.section-head .h2 { margin-bottom: 1rem; }

/* ---------- Bento ---------- */
.bento {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
.bento-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: .4rem;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: oklch(80% 0.05 80); }
.bento-card h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; }
.bento-card p { color: var(--muted); margin: 0; max-width: 40ch; }
.bento-icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--burgundy-800); color: var(--gold-300);
}
.bento-tag {
  margin-top: auto; padding-top: 1.2rem;
  font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600);
}
.bento-tag::before { content: "● "; color: var(--gold-600); }
.bento-card--burgundy { background: var(--burgundy-800); color: var(--cream-50); border-color: transparent; }
.bento-card--burgundy h3 { color: var(--cream-50); }
.bento-card--burgundy p { color: oklch(88% 0.03 60); }
.bento-card--burgundy .bento-icon { background: var(--gold-400); color: var(--burgundy-900); }
.bento-card--burgundy .bento-tag { color: var(--gold-300); }
.bento-card--burgundy::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, oklch(60% 0.15 25 / .6), transparent);
  pointer-events: none;
}
.bento-card--mint { background: var(--gold-200); border-color: transparent; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.bento-card--mint h3 { color: oklch(28% 0.06 60); }
.bento-card--mint p { color: oklch(35% 0.05 60); }
.zones { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.zones li {
  padding: .55rem 1rem; border-radius: var(--radius-pill);
  background: oklch(99% 0.01 85); color: oklch(28% 0.06 60);
  font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-soft);
}

/* ---------- Composition ---------- */
.split { display: grid; gap: 3rem; align-items: start; }
.split > header .h2 { margin-bottom: 1.2rem; }
.split > header .section-lede { margin-bottom: 0; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.badges li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .9rem; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--surface);
  font-size: .88rem; font-weight: 650;
}
.badges li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-450);
  box-shadow: 0 0 0 3px oklch(93% 0.05 85);
}

.inci-wrap {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; box-shadow: var(--shadow-soft);
}
.inci { width: 100%; border-collapse: collapse; font-size: .95rem; }
.inci caption { text-align: left; padding: 1.4rem 1.6rem 1rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 560; caption-side: top; }
.inci th, .inci td { padding: .95rem 1.6rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.inci thead th { border-top: 0; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--cream-100); }
.inci td:first-child { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .86rem; color: var(--burgundy-800); font-weight: 600; word-break: break-word; }
.inci tbody tr { transition: background-color .2s; }
.inci tbody tr:hover { background: var(--cream-100); }

/* ---------- Rituel (steps) ---------- */
.steps { list-style: none; display: grid; gap: 1rem; counter-reset: step; }
.step {
  position: relative;
  padding: 2.2rem 1.8rem 2rem;
  border-radius: var(--radius-l);
  background: oklch(100% 0 0 / .04);
  border: 1px solid oklch(100% 0 0 / .12);
  transition: background-color .4s, border-color .4s, transform .5s var(--ease-out);
}
.step:hover { background: oklch(100% 0 0 / .08); border-color: oklch(80% 0.1 83 / .5); transform: translateY(-4px); }
.step-num {
  display: block; font-family: var(--font-display); font-size: clamp(3.5rem, 3rem + 2vw, 5rem); font-weight: 300;
  line-height: 1; color: var(--gold-400); margin-bottom: 1.4rem; font-variation-settings: "SOFT" 100;
}
.step h3 { font-family: var(--font-display); font-weight: 560; font-size: 1.85rem; letter-spacing: -0.015em; color: var(--cream-50); }
.step p { color: oklch(84% 0.03 40); margin: 0; }

/* ---------- Formats ---------- */
.formats { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.format-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.format-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.format-media {
  position: relative; aspect-ratio: 4 / 3.4; min-height: 260px;
  background: radial-gradient(120% 90% at 30% 20%, oklch(99% 0.01 85), oklch(93% 0.03 80));
  display: grid; place-items: center; padding: 1.5rem;
  overflow: hidden;
}
.format-media img { position: absolute; inset: 1.5rem; width: calc(100% - 3rem); height: calc(100% - 3rem); object-fit: contain; transition: transform .8s var(--ease-out); }
.format-card:hover .format-media img { transform: scale(1.05) rotate(-1deg); }
.format-body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.format-body h3 { font-family: var(--font-display); font-weight: 580; font-size: 1.6rem; letter-spacing: -0.015em; margin-top: .4rem; }
.format-body p { color: var(--muted); margin: 0 0 .8rem; }
.format-body .link-arrow { margin-top: auto; align-self: flex-start; }
.tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .7rem; border-radius: var(--radius-pill);
  background: var(--cream-200); color: var(--burgundy-800);
}
.tag--gold { background: var(--gold-400); color: var(--burgundy-900); }
.format-card--feature { border-color: oklch(75% 0.1 83 / .6); }

/* ---------- B2B ---------- */
.split--b2b { grid-template-columns: 1fr; }
.check-list { list-style: none; margin-top: 2rem; display: grid; gap: .9rem; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; color: oklch(92% 0.02 60); }
.check-list li > span {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-400); color: var(--burgundy-900); font-weight: 800; font-size: .85rem;
}

.process {
  background: oklch(100% 0 0 / .06);
  border: 1px solid oklch(100% 0 0 / .14);
  border-radius: var(--radius-l);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  backdrop-filter: blur(12px);
  color: var(--cream-50);
}
.process h3 { font-family: var(--font-display); font-weight: 560; font-size: 1.6rem; letter-spacing: -0.015em; margin-bottom: 1.4rem; }
.process ol { list-style: none; display: grid; gap: 1.3rem; counter-reset: p; margin-bottom: 1.8rem; }
.process li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.process-num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream-50); color: var(--burgundy-800); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}
.process strong { display: block; font-size: 1.05rem; margin-bottom: .15rem; }
.process p { color: oklch(86% 0.03 60); margin: 0; font-size: .95rem; }

/* ---------- Cartes sécurité ---------- */
.cards-3 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.note {
  border-radius: var(--radius-m);
  padding: 1.8rem;
  background: var(--surface); border: 1px solid var(--line);
  position: relative;
}
.note::before {
  content: ""; display: block; width: 36px; height: 36px; border-radius: 12px; margin-bottom: 1.1rem;
  background: var(--gold-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23775a10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/18px no-repeat;
}
.note h3 { font-size: 1.12rem; }
.note p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
.contact-aside .section-lede { margin-bottom: 1.8rem; }
.contact-card {
  background: var(--burgundy-800); color: var(--cream-50);
  border-radius: var(--radius-l); padding: 1.8rem;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.contact-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, oklch(70% 0.12 83 / .35), transparent);
}
.contact-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 560; margin: 0; letter-spacing: -0.01em; }
.contact-role { color: var(--gold-300); margin: 0 0 1.2rem; font-size: .92rem; }
.contact-line {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem;
  font-weight: 750; font-size: 1.15rem; text-decoration: none; color: var(--cream-50);
}
.contact-address { margin: 1.4rem 0 0; font-size: .9rem; color: oklch(85% 0.03 60); display: grid; gap: .9rem; }
.contact-address p { margin: 0; }
.contact-address strong { color: var(--gold-300); font-weight: 750; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

.lead-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-soft);
  display: grid; gap: 1.1rem;
}
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label, .consent { font-weight: 700; font-size: .9rem; }
.field label .optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 14px; padding: .85rem 1rem; min-height: 50px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23513b3e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: oklch(70% 0.05 75); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red-600); background: var(--surface);
  box-shadow: 0 0 0 4px oklch(42% 0.17 25 / .15);
}
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: oklch(55% 0.2 25); }
.field-error { color: oklch(45% 0.18 25); font-size: .84rem; font-weight: 600; margin: 0; min-height: 0; }
.field-error:empty { display: none; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-weight: 500; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--red-600); }

.form-status { margin: 0; font-weight: 650; min-height: 1.5em; }
.form-status.is-ok { color: oklch(45% 0.1 75); }
.form-status.is-error { color: oklch(45% 0.18 25); }

.btn-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  display: none; animation: spin .8s linear infinite;
}
.is-loading .btn-spinner { display: inline-block; }
.is-loading .btn-label { opacity: .7; }
.is-loading { pointer-events: none; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 3rem; grid-template-columns: 1fr; }
.faq { display: grid; gap: .6rem; align-content: start; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  transition: border-color .3s, box-shadow .3s;
}
.faq details[open] { border-color: oklch(75% 0.08 80); box-shadow: var(--shadow-soft); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 1.4rem;
  font-weight: 750; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 500; font-size: 1.3rem; line-height: 1;
  background: var(--cream-200); color: var(--burgundy-800); transition: transform .4s var(--ease-spring), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red-600); color: var(--cream-50); }
.faq details p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); max-width: 66ch; }
.faq summary:focus-visible { outline-offset: -3px; }

/* ---------- CTA final ---------- */
.final-cta {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background:
    radial-gradient(60% 80% at 100% 0%, oklch(50% 0.16 25 / .7), transparent 70%),
    var(--red-600);
  color: var(--cream-50);
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta-inner { max-width: 900px; }
.final-cta .h2 { margin-bottom: .5rem; }
.final-cta .h2--light em { color: var(--gold-300); }

/* ---------- Footer ---------- */
.site-footer { background: var(--burgundy-900); color: oklch(84% 0.03 40); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 3rem; }
.footer-about { margin: 1.2rem 0 0; max-width: 32ch; color: oklch(80% 0.03 40); }
.site-footer a { color: var(--cream-50); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.footer-grid ul { list-style: none; display: grid; gap: .55rem; }
.footer-title { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1rem; }
.footer-grid p { margin: 0; }
.footer-legal {
  border-top: 1px solid oklch(100% 0 0 / .1); padding-block: 1.8rem 2.2rem;
  font-size: .85rem; color: oklch(72% 0.03 40); display: grid; gap: .6rem;
}
.footer-legal p { margin: 0; }
.footer-legal strong { color: var(--cream-50); }

/* ---------- Barre mobile & WhatsApp ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: oklch(98% 0.008 85 / .85);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .5s var(--ease-out);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { box-shadow: none; }

.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 55;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-400); color: var(--burgundy-900);
  box-shadow: 0 14px 30px -10px oklch(70% 0.12 83 / .6);
  transition: transform .35s var(--ease-spring);
}
.wa-float:hover { transform: scale(1.08); }
.wa-confirm { margin-top: .4rem; }
.wa-confirm[hidden] { display: none; }
.wa-float::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid oklch(80% 0.12 83 / .6); animation: pulse 2.6s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(2) { --d: 80ms; }
.js .bento .reveal:nth-child(3) { --d: 160ms; }
.js .bento .reveal:nth-child(4) { --d: 240ms; }
.js .bento .reveal:nth-child(5) { --d: 320ms; }
.js .steps .reveal:nth-child(2) { --d: 120ms; }
.js .steps .reveal:nth-child(3) { --d: 240ms; }
.js .formats .reveal:nth-child(2) { --d: 100ms; }
.js .formats .reveal:nth-child(3) { --d: 200ms; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .formats .format-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .formats .format-card--feature .format-media { aspect-ratio: auto; min-height: 100%; }
  .formats .format-card--feature .format-body { justify-content: center; padding: 2.4rem; }
  .formats .format-card--feature h3 { font-size: 2.1rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .footer-legal { grid-template-columns: 2fr 1fr; }
}

@media (min-width: 880px) {
  .site-nav { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 2rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split--b2b { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; }
  .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); }
  .bento-card--xl { grid-column: span 2; grid-row: span 2; }
  .bento-card--wide { grid-column: span 3; }
  .bento-card--mint { flex-direction: row; }
  .mobile-cta { display: none; }
  .wa-float { bottom: 1.6rem; right: 1.6rem; }
  .bento-card--xl h3 { font-size: clamp(2.2rem, 2rem + 1vw, 3rem); }
  .bento-card--xl p { font-size: 1.15rem; max-width: 36ch; }
  .formats .format-card--feature { grid-template-columns: 1.1fr 1fr; }
}

@media (max-width: 879px) {
  .mobile-cta.is-visible ~ .wa-float { bottom: 6rem; }
  .hero-stage { width: min(100%, 440px); }
  .chip { font-size: .74rem; padding: .45rem .75rem; }
}

@media (max-width: 420px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li { flex-direction: row; justify-content: space-between; align-items: center; }
  .hero-facts span { text-align: right; max-width: 60%; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- v4 : photos de situation, secours d'envoi, colonne officines ---------- */
.hero-product {
  position: absolute; top: 8%; left: 8%; z-index: 1;
  width: 84%; height: 84%; object-fit: cover; border-radius: 50%;
  mix-blend-mode: normal; filter: none; animation: none;
  box-shadow: 0 40px 80px -30px oklch(25% 0.09 22 / .55), inset 0 0 0 6px oklch(96% 0.02 85 / .35);
}
.format-card--feature .format-media { padding: 0; }
.format-card--feature .format-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.officine-side { display: grid; gap: 1.25rem; }
.officine-photo { margin: 0; border-radius: var(--radius-l); overflow: hidden; border: 1px solid oklch(100% 0 0 / .14); background: oklch(100% 0 0 / .05); }
.officine-photo img { width: 100%; height: auto; max-height: 340px; object-fit: cover; object-position: 50% 40%; }
.officine-photo figcaption { padding: .8rem 1.1rem; font-size: .84rem; color: oklch(86% 0.03 60); }
.send-fallback { display: grid; gap: .6rem; padding-top: .4rem; border-top: 1px solid var(--line); }
.send-fallback[hidden], .wa-confirm[hidden] { display: none !important; }
.send-fallback-title { margin: 0 0 .2rem; font-weight: 700; font-size: .92rem; color: var(--muted); }

/* Visuels détourés de taille réduite (sources basse résolution : évite la pixellisation) */
.format-media--small img {
  position: relative; inset: auto;
  width: auto; height: auto;
  max-width: 50%; max-height: 62%;
  margin: auto;
}
