/* ============================================================
   Les Ruchers de Laparade — feuille de style
   Palette : miel doré, ambre, crème, brun profond
   Typographies : Fraunces (titres) + Nunito Sans (texte)
   ============================================================ */

:root {
  --honey: #e9a13b;
  --honey-light: #ffd98e;
  --honey-dark: #b96f10;
  --amber: #d98a1f;
  --cream: #fdf6ea;
  --cream-2: #f6ead3;
  --brown: #33230f;
  --brown-soft: #6d5637;
  --white: #ffffff;
  --green: #6f8f4e;
  --red: #c0392b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(51, 35, 15, 0.08);
  --shadow: 0 12px 40px rgba(51, 35, 15, 0.14);
  --shadow-lg: 0 24px 60px rgba(51, 35, 15, 0.2);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--brown);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ============================================================
   Barre de progression de lecture
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--honey-light), var(--honey), var(--amber));
  z-index: 200;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(233, 161, 59, 0.6);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 246, 234, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 35, 15, 0.08);
  transition: box-shadow 0.25s, background 0.25s;
}

.nav.scrolled {
  box-shadow: 0 6px 30px rgba(51, 35, 15, 0.12);
  background: rgba(253, 246, 234, 0.97);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.01em;
}

.logo-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.logo-bee {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 4px 10px rgba(185, 111, 16, 0.35));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-bee {
  transform: rotate(-8deg) scale(1.08);
}

.logo-bee-footer {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin-right: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brown-soft);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--honey), var(--honey-light));
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--honey-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--honey-dark);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: var(--brown);
  line-height: 1;
  min-width: 48px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 12px;
  margin-right: -12px;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  height: calc(100svh - 74px);
  height: calc(100vh - 74px);
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  perspective: 1000px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  animation: heroZoom 22s ease-out forwards;
  will-change: transform;
  filter: saturate(0.92) contrast(1.04);
}

@keyframes heroZoom {
  from { transform: scale(1.18); }
  to   { transform: scale(1.04); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.0) 65%),
    linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.55) 100%);
}

.hero-content {
  max-width: 720px;
  padding: 80px 0 100px;
  color: var(--white);
  text-align: left;
}

/* Décorations flottantes du hero */
.hero-deco {
  position: absolute;
  z-index: 1;
  font-size: 2.2rem;
  opacity: 0.85;
  animation: floaty 7s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.hero-deco-1 { top: 18%; right: 22%; animation-delay: 0s; }
.hero-deco-2 { top: 55%; right: 12%; font-size: 3rem; animation-delay: 1.4s; }
.hero-deco-3 { top: 30%; right: 40%; font-size: 1.8rem; animation-delay: 2.6s; }

/* ============================================================
   Bandeau photo plein écran et galerie
   ============================================================ */

.photo-strip {
  position: relative;
  height: 56vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.photo-strip-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--cream);
  max-width: 700px;
  padding: 40px 24px;
}

.photo-strip-content .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--honey-light);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.photo-strip-content .kicker::before,
.photo-strip-content .kicker::after {
  content: "";
  width: 34px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--honey-light));
}

.photo-strip-content .kicker::after {
  background: linear-gradient(90deg, var(--honey-light), transparent);
}

.photo-strip-content h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.2;
  text-wrap: balance;
}

.photo-strip-content p {
  margin-top: 14px;
  font-size: 1.02rem;
  color: rgba(253, 246, 234, 0.9);
}

.gallery {
  --gap: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: var(--gap);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(38, 24, 8, 0.78));
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transform: translateY(20%);
  opacity: 0;
  transition: transform 0.35s, opacity 0.35s;
}

.gallery-item:hover .caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item .caption i {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--honey-light);
  margin-top: 4px;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
}

/* ======= Lightbox plein écran au clic ======= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 4, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px 24px;
  animation: fadeIn 0.25s ease;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(94vw, 1200px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  animation: lbZoom 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox-caption {
  margin-top: 18px;
  text-align: center;
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 1.15rem;
}
.lightbox-caption small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--honey-light);
  font-style: normal;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(253, 246, 234, 0.12);
  color: var(--cream);
  font-size: 1.6rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover { background: rgba(253, 246, 234, 0.22); transform: rotate(90deg); }
@keyframes lbZoom {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Admin — gestion de la galerie
   ============================================================ */
