/* ==========================================================================
   Saveurs Primeur — site vitrine
   Mobile first · une seule couleur d'accent (brand) · clair / sombre
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit.woff2") format("woff2-variations"), url("../assets/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --brand-50: #f1f8ea;
  --brand-100: #ddefcc;
  --brand-200: #bfe09f;
  --brand-300: #98cc69;
  --brand-400: #78b844;
  --brand-500: #5c9e2c;
  --brand-600: #467f20;
  --brand-700: #37631c;
  --brand-800: #2e4f1b;
  --brand-900: #27431a;
  --brand-950: #112409;

  --ink-50: #f5f7f2;
  --ink-100: #eaeee5;
  --ink-200: #d7ddd0;
  --ink-300: #b6bfac;
  --ink-400: #8c9781;
  --ink-500: #6b7661;
  --ink-600: #535d4a;
  --ink-700: #41493a;
  --ink-800: #2a3026;
  --ink-900: #1a1e17;
  --ink-950: #0f120d;

  /* rôles */
  --bg: var(--ink-50);
  --surface: #ffffff;
  --surface-2: var(--ink-100);
  --text: var(--ink-900);
  --muted: var(--ink-600);
  --line: var(--ink-200);
  --accent: var(--brand-600);
  --accent-soft: var(--brand-100);
  --accent-ink: var(--brand-700);
  --tint: var(--brand-50);
  --dark: var(--brand-950);
  --header: rgba(245, 247, 242, .78);

  --r-card: 24px;
  --r-field: 16px;
  --shadow: 0 1px 2px rgba(17, 36, 9, .06), 0 12px 32px -12px rgba(17, 36, 9, .18);
  --shadow-lg: 0 30px 60px -20px rgba(17, 36, 9, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink-950);
    --surface: var(--ink-900);
    --surface-2: var(--ink-800);
    --text: var(--ink-50);
    --muted: var(--ink-300);
    --line: var(--ink-800);
    --accent: var(--brand-400);
    --accent-soft: rgba(120, 184, 68, .14);
    --accent-ink: var(--brand-300);
    --tint: #141a10;
    --dark: #0a1606;
    --header: rgba(15, 18, 13, .75);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* --- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } }

/* --- boutons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), background-color .25s, box-shadow .4s var(--ease), color .25s, border-color .25s;
}
.btn .ic { transition: transform .4s var(--ease); }
.btn:hover .ic:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(70, 127, 32, .7); }
.btn--brand:hover { background: var(--brand-700); box-shadow: 0 14px 30px -10px rgba(70, 127, 32, .8); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn--light { background: #fff; color: var(--brand-800); }
.btn--light:hover { background: var(--brand-100); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 1rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-400); box-shadow: 0 0 0 4px var(--accent-soft); }
.eyebrow--light { color: var(--brand-200); }
.eyebrow--light .dot { box-shadow: 0 0 0 4px rgba(191, 224, 159, .18); }

.h2 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700; margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); max-width: 60ch; }

/* --- topbar -------------------------------------------------------------- */
.topbar { background: var(--brand-900); color: var(--brand-100); font-size: .82rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__mid { display: none !important; }
@media (min-width: 900px) { .topbar__mid { display: inline-flex !important; } }

/* --- header -------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(17, 36, 9, .35); }
.header__in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.brand__name { font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.brand__name b { font-weight: 700; color: var(--accent); margin-left: .25em; }

.nav { display: none; gap: 4px; }
.nav a { position: relative; padding: .5em .9em; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.is-active { color: var(--accent-ink); background: var(--accent-soft); }
.hide-md { display: none; }

.burger {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-size: 1.2rem;
}
.burger .ic--close { display: none; }
.burger[aria-expanded="true"] .ic--open { display: none; }
.burger[aria-expanded="true"] .ic--close { display: block; }

.menu { border-top: 1px solid var(--line); }
.menu__in { display: flex; flex-direction: column; padding-block: 12px 20px; }
.menu__in a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-size: 1.25rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line);
}
.menu__in a:not(.btn) .ic { color: var(--accent); }
.menu__in .btn { margin-top: 20px; }
.js .menu:not([hidden]) { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .hide-md { display: inline-flex; }
  .burger, .menu { display: none !important; }
}

/* --- hero ---------------------------------------------------------------- */
.hero { position: relative; padding-top: 32px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%); z-index: -1; pointer-events: none;
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__title {
  font-size: clamp(3.2rem, 15vw, 7.2rem); font-weight: 800; letter-spacing: -.045em; line-height: .92; margin-bottom: 1.2rem;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand-600), var(--brand-400) 60%, #b5d334);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.25rem, 3.4vw, 1.6rem); font-weight: 600; margin-bottom: 1rem; max-width: 26ch; line-height: 1.25; }
.hero__p { color: var(--muted); max-width: 52ch; margin-bottom: .7rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero__cta .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero__cta .btn { flex: 0 0 auto; } }

.hero__media { position: relative; }
.hero__img {
  border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4;
  transform: rotate(1.5deg);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.hero__media:hover .hero__img img { transform: scale(1.1); }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow);
  font-weight: 600; font-size: .9rem; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip .ic { color: var(--accent); font-size: 1.25rem; }
.chip--a { left: -6px; bottom: 18%; }
.chip--b { right: -6px; top: 8%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.badge-round { position: absolute; right: 8%; bottom: -36px; width: 112px; height: 112px; border-radius: 50%; background: var(--brand-900); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.badge-round svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-round text { font-size: 10.4px; font-weight: 600; letter-spacing: .14em; fill: var(--brand-100); }
.badge-round img { width: 40px; height: 40px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .hero { padding-top: 56px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .chip--a { left: -28px; }
  .chip--b { right: -20px; }
}

/* marquee */
.marquee { margin-top: 72px; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(1.1rem, 3vw, 1.6rem); font-weight: 600; white-space: nowrap; color: var(--text); }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-400); flex: none; }
.marquee i:nth-of-type(3n) { background: #b5d334; }
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }

/* --- sections ------------------------------------------------------------ */
.section { padding-block: 80px; position: relative; }
@media (min-width: 900px) { .section { padding-block: 120px; } }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .lead { color: var(--brand-100); opacity: .85; }
.head { margin-bottom: 40px; }
.head--center { text-align: center; }
.head--center .lead { margin-inline: auto; }

/* about */
.about { display: grid; gap: 48px; align-items: center; }
.about__media { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.about__media img { width: 100%; aspect-ratio: 604 / 1018; object-fit: cover; border-radius: 200px 200px var(--r-card) var(--r-card); box-shadow: var(--shadow-lg); max-height: 640px; }
.stat {
  position: absolute; left: -8px; bottom: 32px; display: flex; flex-direction: column; max-width: 210px;
  padding: 18px 20px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow);
}
.stat strong { font-size: 2.6rem; line-height: 1; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.stat span { font-size: .88rem; color: var(--muted); line-height: 1.35; margin-top: 6px; }
.features { display: grid; gap: 14px; margin-top: 32px; }
.feature {
  display: flex; gap: 16px; padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.feature__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); font-size: 1.6rem; flex: none; }
.feature h3 { font-size: 1.15rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .97rem; }
@media (min-width: 900px) {
  .about { grid-template-columns: .85fr 1.15fr; gap: 80px; }
  .stat { left: -32px; }
}

/* pro */
.section--dark { overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120, 184, 68, .28), transparent); pointer-events: none;
}
.pro { display: grid; gap: 48px; align-items: center; position: relative; }
.pro__cards { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 32px 0 14px; }
.mini {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.mini .ic { grid-row: span 2; font-size: 1.7rem; color: var(--brand-300); }
.mini strong { font-size: 1.05rem; }
.mini span { font-size: .88rem; color: var(--brand-200); opacity: .8; }
@media (min-width: 560px) { .pro__cards { grid-template-columns: repeat(3, 1fr); } .mini { grid-template-columns: 1fr; row-gap: 4px; } .mini .ic { grid-row: auto; margin-bottom: 8px; } }

.offer {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 32px;
  border-radius: var(--r-card); background: linear-gradient(120deg, var(--brand-600), var(--brand-500));
  box-shadow: 0 20px 40px -20px rgba(92, 158, 44, .8);
}
.offer__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .16); font-size: 1.7rem; flex: none; }
.offer__txt { flex: 1; font-size: .95rem; line-height: 1.45; }
.offer__price { text-align: right; line-height: 1; flex: none; }
.offer__price strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.offer__price span { font-size: .8rem; opacity: .85; font-weight: 600; }
@media (max-width: 420px) { .offer { flex-wrap: wrap; } .offer__txt { flex-basis: calc(100% - 68px); } .offer__price { margin-left: 68px; text-align: left; } }