.gallery-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 22px 0 12px;
  color: var(--ink);
}
.gallery-admin-list { display: flex; flex-direction: column; gap: 12px; }
.gallery-admin-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.gallery-admin-row .thumb {
  width: 120px; height: 90px;
  background: #efe2c8 center/cover no-repeat;
  border-radius: 8px;
  position: relative;
}
.gallery-admin-row .thumb .num {
  position: absolute; top: 6px; left: 6px;
  background: var(--ink); color: var(--cream);
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 8px; border-radius: 10px;
}
.gallery-admin-row input[type=text] {
  width: 100%;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  background: #fffaf0;
}
.gallery-admin-row input[type=text]:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(245, 172, 38, 0.18);
}
.gallery-admin-row .row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.gallery-admin-row .row-actions button {
  width: 34px; height: 34px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background 0.15s, transform 0.15s;
}
.gallery-admin-row .row-actions button:hover { background: #fff3da; }
.gallery-admin-row .row-actions button.del { color: #b03434; }
.gallery-admin-row .row-actions button.del:hover { background: #fde8e8; }
.gallery-admin-row.dragging { opacity: 0.5; }
.gallery-admin-row.drag-over { border-color: var(--honey); background: #fffaf0; }
@media (max-width: 720px) {
  .gallery-admin-row {
    grid-template-columns: 80px 1fr auto;
    grid-template-areas:
      "thumb title actions"
      "thumb sub   actions";
  }
  .gallery-admin-row .thumb { width: 80px; height: 70px; grid-area: thumb; }
  .gallery-admin-row .row-title { grid-area: title; }
  .gallery-admin-row .row-sub { grid-area: sub; }
  .gallery-admin-row .row-actions { grid-area: actions; flex-direction: column; }
}

.upload-zone {
  border: 2px dashed rgba(217, 164, 65, 0.55);
  background: #fff7e2;
  border-radius: 14px;
  padding: 28px 18px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.upload-zone:hover, .upload-zone.drag {
  background: #fff3da;
  border-color: var(--honey);
}
.upload-zone .upload-icon { font-size: 2rem; }
.upload-zone p { margin: 8px 0 4px; font-weight: 700; color: var(--ink); }
.upload-zone small { color: var(--ink-soft); font-size: 0.85rem; }

.gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.gallery-admin-cell {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.gallery-admin-cell .thumb {
  height: 110px;
  background: #efe2c8 center/cover no-repeat;
}
.gallery-admin-cell .cell-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gallery-admin-cell .name {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
  word-break: break-all;
}
.gallery-admin-cell .add-btn {
  margin-top: auto;
  background: var(--honey-dark);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.8rem;
}
.gallery-admin-cell .add-btn:hover { background: var(--honey); }
.gallery-admin-empty {
  padding: 16px;
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
}

.testimonials-admin-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }

.ts-tabs {
  display: inline-flex;
  gap: 4px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 4px;
  margin: 6px 0 16px;
}
.ts-tab {
  background: transparent;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s, color 0.25s;
}
.ts-tab.active {
  background: var(--ink);
  color: var(--cream);
}
.ts-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--honey);
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 800;
}
.ts-tab.active .ts-count { background: var(--honey-light); }
.testimonials-admin-empty {
  padding: 24px;
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
  background: #fffaf0;
  border: 1px dashed rgba(217, 164, 65, 0.4);
  border-radius: 12px;
}
.testimonial-admin-row {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonial-admin-row .ta-head {
  display: flex;
  gap: 8px;
  align-items: center;
}
.testimonial-admin-row .ta-head input { flex: 1; }
.testimonial-admin-row .ta-grid {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 10px;
}
.testimonial-admin-row input[type=text],
.testimonial-admin-row select,
.testimonial-admin-row textarea {
  padding: 9px 11px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  background: #fffaf0;
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.testimonial-admin-row textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.5;
}
.testimonial-admin-row input[type=text]:focus,
.testimonial-admin-row textarea:focus,
.testimonial-admin-row select:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(245, 172, 38, 0.18);
}
.testimonial-admin-row .ta-meta {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.testimonial-admin-row .ta-meta strong { color: var(--brown); }
.testimonial-admin-row .ts-flag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ts-flag.wait {
  background: #fff3da;
  color: #b96f10;
}
.ts-flag.ok {
  background: #e2f3d3;
  color: #4e7d18;
}
.testimonial-admin-row .ta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.testimonial-admin-row .ta-actions .btn { padding: 9px 16px; font-size: 0.85rem; }
.testimonial-admin-row.is-pending { border-left: 4px solid var(--honey); }
.testimonial-admin-row.is-approved { border-left: 4px solid #8cbf52; }
.testimonial-admin-row .ta-head button.del {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  color: #b03434;
}
.testimonial-admin-row .ta-head button.del:hover { background: #fde8e8; }
@media (max-width: 640px) {
  .testimonial-admin-row .ta-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Hero — prochain marché + bouton calendrier + countdown
   ============================================================ */
.hero-market {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-wrap: wrap;
  max-width: 580px;
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-market:hover { background: rgba(255, 255, 255, 0.11); }
.hero-market-info { display: flex; flex-direction: column; flex: 1 1 220px; min-width: 220px; }
.hero-market-info small {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-market-info strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.18rem;
  margin-top: 2px;
  color: #fff;
}
.hero-market-when {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}
.hero-market-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  margin-left: auto;
}
.ics-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--honey);
  color: var(--brown);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.ics-link:hover { background: var(--honey-light); transform: translateY(-1px); }
.hero-market-countdown {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--honey-light);
  letter-spacing: 0.02em;
}
@media (max-width: 560px) {
  .hero-market-cta { margin-left: 0; width: 100%; }
  .hero-market { padding: 14px 16px; }
}

/* ============================================================
   Marchés — bouton calendrier par marché + countdown
   ============================================================ */
.market-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.market-ics {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--cream);
  border: 1.5px solid var(--honey);
  color: var(--brown);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  font-family: var(--font-body);
}
.market-ics:hover { background: var(--honey); color: var(--brown); transform: translateY(-1px); }
.market-ics-disabled {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.82rem;
  font-style: italic;
}
.market-countdown {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--amber);
}
.market-meta em {
  font-style: normal;
  color: var(--amber);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ============================================================
   Témoignages
   ============================================================ */
.section-testimonials {
  background:
    radial-gradient(ellipse at top, rgba(255, 200, 110, 0.12), transparent 70%),
    linear-gradient(180deg, #0e0905 0%, #1a120a 50%, #0e0905 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.section-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 180, 80, 0.18), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(255, 200, 110, 0.12), transparent 40%);
  pointer-events: none;
}
.section-testimonials .container { position: relative; z-index: 1; }
.section-head-light.section-head h2 { color: var(--cream); }
.section-head-light.section-head h2::after { background: linear-gradient(90deg, var(--honey-light), var(--honey)); }
.section-head-light.section-head p { color: rgba(253, 246, 234, 0.95); font-weight: 400; }
.section-head-light .kicker { color: var(--honey-light); }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  --mx: 50%;
  --my: 50%;
  background: rgba(255, 251, 244, 0.04);
  border: 1px solid rgba(255, 211, 142, 0.18);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.7s;
  color: var(--cream);
}
.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(245, 172, 38, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.testimonial:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 172, 38, 0.55);
  box-shadow: 0 28px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(245, 172, 38, 0.18);
}
.testimonial:hover::before { opacity: 1; }
.testimonial::after {
  content: '\201C';
  position: absolute;
  top: -16px;
  left: 22px;
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--honey);
  opacity: 0.45;
  line-height: 1;
  pointer-events: none;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  font-size: 1rem;
  letter-spacing: 0.06em;
}
.testimonial-stars .star {
  color: rgba(255, 255, 255, 0.18);
}
.testimonial-stars .star.filled {
  color: #ffc773;
  text-shadow: 0 0 14px rgba(255, 199, 115, 0.45);
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: var(--cream);
  text-wrap: balance;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(253, 246, 234, 0.65);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.testimonial cite span {
  font-weight: 600;
  color: var(--honey-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}
.testimonials-empty,
.markets-empty {
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
  padding: 30px;
}
@media (max-width: 880px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* ============================================================
   Formulaire public "Laissez votre témoignage"
   ============================================================ */
.leave-review {
  margin-top: 56px;
  padding: 40px 32px;
  background: rgba(255, 251, 244, 0.06);
  border: 1px solid rgba(255, 211, 142, 0.22);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--cream);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.leave-review h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 6px;
}
.leave-review .leave-sub {
  margin: 0 0 22px;
  font-size: 0.95rem;
  color: rgba(253, 246, 234, 0.7);
}
.review-form { display: flex; flex-direction: column; gap: 16px; }
.review-form .rf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.review-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(253, 246, 234, 0.85);
}
.review-form label > span {
  font-weight: 700;
  letter-spacing: 0.04em;
}
.review-form label > span em {
  font-style: normal;
  font-weight: 500;
  color: rgba(253, 246, 234, 0.5);
  font-size: 0.8em;
}
.review-form input[type=text],
.review-form textarea {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 211, 142, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.review-form input[type=text]::placeholder,
.review-form textarea::placeholder { color: rgba(253, 246, 234, 0.4); }
.review-form input[type=text]:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--honey);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(245, 172, 38, 0.18);
}
.review-form textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.review-form .rf-stars { gap: 10px; }
.stars-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}
.stars-input input { display: none; }
.stars-input label {
  cursor: pointer;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.2s, transform 0.2s;
  line-height: 1;
}
.stars-input label:hover,
.stars-input label:hover ~ label,
.stars-input input:checked ~ label {
  color: #ffc773;
  text-shadow: 0 0 14px rgba(255, 199, 115, 0.45);
}
.stars-input label:hover { transform: scale(1.18); }
.stars-hint { margin: 6px 0 0; font-size: 0.85rem; color: rgba(253, 246, 234, 0.75); }
.rf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(253, 246, 234, 0.9);
  cursor: pointer;
}
.rf-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--honey);
  flex-shrink: 0;
  cursor: pointer;
}
.rf-consent a { color: var(--honey-light); text-decoration: underline; text-underline-offset: 2px; }
.rf-consent a:hover { color: var(--honey); }
.review-form .rf-submit { margin-top: 6px; align-self: flex-start; }
.rf-status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.3em;
  font-weight: 700;
  color: rgba(253, 246, 234, 0.85);
}
.rf-status.ok    { color: #b3e07b; }
.rf-status.err   { color: #ff9d7a; }

@media (max-width: 640px) {
  .review-form .rf-grid { grid-template-columns: 1fr; }
  .leave-review { padding: 28px 20px; }
}

/* ============================================================
   Aspect général "feel Apple" — fines retouches globales
   ============================================================ */
.section-head h2 {
  font-feature-settings: "ss01", "kern";
  letter-spacing: -0.012em;
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.btn {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.product, .market, .testimonial {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }

  .gallery-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .photo-strip {
    height: 42vh;
    min-height: 280px;
  }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-22px) rotate(5deg); }
}

.hero-kicker {
  display: inline-block;
  background: rgba(233, 161, 59, 0.22);
  border: 1px solid rgba(255, 217, 142, 0.55);
  color: var(--honey-light);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* Cascade d'entrée du hero */
.hero h1 {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-content > p {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.hero-ctas {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.hero-market {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.8vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: 22px;
  text-wrap: balance;
  letter-spacing: -0.025em;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(34px);
  animation: heroWord 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--honey-light), var(--honey) 60%, var(--honey-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes heroWord {
  to { opacity: 1; transform: translateY(0); }
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 34px;
  max-width: 520px;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.97rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.18s, box-shadow 0.18s, background 0.2s, color 0.2s;
}

.btn-honey {
  position: relative;
  background: linear-gradient(135deg, #f6b95e, var(--honey) 55%, var(--amber));
  color: var(--brown);
  box-shadow: 0 10px 28px rgba(233, 161, 59, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: hidden;
  isolation: isolate;
}
.btn-honey::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  background-size: 220% 100%;
  background-position: 130% 0;
  transition: background-position 0s;
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
}
.btn-honey:hover::after {
  opacity: 1;
  animation: btnShimmer 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes btnShimmer {
  from { background-position: 130% 0; }
  to   { background-position: -30% 0; }
}
.btn-honey:hover {
  background: linear-gradient(135deg, #ffd98e, #f0b04f 55%, #e39a2e);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(233, 161, 59, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-market {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 14px 22px;
  backdrop-filter: blur(6px);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-market .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7ed957;
  box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.7);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(126, 217, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 217, 87, 0); }
}

.hero-market small {
  display: block;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   Marquee défilant
   ============================================================ */

.marquee {
  background: linear-gradient(90deg, var(--honey), var(--amber), var(--honey));
  background-size: 200% 100%;
  animation: marqueeBg 8s linear infinite;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 217, 142, 0.4);
  border-bottom: 1px solid rgba(255, 217, 142, 0.4);
}

@keyframes marqueeBg {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.marquee-track {
  display: flex;
  gap: 44px;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-track span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brown);
  letter-spacing: 0.04em;
}

.marquee-track span:nth-child(even) {
  font-size: 0.9rem;
  color: rgba(51, 35, 15, 0.6);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Barre d'engagements
   ============================================================ */

.engage {
  background: var(--white);
  border-bottom: 1px solid rgba(51, 35, 15, 0.06);
}

.engage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.engage-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 18px;
  border-right: 1px solid rgba(51, 35, 15, 0.06);
  transition: background 0.25s;
}

.engage-item:hover {
  background: rgba(233, 161, 59, 0.06);
}

.engage-item .engage-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.engage-item:hover .engage-icon {
  transform: scale(1.25) rotate(-8deg);
}

.engage-item:last-child {
  border-right: none;
}

.engage-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
}

.engage-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--brown);
  line-height: 1.3;
}

.engage-item span {
  font-size: 0.82rem;
  color: var(--brown-soft);
}

/* ============================================================
   Sections
   ============================================================ */

.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--cream-2);
}

/* Motif nid d'abeille subtil sur les sections alternées */
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath d='M28 0l28 16v32L28 48 0 48V16z' fill='%23b96f10' fill-opacity='0.045'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  pointer-events: none;
}

.section-alt .container {
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--honey-dark);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head .kicker::before,
.section-head .kicker::after {
  content: "";
  width: 34px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--honey));
}

.section-head .kicker::after {
  background: linear-gradient(90deg, var(--honey), transparent);
}

.section-head h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  color: var(--brown);
  line-height: 1.18;
  text-wrap: balance;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--honey), var(--honey-light));
  margin: 18px auto 0;
}

.section-head p {
  margin-top: 16px;
  color: var(--brown-soft);
  font-size: 1.02rem;
}

/* ============================================================
   Histoire
   ============================================================ */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-photo {
  position: relative;
}

.story-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.story-photo::after {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid var(--honey);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.7;
}

.story-badge {
  position: absolute;
  bottom: 26px;
  left: 26px;
  background: var(--brown);
  color: var(--honey-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* Tampon circulaire rotatif */
.stamp {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 132px;
  height: 132px;
  animation: stampSpin 16s linear infinite;
  z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(51, 35, 15, 0.35));
}

.stamp svg {
  width: 100%;
  height: 100%;
}

.stamp text {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2.5px;
  fill: var(--honey-light);
  font-family: var(--font-body);
  text-transform: uppercase;
}

.stamp .stamp-center {
  font-size: 30px;
  fill: var(--honey-light);
}

@keyframes stampSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.story-text h3 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--brown);
  margin-bottom: 20px;
  line-height: 1.25;
}

.story-text p {
  color: var(--brown-soft);
  margin-bottom: 16px;
  font-size: 1.04rem;
}