.pro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% center; border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) {
  .pro { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .pro__media img { aspect-ratio: 4 / 5.2; }
}

/* étapes */
.steps { display: grid; gap: 12px; margin-bottom: 48px; counter-reset: s; }
.step {
  position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 22px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
.step .ic { font-size: 1.8rem; color: var(--accent); flex: none; }
.step p { font-weight: 500; padding-right: 36px; }
.step__n { position: absolute; right: 16px; top: 10px; font-size: 2.4rem; font-weight: 800; color: var(--accent-soft); letter-spacing: -.04em; line-height: 1; }
@media (prefers-color-scheme: dark) { .step__n { color: rgba(120, 184, 68, .25); } }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .step { flex-direction: column; padding: 28px; min-height: 200px; }
  .step .ic { font-size: 2.2rem; }
  .step__n { font-size: 3.4rem; right: 20px; top: 16px; }
}

/* points relais */
.relays { display: grid; gap: 20px; }
.relays__media img { width: 100%; height: 100%; min-height: 240px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.relays__list { display: grid; gap: 12px; }
.relay {
  padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.relay:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.relay__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
.relay h3 { font-size: 1.5rem; font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .84rem; font-weight: 600; }
.relay__name { font-weight: 600; }
.relay__addr { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: .94rem; margin-top: 2px; }
.relay__addr .ic { margin-top: .2em; color: var(--accent); }
@media (min-width: 700px) { .relays__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .relays { grid-template-columns: .8fr 1.2fr; gap: 24px; }
  .relays__media img { aspect-ratio: auto; }
}

/* marchés */
.week { display: grid; gap: 10px; }
.day {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line);
}
.day__name { width: 92px; flex: none; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.day ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.day li { display: flex; flex-direction: column; line-height: 1.25; }
.day li b { font-size: 1.15rem; }
.day li small { color: var(--muted); font-size: .85rem; }
.day--hl { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.day--hl .day__name, .day--hl small { color: var(--brand-100) !important; }
@media (min-width: 900px) {
  .week { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .day { flex-direction: column; align-items: flex-start; min-height: 190px; padding: 24px; }
  .day ul { flex-direction: column; gap: 14px; margin-top: auto; }
  .day li b { font-size: 1.3rem; }
}

/* vente en ligne (anciennement « application ») */
.app { display: grid; gap: 40px; align-items: center; }
.app__media { position: relative; display: grid; place-items: center; padding: 20px 0; }
.app__blob {
  position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brand-300), var(--brand-600));
  filter: blur(2px); opacity: .9;
}
@media (prefers-color-scheme: dark) { .app__blob { opacity: .55; } }
.app__text > p:not(.eyebrow):not(.lead) { color: var(--muted); margin-top: .8rem; max-width: 56ch; }
@media (min-width: 900px) { .app { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

/* contact */
.section--contact { background: var(--dark); color: #fff; overflow: hidden; }
.section--contact::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120, 184, 68, .25), transparent); pointer-events: none;
}
.section--contact .lead { color: var(--brand-100); opacity: .85; }
.contact { display: grid; gap: 40px; position: relative; z-index: 1; }
.contact__list { display: grid; gap: 14px; margin-top: 28px; }
.contact__list li { display: flex; align-items: center; gap: 14px; color: var(--brand-100); }
.contact__list li > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--brand-300); font-size: 1.4rem; flex: none; }
.contact__list a { color: #fff; text-decoration: none; font-weight: 500; word-break: break-word; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { background: var(--surface); color: var(--text); padding: 24px 20px; border-radius: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .88rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-field); padding: 13px 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
.field.is-invalid input { border-color: #c2410c; box-shadow: 0 0 0 4px rgba(194, 65, 12, .12); }
.form__msg { font-size: .92rem; min-height: 1.2em; color: var(--accent-ink); }
.form__msg.is-error { color: #c2410c; }
@media (prefers-color-scheme: dark) { .form__msg.is-error { color: #fb923c; } .field.is-invalid input { border-color: #fb923c; } }
@media (min-width: 640px) { .form { padding: 32px; } .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } }

/* footer */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 56px; font-size: .95rem; }
.footer__top { display: grid; gap: 32px; padding-bottom: 40px; }
.footer__brand img { width: 130px; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); max-width: 42ch; }
.footer__brand a { color: var(--accent-ink); text-underline-offset: 3px; }
.footer__nav, .footer__contact { display: grid; gap: 10px; align-content: start; }
.footer__nav a, .footer__contact a { text-decoration: none; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; width: fit-content; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent-ink); }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 20px calc(20px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .85rem; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }

/* retour en haut */
.totop {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  background: var(--brand-600); color: #fff; font-size: 1.25rem; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease), background-color .2s;
}
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--brand-700); }