.stats {
  display: flex;
  gap: 48px;
  margin-top: 36px;
}

.stat {
  text-align: center;
  position: relative;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--honey-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brown-soft);
}

/* ============================================================
   Fabrication
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
  border: 1px solid rgba(51, 35, 15, 0.05);
  transform-style: preserve-3d;
  will-change: transform;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.step-photo {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.step:hover .step-photo img {
  transform: scale(1.1);
}

.step-photo .step-num {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brown);
  color: var(--honey-light);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.step-body {
  padding: 24px;
}

.step-body h3 {
  font-family: var(--font-head);
  font-size: 1.22rem;
  margin-bottom: 8px;
  color: var(--brown);
}

.step-body p {
  font-size: 0.92rem;
  color: var(--brown-soft);
}

/* ============================================================
   Miels
   ============================================================ */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.product {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(51, 35, 15, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  border-radius: 0 0 40% 40%;
  background: linear-gradient(160deg, rgba(233, 161, 59, 0.16), rgba(233, 161, 59, 0.03));
  pointer-events: none;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

/* Effet de brillance sur les cartes */
.product::after,
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: none;
}

.product:hover::after,
.step:hover::after {
  animation: shine 0.9s ease;
}

@keyframes shine {
  from { left: -80%; }
  to { left: 130%; }
}

.product-emoji {
  position: relative;
  margin-bottom: 16px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product:hover .product-emoji {
  transform: scale(1.15) rotate(-6deg);
}

.jar {
  width: 62px;
  height: 62px;
  filter: drop-shadow(0 6px 14px rgba(185, 111, 16, 0.25));
}

.product h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--brown);
  margin-bottom: 8px;
}

.product .desc {
  font-size: 0.92rem;
  color: var(--brown-soft);
  flex-grow: 1;
  margin-bottom: 20px;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed rgba(51, 35, 15, 0.18);
  padding-top: 18px;
}

.product-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--honey-dark);
}

.product-price small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown-soft);
}

.product-unit {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brown-soft);
}

.stock-badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stock-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.stock-in {
  background: #e9f2dc;
  color: var(--green);
}

.stock-in::before {
  background: var(--green);
}

.stock-low {
  background: #fdf1d7;
  color: var(--honey-dark);
}

.stock-low::before {
  background: var(--honey-dark);
}

.stock-out {
  background: #fbe6e2;
  color: var(--red);
}

.stock-out::before {
  background: var(--red);
}

.stock-update {
  text-align: center;
  margin-top: 44px;
  font-size: 0.92rem;
  color: var(--brown-soft);
}

.stock-update strong {
  color: var(--honey-dark);
}

/* ============================================================
   Marchés
   ============================================================ */

.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.market {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(51, 35, 15, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.market:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.market-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.market h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--brown);
  line-height: 1.3;
}

.presence {
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.presence-yes {
  background: #e9f2dc;
  color: var(--green);
}

.presence-no {
  background: #fbe6e2;
  color: var(--red);
}

.market-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--brown-soft);
}

.market-meta li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.market-meta .icon {
  width: 22px;
  flex-shrink: 0;
  text-align: center;
}

/* ============================================================
   Pages légales (mentions légales, confidentialité)
   ============================================================ */