/* --- apparitions au défilement ------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* vente en ligne : capture ordinateur dans un cadre de navigateur, capture mobile par-dessus */
.shop { padding: 28px 0 56px; }
.shop .app__blob { width: min(460px, 92%); }
.shop__desktop {
  text-decoration: none;
  position: relative; display: block; width: min(560px, 100%);
  border-radius: 16px; overflow: hidden; background: var(--surface);
  box-shadow: 0 30px 60px rgba(17, 36, 9, .28); border: 1px solid var(--ink-200);
  transition: transform .8s var(--ease);
}
.shop__bar {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  background: var(--ink-100); border-bottom: 1px solid var(--ink-200); font-size: .72rem; color: var(--ink-500);
}
.shop__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-300); }
.shop__bar span { margin-left: 10px; padding: 2px 12px; border-radius: 999px; background: var(--surface); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop__desktop img { display: block; width: 100%; height: auto; }
.shop__phone {
  position: absolute; right: 2%; bottom: 0; width: min(150px, 30%);
  border-radius: 24px; overflow: hidden; border: 6px solid var(--ink-900); background: var(--ink-900);
  box-shadow: 0 24px 44px rgba(17, 36, 9, .38); transform: rotate(4deg); transition: transform .8s var(--ease);
}
.shop__phone img { display: block; width: 100%; height: auto; }
.shop:hover .shop__desktop { transform: translateY(-4px); }
.shop:hover .shop__phone { transform: rotate(0deg) translateY(-8px); }
.shop__points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .85rem; }
.shop__points li { display: flex; gap: .75rem; align-items: flex-start; color: var(--muted); max-width: 56ch; }
.shop__points .ic { flex: none; width: 1.5rem; height: 1.5rem; color: var(--brand-600); margin-top: .1rem; }
.shop__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 2rem; }
@media (prefers-color-scheme: dark) {
  .shop__desktop { border-color: var(--ink-800); }
  .shop__bar { background: var(--ink-800); border-color: var(--ink-800); color: var(--ink-300); }
  .shop__bar span { background: var(--ink-900); }
  .shop__points .ic { color: var(--brand-300); }
}
@media (prefers-reduced-motion: reduce) {
  .shop__desktop, .shop__phone { transition: none; }
  .shop:hover .shop__desktop, .shop:hover .shop__phone { transform: none; }
  .shop__phone { transform: rotate(4deg); }
}