.legal-page {
  padding: 48px 0 72px;
  min-height: 70vh;
  background: var(--cream);
}
.legal-page h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--brown);
  margin-bottom: 6px;
}
.legal-page h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--brown);
  margin-top: 30px;
}
.legal-page p,
.legal-page li {
  color: var(--brown-soft);
  line-height: 1.6;
}
.legal-page ul { padding-left: 22px; }
.legal-page a { color: var(--honey-dark); font-weight: 700; }
.legal-page .legal-date {
  color: var(--brown-soft);
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.legal-page .legal-back { margin-top: 44px; }
.legal-page .legal-placeholder {
  color: var(--honey-dark);
  font-style: italic;
}

/* ============================================================
   Séparateurs en vague
   ============================================================ */

.section-alt::after,
.cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 56px;
  pointer-events: none;
}

.section-alt::after {
  bottom: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0,32 C240,64 480,0 720,16 C960,32 1200,64 1440,24 L1440,56 L0,56 Z' fill='%23fdf6ea'/%3E%3C/svg%3E") no-repeat bottom center / 100% 100%;
}

.cta::before {
  top: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0,32 C240,64 480,0 720,16 C960,32 1200,64 1440,24 L1440,0 L0,0 Z' fill='%23fdf6ea'/%3E%3C/svg%3E") no-repeat top center / 100% 100%;
}

/* ============================================================
   Vente directe & carte (section marchés)
   ============================================================ */

.shop-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 56px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(51, 35, 15, 0.05);
}

.shop-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-info .kicker {
  display: inline-block;
  color: var(--honey-dark);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.shop-info h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--brown);
  line-height: 1.25;
  margin-bottom: 14px;
}

.shop-info > p {
  color: var(--brown-soft);
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.shop-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown);
}

.shop-list .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: var(--cream);
  border-radius: 10px;
}

.map-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(51, 35, 15, 0.08);
  background:
    radial-gradient(circle at 30% 30%, rgba(233, 161, 59, 0.18), transparent 45%),
    linear-gradient(160deg, #f2e8d2, #e9dcbe);
}

.map-frame::before {
  content: "📍";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.6rem;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.map-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

.map-open {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  right: 14px;
  background: var(--brown);
  color: var(--honey-light);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s, background 0.2s;
}

.map-open:hover {
  transform: translateY(-2px);
  background: #4a3317;
}

/* ============================================================
   Contact
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--brown);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--brown-soft);
  margin-bottom: 26px;
}

.contact-lines {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-lines li {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(51, 35, 15, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-lines li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.contact-lines .icon {
  font-size: 1.4rem;
}

.contact-lines strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--honey-dark);
  margin-bottom: 2px;
}

.contact-lines span {
  font-size: 1rem;
  color: var(--brown);
  font-weight: 600;
}

.map-card {
  background: linear-gradient(160deg, var(--brown), #4a3317);
  border-radius: var(--radius);
  padding: 34px;
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}

.map-card h4 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.map-card p {
  font-size: 0.92rem;
  color: rgba(253, 246, 234, 0.85);
  margin-bottom: 20px;
}

.map-mini {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 217, 142, 0.3);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 30% 30%, rgba(233, 161, 59, 0.22), transparent 45%),
    linear-gradient(160deg, #f2e8d2, #e9dcbe);
}

.map-mini::before {
  content: "📍";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.2rem;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.map-mini iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

.map-open-mini {
  bottom: 10px;
  right: 10px;
  font-size: 0.74rem;
  padding: 7px 13px;
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  background: linear-gradient(135deg, var(--honey), var(--amber));
  padding: 84px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-drop {
  position: absolute;
  font-size: 8rem;
  opacity: 0.1;
  pointer-events: none;
  animation: ctaFloat 6s ease-in-out infinite;
}

.cta-drop-1 {
  top: -30px;
  right: 8%;
  transform: rotate(15deg);
}

.cta-drop-2 {
  bottom: -25px;
  left: 6%;
  font-size: 7rem;
  animation-delay: 2s;
}

@keyframes ctaFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-16px) rotate(var(--rot, 0deg)); }
}

.cta-drop-1 { --rot: 15deg; }
.cta-drop-2 { --rot: -10deg; }

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--brown);
  margin-bottom: 12px;
}

.cta p {
  color: rgba(51, 35, 15, 0.8);
  font-weight: 600;
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.cta .btn-honey {
  background: var(--brown);
  color: var(--honey-light);
  box-shadow: 0 12px 30px rgba(51, 35, 15, 0.3);
}

.cta .btn-honey:hover {
  background: #4a3317;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: linear-gradient(180deg, #3a2813, var(--brown));
  color: rgba(253, 246, 234, 0.72);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer h4 {
  font-family: var(--font-head);
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--honey-light);
  margin-bottom: 12px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer ul a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--honey-light);
}

.footer-bottom {
  border-top: 1px solid rgba(253, 246, 234, 0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-bottom .footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom .footer-legal-links a {
  color: rgba(253, 246, 234, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom .footer-legal-links a:hover {
  color: var(--honey-light);
}
.footer-bottom .footer-legal-links .sep { color: rgba(253, 246, 234, 0.4); }

/* ============================================================
   Animations d'apparition au scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.reveal-left {
  transform: translateX(-48px);
}

.reveal-right {
  transform: translateX(48px);
}

.reveal.in {
  opacity: 1;
  transform: translate(0, 0);
}

/* Staggering automatique sur les grilles */
.steps .reveal:nth-child(1), .products .reveal:nth-child(1), .markets-grid .reveal:nth-child(1) { --d: 0s; }
.steps .reveal:nth-child(2), .products .reveal:nth-child(2), .markets-grid .reveal:nth-child(2) { --d: 0.12s; }
.steps .reveal:nth-child(3), .products .reveal:nth-child(3), .markets-grid .reveal:nth-child(3) { --d: 0.24s; }
.steps .reveal:nth-child(4), .products .reveal:nth-child(4), .markets-grid .reveal:nth-child(4) { --d: 0.36s; }

/* ============================================================
   Page admin
   ============================================================ */

.admin-body {
  background: var(--cream-2);
}

.admin-topbar {
  background: var(--brown);
  color: var(--cream);
}

.admin-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.admin-topbar .brand {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--honey-light);
}

.admin-topbar button {
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
}

.admin-main {
  padding: 44px 0 80px;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  margin-bottom: 28px;
  border: 1px solid rgba(51, 35, 15, 0.05);
}

.admin-card h2 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.admin-card .hint {
  font-size: 0.87rem;
  color: var(--brown-soft);
  margin-bottom: 24px;
}

/* Formulaires */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row.full {
  grid-column: 1 / -1;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brown-soft);
}

.form-row input,
.form-row select {
  padding: 12px 15px;
  border: 1.5px solid var(--cream-2);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--brown);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(233, 161, 59, 0.15);
}

.btn-save {
  background: linear-gradient(135deg, #f6b95e, var(--honey));
  color: var(--brown);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(233, 161, 59, 0.4);
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(233, 161, 59, 0.5);
}

.btn-danger {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}

.btn-danger:hover {
  background: var(--red);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--brown-soft);
  border: 1.5px solid var(--cream-2);
}

.btn-ghost:hover {
  border-color: var(--honey);
  color: var(--honey-dark);
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Liste des marchés (admin) */
.market-admin-item {
  border: 1.5px solid var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
  background: var(--white);
}

.market-admin-item .form-row input {
  width: 100%;
}

.market-admin-item .row-del {
  display: flex;
  justify-content: flex-end;
}

/* Produits admin */
.product-admin-item {
  border: 1.5px solid var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  align-items: end;
  background: var(--white);
}

.product-admin-item .form-row input {
  width: 100%;
}

/* Contrôle de stock (+/-) */
.stock-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-control button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1.5px solid var(--cream-2);
  background: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--brown);
  transition: background 0.15s, border-color 0.15s;
}

.stock-control button:hover {
  background: var(--cream);
  border-color: var(--honey);
}

.stock-control .qty {
  min-width: 46px;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brown);
}

/* Écran de connexion */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 20px;
}

.login-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 48px 42px;
  width: min(430px, 100%);
  text-align: center;
  border-top: 5px solid var(--honey);
}

.login-card .lock {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.login-card h1 {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.login-card p {
  color: var(--brown-soft);
  font-size: 0.93rem;
  margin-bottom: 28px;
}

.login-card input {
  width: 100%;
  padding: 14px 17px;
  border: 1.5px solid var(--cream-2);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 16px;
  outline: none;
  font-family: var(--font-body);
}

.login-card input:focus {
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(233, 161, 59, 0.15);
}

.login-error {
  color: var(--red);
  font-size: 0.85rem;
  margin-bottom: 12px;
  min-height: 20px;
  font-weight: 700;
}

.login-card .btn {
  width: 100%;
}

.login-back {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--brown-soft);
  text-decoration: underline;
}

/* ============================================================
   Bouton retour en haut
   ============================================================ */

.to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--honey), var(--amber));
  color: var(--brown);
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(233, 161, 59, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 90;
}

.to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-4px);
}

/* ============================================================
   Barre de défilement personnalisée
   ============================================================ */

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--honey-light), var(--honey), var(--amber));
  border-radius: 8px;
  border: 2px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--honey), var(--amber));
}

::selection {
  background: rgba(233, 161, 59, 0.35);
  color: var(--brown);
}

/* Accessibilité : réduit les animations si demandé */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Toast de confirmation */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--brown);
  color: var(--cream);
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 100;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .engage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .engage-item {
    border-right: none;
  }

  .engage-item:nth-child(odd) {
    border-right: 1px solid rgba(51, 35, 15, 0.06);
  }

  .engage-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(51, 35, 15, 0.06);
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px 0;
    gap: 20px;
    border-bottom: 1px solid rgba(51, 35, 15, 0.1);
    transform: translateY(-130%);
    transition: transform 0.28s;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-burger {
    display: block;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-photo img {
    height: 400px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    min-height: calc(100svh - 74px);
    min-height: calc(100vh - 74px);
  }

  .hero-content {
    padding: 72px 0 160px;
  }

  .hero-deco-1 { right: 8%; }
  .hero-deco-2 { right: 4%; }
  .hero-deco-3 { display: none; }

  .hero-market {
    flex-wrap: wrap;
  }

  .hero-stats strong {
    font-size: 1.4rem;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 26px;
  }

  .map-frame {
    min-height: 280px;
  }

  .map-frame iframe {
    min-height: 280px;
  }
}

@media (max-width: 520px) {
  .engage-grid {
    grid-template-columns: 1fr;
  }

  .engage-item {
    border-bottom: 1px solid rgba(51, 35, 15, 0.06);
  }

  .stats {
    gap: 32px;
    justify-content: space-around;
  }
}

/* ============================================================
   Consentement cartes Google Maps (RGPD)
   ============================================================ */

.consent-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  width: min(640px, 94vw);
  z-index: 150;
  background: var(--white);
  border: 1.5px solid rgba(233, 161, 59, 0.45);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s;
}

.consent-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.consent-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.consent-text {
  flex: 1 1 300px;
}

.consent-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--brown);
  margin-bottom: 4px;
}

.consent-text p {
  font-size: 0.86rem;
  color: var(--brown-soft);
  line-height: 1.55;
}

.consent-text a {
  color: var(--honey-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.consent-actions .btn {
  padding: 11px 20px;
  font-size: 0.88rem;
}

.maps-blocked-note {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--brown-soft);
  background:
    radial-gradient(circle at 30% 30%, rgba(233, 161, 59, 0.18), transparent 45%),
    linear-gradient(160deg, #f2e8d2, #e9dcbe);
  padding: 20px;
}

.maps-blocked-note a {
  color: var(--honey-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* IMPORTANT : la règle ci-dessus impose display:flex, qui écrase la règle du
   navigateur [hidden]{display:none}. Sans ceci, la note restait affichée
   (inset:0 + z-index:2) et masquait la carte pourtant chargée.
   main.js masque la note via l'attribut `hidden`. */
.maps-blocked-note[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .consent-inner { flex-direction: column; align-items: stretch; }
  .consent-actions .btn { flex: 1; }
}

/* Statut publication admin + produits grand-père */
.publish-status { padding: 14px 18px; border-radius: 12px; font-size: 0.92rem; margin-bottom: 20px; border: 1.5px solid transparent; }
.publish-status.clean { background: #e9f2dc; color: #3a5a1a; border-color: #c5e0a8; }
.publish-status.dirty { background: #fdf1d7; color: #7a4a00; border-color: #f0c36a; }
.publish-status.saving { background: #e8eef6; color: #2a4a7a; border-color: #a8c0e0; }
.form-error { color: #b42318; font-size: 0.88rem; font-weight: 700; }
.form-ok { color: #2a6b2a; font-size: 0.88rem; font-weight: 700; }
.publish-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 28px; padding: 18px; background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--cream-2); box-shadow: var(--shadow-sm); }
.btn-publish { font-size: 1.05rem; padding: 16px 32px; min-height: 52px; }
.btn-publish.needs-save { animation: pulsePublish 1.6s ease-in-out infinite; }
@keyframes pulsePublish { 0%,100% { box-shadow: 0 8px 22px rgba(233,161,59,0.4); } 50% { box-shadow: 0 12px 32px rgba(233,161,59,0.7); } }
.papi-product-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.papi-product-icon { font-size: 1.6rem; }
.papi-name { flex: 1; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; border: none; background: transparent; color: var(--brown); }
.papi-stock-badge { font-size: 0.82rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.papi-stock-badge.stock-in { background: #e9f2dc; color: var(--green); }
.papi-stock-badge.stock-out { background: #fbe6e2; color: var(--red); }
.papi-stock-toggle { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.papi-stock-toggle .btn-stock { min-width: 130px; justify-content: center; }
.product-admin-item.is-out { border-color: #e8c4c0; background: #fdf2f0; }
.product-admin-item.is-available { border-color: #c5d8a8; }
