/* ═══════════════════════════════════════════════════════════════
   AU PAGNON — Design System
   DA : Violet · Beige · Brun
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  /* VIOLET — aubergine riche, couleur de l'auvent réel */
  --violet:        #6C22A0;
  --violet-dark:   #471470;
  --violet-deep:   #28084E;
  --violet-mid:    #9248C8;
  --violet-light:  #EBD9F9;
  --violet-xlight: #F8F2FF;

  /* OR/AMBRE — chaleur du four, fenêtres éclairées, cassonade */
  --or:            #C8952A;
  --or-dark:       #8C6418;
  --or-light:      #F0DCA0;
  --or-xlight:     #FDF8EC;

  /* BEIGE — intact, socle chaud */
  --beige:         #F5EDD4;
  --beige-dark:    #E6D5B0;
  --beige-deep:    #D4BA88;

  /* BRUN — terre du Borinage */
  --brun:          #5C3420;
  --brun-dark:     #2E1A0E;
  --brun-mid:      #8B5A3C;
  --brun-light:    #C49A72;

  --creme:         #FEFAF2;
  --white:         #FFFFFF;
  --text:          #1A0A08;
  --text-muted:    #7A5C42;
  --text-light:    #B8A090;

  --shadow-sm:  0 1px 3px rgba(44,8,80,.07);
  --shadow-md:  0 4px 20px rgba(44,8,80,.11);
  --shadow-lg:  0 12px 48px rgba(44,8,80,.15);
  --shadow-xl:  0 24px 80px rgba(44,8,80,.20);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-full: 9999px;

  --nav-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', Arial, sans-serif;
}

/* ── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--beige);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ────────────────────────────────────────────────── */
.font-serif   { font-family: 'Playfair Display', Georgia, serif; }
.font-elegant { font-family: 'Cormorant Garamond', Georgia, serif; }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }

.display-1 { font-size: clamp(3.5rem, 8vw, 8rem); font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.display-2 { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 700; line-height: 1.1; }
.heading-1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
.heading-2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; }
.heading-3 { font-size: 1.4rem; font-weight: 700; }
.body-lg   { font-size: 1.125rem; line-height: 1.75; }
.body-sm   { font-size: 0.875rem; }
.caption   { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── UTILITY LINKS ─────────────────────────────────────────────── */
.link-or { color: var(--or); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(200,149,42,.3); padding-bottom: 1px; transition: border-color .2s, color .2s; }
.link-or:hover { color: var(--or-dark); border-color: var(--or); }

/* ── LAYOUT ────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ── NAVIGATION ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), var(--transition);
}
.nav.nav-hidden {
  transform: translateY(-100%);
}
/* Nav beige clair */
.nav-inner {
  background: rgba(245,237,212,.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46,26,14,.12);
  box-shadow: 0 2px 16px rgba(46,26,14,.10);
  height: 100%;
  transition: var(--transition);
}
/* Sur le hero (transparent) : fond totalement transparent */
.nav.transparent .nav-inner {
  background: transparent;
  box-shadow: none;
  border-bottom-color: transparent;
}
.nav-content {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
/* Logo beige — toujours visible sur fond sombre */
.nav-logo img { height: 114px; filter: none; }
.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 0.9rem; font-weight: 500; color: var(--brun);
  transition: var(--transition);
}
.nav-links a:hover  { background: rgba(46,26,14,.08); color: var(--brun-dark); }
.nav-links a.active { background: rgba(46,26,14,.10); color: var(--brun-dark); font-weight: 600; }
.nav-cta {
  background: var(--violet); color: var(--white) !important;
  padding: 10px 22px !important; border-radius: var(--radius-full) !important;
  font-weight: 600 !important; box-shadow: 0 4px 14px rgba(108,34,160,.4);
  transition: var(--transition) !important;
}
.nav-cta:hover { background: var(--violet-dark) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108,34,160,.55) !important; }

/* ── NAV FAVORIS ICON ───────────────────────────────────────── */
.nav-icon-link {
  position: relative;
  font-size: 1.25rem !important;
  padding: 4px 8px !important;
  color: var(--brun) !important;
  transition: var(--transition) !important;
  line-height: 1;
}
.nav-icon-link:hover { color: var(--violet) !important; transform: scale(1.15); }
.nav-icon-link.active { color: var(--violet) !important; }
.nav-fav-badge {
  position: absolute; top: -4px; right: -6px;
  background: var(--or); color: var(--brun-dark);
  border-radius: var(--radius-full); font-size: .62rem; font-weight: 800;
  min-width: 16px; height: 16px; line-height: 16px; text-align: center;
  padding: 0 4px;
}

/* ── NAV COMPTE BUTTON ──────────────────────────────────────── */
.nav-compte-btn {
  display: inline-flex !important; align-items: center; gap: 6px;
  background: rgba(46,26,14,.08) !important;
  color: var(--brun) !important;
  padding: 7px 16px !important; border-radius: var(--radius-full) !important;
  font-weight: 600 !important; font-size: 0.83rem !important;
  border: 1px solid rgba(46,26,14,.18) !important;
  transition: var(--transition) !important;
  white-space: nowrap;
  text-decoration: none !important;
}
.nav-compte-btn:hover {
  background: rgba(46,26,14,.14) !important;
  border-color: rgba(46,26,14,.28) !important;
  transform: translateY(-1px);
}
.nav-compte-btn.active {
  background: var(--violet-xlight) !important;
  color: var(--violet) !important;
  border-color: var(--violet-light) !important;
}

.nav-burger {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
  background: none; border: none;
}
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--brun); border-radius: 2px; transition: var(--transition); }

/* Mobile menu */
.nav-mobile {
  display: none; position: fixed; inset: 0; background: var(--brun-dark);
  z-index: 999; padding: var(--nav-h) 24px 40px; overflow-y: auto;
  flex-direction: column; justify-content: center; align-items: center; gap: 8px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700;
  color: var(--beige); padding: 16px; display: block; text-align: center;
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--brun-light); }
.nav-mobile .nav-cta-mobile {
  background: var(--violet); color: var(--white) !important;
  border-radius: var(--radius-full); padding: 16px 40px !important;
  font-size: 1.2rem !important; margin-top: 16px;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-size: 0.95rem; font-weight: 600; border: none;
  transition: var(--transition); cursor: pointer; white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--violet); color: var(--white);
  box-shadow: 0 4px 16px rgba(122,47,176,.3);
}
.btn-primary:hover { background: var(--violet-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(122,47,176,.4); }
.btn-secondary {
  background: transparent; color: var(--violet);
  border: 2px solid var(--violet);
}
.btn-secondary:hover { background: var(--violet-light); }
.btn-beige {
  background: var(--beige); color: var(--brun);
  border: 2px solid var(--beige-dark);
}
.btn-beige:hover { background: var(--beige-dark); }
.btn-white {
  background: var(--white); color: var(--violet);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  position: relative; overflow: hidden;
  background: var(--brun-dark);
  padding: calc(var(--nav-h) + 60px) 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    /* halo chaud — fenêtres de la boulangerie */
    radial-gradient(ellipse 65% 38% at 50% 72%, rgba(200,130,40,.13) 0%, transparent 58%),
    /* overlay sombre pour la lisibilité du texte */
    linear-gradient(180deg,
      rgba(18,7,3,.86) 0%,
      rgba(14,5,1,.68) 38%,
      rgba(12,4,1,.72) 62%,
      rgba(20,8,4,.90) 100%
    ),
    /* photo de la vraie façade */
    url('/static/images/facade.jpg') center 38% / cover no-repeat;
}
/* Grain — plus visible sur fond sombre */
.hero-grain {
  position: absolute; inset: -200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(1) infinite;
  pointer-events: none; opacity: 0.28;
}
@keyframes grain {
  0%, 100% { transform: translate(0,0); }
  10%  { transform: translate(-2%,-3%); }
  20%  { transform: translate(3%,1%); }
  30%  { transform: translate(-1%,4%); }
  40%  { transform: translate(4%,-2%); }
  50%  { transform: translate(-3%,2%); }
  60%  { transform: translate(1%,-4%); }
  70%  { transform: translate(-4%,3%); }
  80%  { transform: translate(2%,-1%); }
  90%  { transform: translate(-2%,4%); }
}
.hero-content { position: relative; z-index: 2; max-width: 960px; }
/* Badge — fond sombre sur hero ET page-hero */
.hero-badge, .page-hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,237,212,.09); border: 1px solid rgba(245,237,212,.22);
  padding: 8px 20px; border-radius: var(--radius-full);
  color: var(--beige-dark); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 36px;
}
/* .hero-lamp supprimé — le pagnon est une tarte, pas une lampe */
.hero-title {
  color: var(--beige); font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 900; line-height: 1; margin-bottom: 0;
  letter-spacing: -0.02em;
}
.hero-title span { display: block; }
/* "AU" — petite lettrine en or, prélude typographique */
.hero-title .hero-anim-au {
  font-size: clamp(1rem, 2.5vw, 2rem);
  letter-spacing: 0.42em;
  font-weight: 400;
  color: var(--brun-light);
  margin-bottom: 2px;
  line-height: 1.4;
  font-style: normal;
}
/* "PAGNON" — massif et lumineux */
.hero-title .hero-anim-pagnon {
  color: var(--beige);
  line-height: 0.88;
}
.hero-sub {
  font-family: 'Cormorant Garamond', serif; color: rgba(245,237,212,.65);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-style: italic;
  margin: 28px 0 44px; line-height: 1.55;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* Bouton outline sur fond sombre */
.hero .btn-secondary {
  border-color: rgba(245,237,212,.45);
  color: var(--beige);
  background: transparent;
}
.hero .btn-secondary:hover {
  background: rgba(245,237,212,.1);
  border-color: rgba(245,237,212,.75);
  color: var(--beige);
}
/* Albert — mascotte flottante dans le hero */
.hero-albert {
  position: absolute;
  right: 7%;
  bottom: 0;
  height: 440px;
  width: auto;
  filter: drop-shadow(0 8px 48px rgba(0,0,0,.45)) drop-shadow(0 0 24px rgba(240,185,50,.25));
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
  transform-origin: bottom center;
}
@media (max-width: 1100px) { .hero-albert { height: 340px; right: 3%; } }
@media (max-width: 900px)  { .hero-albert { display: none; } }

/* ── TEAM CARDS ─────────────────────────────────────────────── */
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(108,34,160,.14);
}
.team-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--beige);
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform .5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
/* Personnages illustrés — ratio portrait, centré */
.team-photo--character {
  aspect-ratio: 3/4;
  background: var(--beige);
}
.team-photo--character img {
  object-position: center center;
}
.team-info {
  padding: 20px 22px 24px;
}
.team-name {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 700;
  color: var(--brun-dark); margin-bottom: 4px;
}
.team-role {
  font-size: .75rem; font-weight: 700;
  color: var(--violet); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 10px;
}
.team-desc {
  font-size: .84rem; color: var(--text-muted);
  line-height: 1.6; margin: 0;
}

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(245,237,212,.35); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: ''; display: block; width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(245,237,212,.3), transparent);
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── SECTIONS ───────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark   { background: var(--violet-deep); color: var(--beige); }
.section-brun   { background: var(--brun-dark);   color: var(--beige); }
.section-violet { background: var(--violet);       color: var(--white); }
.section-beige  { background: var(--beige); }
.section-creme  { background: var(--creme); }
.section-or     { background: var(--or-xlight); }   /* dorée/ambrée */

/* Texte sur sections sombres */
.section-brun .blockquote-big   { color: var(--beige); }
.section-brun .blockquote-big::before { color: var(--or) !important; opacity: 0.5; }
.section-brun .text-muted       { color: rgba(245,237,212,.5); }
.section-brun .caption          { color: rgba(245,237,212,.45); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--violet); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--violet);
}
.section-dark .section-label, .section-brun .section-label, .section-violet .section-label {
  color: var(--beige-dark);
}
.section-dark .section-label::before, .section-brun .section-label::before,
.section-violet .section-label::before { background: var(--beige-dark); }
/* Pagnon section = fond --violet-deep → label doit être clair (était --violet sur --violet-deep = invisible) */
.pagnon-section .section-label { color: var(--beige-dark); }
.pagnon-section .section-label::before { background: rgba(240,185,50,.7); }

/* ── PAGNON STORY SECTION ─────────────────────────────────────── */
.pagnon-section {
  background: var(--brun-dark);
  position: relative; overflow: hidden;
}
.pagnon-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C49A72' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.pagnon-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.pagnon-lamp-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.pagnon-lamp-visual img {
  width: 320px;
  /* Halo ambre chaud + ombre portée — s'applique sur la silhouette (fond transparent) */
  filter:
    drop-shadow(0 0 40px rgba(240,185,50,.65))
    drop-shadow(0 0 80px rgba(230,140,20,.35))
    drop-shadow(0 16px 32px rgba(0,0,0,.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}
.pagnon-lamp-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  /* Halo ambre doux — était violet sur fond violet = aura invisible */
  background: radial-gradient(circle, rgba(240,180,50,.22) 0%, rgba(200,100,20,.08) 50%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}
.pagnon-text { color: var(--beige); position: relative; z-index: 1; }
.pagnon-text h2 { color: var(--white); margin-bottom: 24px; }
.pagnon-text p { color: rgba(245,237,212,.8); line-height: 1.8; margin-bottom: 16px; font-size: 1.05rem; }
.pagnon-quote {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-style: italic;
  /* Était --violet-mid sur --violet-deep = contraste ~3.4:1 et tons fusionnés */
  color: rgba(245,237,212,.92);
  border-left: 3px solid rgba(240,185,50,.55);
  padding-left: 20px; margin: 32px 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .pagnon-grid { grid-template-columns: 1fr; gap: 40px; }
  .pagnon-lamp-visual { order: -1; }
  .pagnon-lamp-visual img { width: 180px; }
}

/* ── PRODUCT CARDS ──────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--creme); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition); cursor: pointer;
  border: 1px solid rgba(200,149,42,.12);
}
.product-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: rgba(108,34,160,.22);
}
.product-img {
  aspect-ratio: 4/3; overflow: hidden; background: var(--beige);
  position: relative;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--violet); color: var(--white);
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.product-body { padding: 20px; }
.product-cat {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--or-dark); margin-bottom: 6px;
}
.product-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--brun-dark); }
.product-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--brun-dark); }
.product-weight { font-size: 0.75rem; color: var(--text-light); }
.btn-add-cart {
  background: var(--violet); color: var(--white);
  border: none; border-radius: var(--radius-full);
  padding: 10px 20px; font-size: 0.85rem; font-weight: 600;
  transition: var(--transition); display: flex; align-items: center; gap: 6px;
}
.btn-add-cart:hover { background: var(--violet-dark); transform: scale(1.05); }

/* ── FILTER TABS ──────────────────────────────────────────────── */
.filter-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
  background: var(--white); padding: 8px; border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm); width: fit-content;
}
.filter-tab {
  padding: 10px 20px; border-radius: var(--radius-full);
  font-size: 0.88rem; font-weight: 600; border: none; background: transparent;
  color: var(--text-muted); transition: var(--transition); cursor: pointer;
  display: flex; align-items: center; gap: 6px;
}
.filter-tab.active { background: var(--violet); color: var(--white); box-shadow: 0 4px 14px rgba(122,47,176,.3); }
.filter-tab:hover:not(.active) { background: var(--violet-light); color: var(--violet); }

/* ── CART DRAWER ──────────────────────────────────────────────── */
.cart-overlay {
  display: none; position: fixed; inset: 0; background: rgba(26,10,8,.5);
  z-index: 900; backdrop-filter: blur(4px);
}
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 910;
  width: min(440px, 100vw); background: var(--creme);
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(42,10,64,.2);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; border-bottom: 1px solid var(--beige-dark);
}
.cart-header h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; }
.cart-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--beige); border: none;
  font-size: 1.1rem; color: var(--brun);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-close:hover { background: var(--violet-light); color: var(--violet); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-item {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--beige-dark);
}
.cart-item-img {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0; background: var(--beige);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.92rem; margin-bottom: 4px; }
.cart-item-price { color: var(--violet); font-weight: 700; font-size: 0.92rem; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--beige-dark); background: var(--white);
  font-size: 0.9rem; font-weight: 600; color: var(--brun);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--violet); color: var(--violet); background: var(--violet-xlight); }
.qty-val { font-weight: 700; min-width: 20px; text-align: center; }
.cart-empty {
  text-align: center; padding: 60px 24px; color: var(--text-muted);
}
.cart-empty .cart-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--beige-dark); }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.cart-total span:first-child { font-size: 0.85rem; color: var(--text-muted); }
.cart-total-amount { font-size: 1.5rem; font-weight: 700; color: var(--brun-dark); }
.cart-checkout-btn {
  width: 100%; background: var(--violet); color: var(--white);
  border: none; border-radius: var(--radius-full); padding: 16px;
  font-size: 1rem; font-weight: 700; transition: var(--transition);
}
.cart-checkout-btn:hover { background: var(--violet-dark); }

/* ── CART FLOATING BUTTON ─────────────────────────────────────── */
.cart-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  background: var(--violet); color: var(--white);
  width: 62px; height: 62px; border-radius: 50%;
  border: none; font-size: 1.4rem;
  box-shadow: 0 6px 24px rgba(122,47,176,.4);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-fab:hover { transform: scale(1.1); background: var(--violet-dark); box-shadow: 0 8px 32px rgba(122,47,176,.55); }
.cart-fab-badge {
  position: absolute; top: -4px; right: -4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--beige); color: var(--violet);
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--violet); display: none;
}
.cart-fab-badge.show { display: flex; }

/* ── CONTACT FABS (WhatsApp + Messenger) ─────────────────────── */
.contact-fabs {
  position: fixed; bottom: 28px; left: 28px; z-index: 800;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.contact-fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
  transition: var(--transition); text-decoration: none;
  position: relative;
}
.contact-fab:hover { transform: scale(1.1); }
.contact-fab svg { width: 24px; height: 24px; }
.contact-fab--whatsapp { background: #25D366; color: white; }
.contact-fab--whatsapp:hover { background: #1ebe5c; box-shadow: 0 6px 28px rgba(37,211,102,.45); }
.contact-fab--messenger { background: #0084FF; color: white; }
.contact-fab--messenger:hover { background: #0070D9; box-shadow: 0 6px 28px rgba(0,132,255,.45); }
.contact-fab-tooltip {
  position: absolute; left: 62px; top: 50%; transform: translateY(-50%) translateX(-8px);
  background: var(--brun-dark); color: var(--beige);
  padding: 5px 12px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.contact-fab:hover .contact-fab-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ── CHECKOUT MODAL ───────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 950;
  background: rgba(26,10,8,.6); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--creme); border-radius: var(--radius-lg);
  width: 100%; max-width: 560px; max-height: 90vh;
  overflow-y: auto; box-shadow: var(--shadow-xl);
}
.modal-header {
  padding: 28px 28px 0; display: flex;
  justify-content: space-between; align-items: flex-start;
}
.modal-header h2 { font-size: 1.6rem; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--beige); border: none; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition);
}
.modal-close:hover { background: var(--violet-light); color: var(--violet); }
.modal-body { padding: 24px 28px 28px; }

/* ── FORMS ──────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid var(--beige-dark); border-radius: var(--radius-md);
  font-size: 0.95rem; color: var(--text); background: var(--white);
  outline: none; transition: var(--transition); font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--violet); box-shadow: 0 0 0 4px rgba(122,47,176,.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ── STATS BAR ──────────────────────────────────────────────────── */
.stats-bar {
  background: var(--beige); padding: 28px 0;
  border-top: 1px solid var(--beige-dark);
  border-bottom: 1px solid var(--beige-dark);
}
.stats-bar-inner {
  display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.stat-item { text-align: center; color: var(--brun-dark); }
.stat-number {
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900;
  line-height: 1; display: block; color: var(--or);
}
.stat-label { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.05em; }

/* ── DEUX COLONNES HISTOIRE ──────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col.reverse { }
.two-col-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4/5; }
.two-col-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-img { aspect-ratio: 16/9; }
}

/* ── TIMELINE ─────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--or), transparent);
}
.timeline-item { position: relative; margin-bottom: 48px; }
.timeline-item::before {
  content: ''; position: absolute; left: -47px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--violet); border: 3px solid var(--beige);
  box-shadow: 0 0 0 3px rgba(108,34,160,.25);
}
.timeline-year {
  font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900;
  color: var(--or); margin-bottom: 4px;
}
.timeline-title { font-weight: 700; margin-bottom: 8px; font-size: 1.05rem; }
.timeline-text { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ── BLOCK QUOTE ────────────────────────────────────────────────── */
.blockquote-big {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-style: italic; line-height: 1.4; text-align: center;
  color: var(--brun-dark); position: relative; padding: 0 40px;
}
.blockquote-big::before {
  content: '\201C'; position: absolute; left: 0; top: -20px;
  font-size: 6rem; color: var(--or); opacity: 0.35; line-height: 1;
}

/* ── HORAIRES ───────────────────────────────────────────────────── */
.horaires-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
  border: 1px solid rgba(122,47,176,.1);
}
.horaire-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--beige-dark);
  font-size: 0.95rem;
}
.horaire-row:last-child { border-bottom: none; }
.horaire-day { font-weight: 600; color: var(--brun-dark); }
.horaire-time { color: var(--or-dark); font-weight: 700; }
.horaire-closed { color: var(--text-light); font-style: italic; }

/* ── CONTACT ────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--or-light); color: var(--or-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.contact-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-value { font-weight: 600; font-size: 1.05rem; color: var(--brun-dark); }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── NEWSLETTER BANNER ─────────────────────────────────────────── */
.newsletter-banner {
  background: var(--beige);
  padding: 60px 24px; text-align: center;
  border-top: 1px solid var(--beige-dark);
}
.newsletter-form {
  display: flex; gap: 12px; max-width: 480px; margin: 24px auto 0; flex-wrap: wrap;
}
.newsletter-input {
  flex: 1; min-width: 200px; padding: 14px 20px;
  border: 2px solid rgba(245,237,212,.3); border-radius: var(--radius-full);
  background: rgba(245,237,212,.1); color: var(--beige);
  font-size: 0.95rem; outline: none; transition: var(--transition);
}
.newsletter-input::placeholder { color: rgba(245,237,212,.5); }
.newsletter-input:focus { border-color: rgba(245,237,212,.7); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--brun-dark); color: var(--beige);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 44px; filter: brightness(10); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: rgba(245,237,212,.65); line-height: 1.7; }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,237,212,.5); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.9rem; color: rgba(245,237,212,.75); padding: 5px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--beige); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(245,237,212,.1); color: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--violet); }
.footer-bottom {
  border-top: 1px solid rgba(245,237,212,.12);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(245,237,212,.4); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── SCROLL ANIMATIONS ──────────────────────────────────────────── */
[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ── PAGE HERO (boutique/histoire) ─────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 24px 110px;
  background: linear-gradient(160deg, #1A0A06 0%, var(--brun-dark) 50%, #3A1E0C 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--beige);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(245,237,212,.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── CONFIRMATION ────────────────────────────────────────────────── */
.confirm-card {
  max-width: 560px; margin: 100px auto; background: var(--white);
  border-radius: var(--radius-xl); padding: 60px 48px; text-align: center;
  box-shadow: var(--shadow-xl);
}
.confirm-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--violet-light); color: var(--violet);
  font-size: 2rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  animation: pop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.confirm-items { background: var(--beige); border-radius: var(--radius-md); padding: 20px; margin: 24px 0; text-align: left; }
.confirm-item { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; border-bottom: 1px solid var(--beige-dark); }
.confirm-item:last-child { border-bottom: none; font-weight: 700; }

/* ── ADMIN ──────────────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; background: #F4F5F7; }
.admin-sidebar {
  width: 240px; background: var(--violet-deep); color: var(--beige);
  padding: 24px 16px; position: fixed; top: 0; bottom: 0; left: 0; overflow-y: auto;
}
.admin-sidebar .logo { padding: 8px 12px 24px; border-bottom: 1px solid rgba(245,237,212,.1); margin-bottom: 16px; }
.admin-sidebar .logo img { height: 32px; filter: brightness(10); }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: rgba(245,237,212,.7); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); cursor: pointer; text-decoration: none;
  margin-bottom: 4px;
}
.admin-nav-item:hover, .admin-nav-item.active { background: rgba(245,237,212,.12); color: var(--beige); }
.admin-main { margin-left: 240px; padding: 32px; flex: 1; }
.admin-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border: 1px solid #E4E5E7;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th { text-align: left; padding: 12px 16px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6D7175; border-bottom: 1px solid #E4E5E7; }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid #F0F0F0; vertical-align: top; }
.admin-table tr:last-child td { border-bottom: none; }
.status-badge { padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.status-pending  { background: #FFF4E4; color: #C05717; }
.status-ready    { background: #E3FCEF; color: #008060; }
.status-done     { background: #F0F0F0; color: #6D7175; }

/* ── ADMIN HAMBURGER + DRAWER (mobile) ─────────────────────────── */
.admin-hamburger {
  display: none; position: fixed; top: 12px; left: 12px; z-index: 1001;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--violet-deep); border: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.admin-hamburger span {
  display: block; width: 20px; height: 2px; background: var(--beige);
  border-radius: 2px; transition: transform .3s, opacity .3s;
}
.admin-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.admin-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.admin-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.admin-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 999; backdrop-filter: blur(2px);
}
.admin-overlay.open { display: block; }

/* ── TOAST ──────────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; left: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--brun-dark); color: var(--beige);
  padding: 14px 20px; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: toast-in 0.3s ease; min-width: 240px;
}
.toast.success { background: #1A4731; }
.toast.error   { background: #5C1010; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── UTILITAIRES ────────────────────────────────────────────────── */
.text-violet  { color: var(--violet); }
.text-brun    { color: var(--brun); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.text-white   { color: var(--white); }
.text-beige   { color: var(--beige); }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.gap-16 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ── ANIMATIONS PREMIUM ─────────────────────────────────────────── */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--or) 0%, var(--violet) 60%, var(--violet-mid) 100%);
  width: 0%;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}

/* Flour dust (hero) */
@keyframes flourFloat {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 0.5; }
  100% { transform: translateY(-110vh) translateX(var(--drift, 20px)) scale(0.2); opacity: 0; }
}

/* Cassonade rain (pagnon section) */
@keyframes casonadeFall {
  0%   { transform: translateY(-20px) translateX(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.8; }
  92%  { opacity: 0.6; }
  100% { transform: translateY(calc(100% + 40px)) translateX(var(--drift, -10px)) rotate(120deg); opacity: 0; }
}

/* Hero entrance animations */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-anim-badge  { animation: heroFadeIn 0.8s ease 0.15s both; }
.hero-anim-au     { animation: heroSlideUp 1s cubic-bezier(0.16,1,0.3,1) 0.35s both; display: block; }
.hero-anim-pagnon { animation: heroSlideUp 1s cubic-bezier(0.16,1,0.3,1) 0.5s both; }
.hero-anim-sub    { animation: heroFadeIn 0.9s ease 0.72s both; }
.hero-anim-cta    { animation: heroSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.9s both; }

/* Product card steam on hover */
.product-img::after {
  content: '';
  position: absolute; bottom: 100%; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 0;
  background: rgba(255,255,255,.55);
  border-radius: 2px;
  opacity: 0;
  transition: height 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
  filter: blur(1.5px);
}
.product-img::before {
  content: '';
  position: absolute; bottom: 100%; left: calc(50% - 12px);
  width: 3px; height: 0;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  opacity: 0;
  transition: height 0.5s ease 0.1s, opacity 0.5s ease;
  pointer-events: none;
  filter: blur(1.5px);
}
.product-card:hover .product-img::after {
  height: 18px; opacity: 1;
  animation: steamWiggle 2s ease-in-out infinite;
}
.product-card:hover .product-img::before {
  height: 14px; opacity: 0.7;
  animation: steamWiggle 2.4s ease-in-out infinite reverse;
}
@keyframes steamWiggle {
  0%, 100% { transform: translateX(-50%) scaleX(1) translateY(0); }
  33%       { transform: translateX(calc(-50% + 3px)) scaleX(0.8) translateY(-3px); }
  66%       { transform: translateX(calc(-50% - 3px)) scaleX(1.2) translateY(-5px); }
}

/* Section label typewriter cursor blink */
.section-label::after {
  content: '';
  display: inline-block;
  width: 2px; height: 0.8em;
  background: currentColor;
  margin-left: 2px;
  vertical-align: middle;
  animation: blinkCaret 0.7s step-end 10;
}
@keyframes blinkCaret {
  50% { opacity: 0; }
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .admin-hamburger { display: flex; }
  .admin-sidebar {
    transform: translateX(-100%); transition: transform .3s ease;
    z-index: 1000; position: fixed;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; padding: 20px 14px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .filter-tabs { width: 100%; }
  .filter-tab { padding: 8px 14px; font-size: 0.82rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 3.2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .confirm-card { padding: 40px 24px; margin: 80px 16px; }
}

/* ── COOKIE BANNER ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 3000;
  background: rgba(20,8,2,.97); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(245,237,212,.1);
  padding: 16px 24px; transition: opacity 0.3s;
}
.cookie-banner-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1; min-width: 260px;
  color: rgba(245,237,212,.75); font-size: 0.83rem; line-height: 1.5; margin: 0;
}
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — améliorations globales
   ═══════════════════════════════════════════════════════════════ */

/* Touch — élimination du délai 300ms tap */
button, a, [role="button"] { touch-action: manipulation; }

/* ── TABLETTES (≤ 768px) ───────────────────────────────────── */
@media (max-width: 768px) {

  /* Filter tabs — carrousel horizontal au lieu de multi-lignes */
  .filter-tabs {
    overflow-x: auto;
    overflow-y: visible;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent);
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { white-space: nowrap; flex-shrink: 0; }

  /* Stats bar — espacement plus serré */
  .stats-bar-inner { gap: 32px; }

  /* Page hero — moins de padding vertical */
  .page-hero { padding: calc(var(--nav-h) + 40px) 20px 56px; }

  /* Horaires card */
  .horaires-card { padding: 28px 24px; }

  /* Admin tables — scrollable horizontalement */
  .admin-card { overflow-x: auto; }
  .admin-table { min-width: 680px; }

  /* Modal — padding réduit */
  .modal-body   { padding: 20px 20px 24px; }
  .modal-header { padding: 20px 20px 0; }

  /* Contact grid — une colonne */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── PETITS TÉLÉPHONES (≤ 480px) ──────────────────────────── */
@media (max-width: 480px) {

  /* Sections */
  .section    { padding: 48px 0; }
  .section-sm { padding: 36px 0; }

  /* Conteneurs */
  .container, .container-narrow { padding: 0 16px; }

  /* Navigation */
  :root { --nav-h: 72px; }
  .nav-content  { padding: 0 14px; }
  .nav-logo img { height: 60px; }

  /* Hero */
  .hero-sub   { font-size: 1rem; margin: 18px 0 28px; }
  .hero-badge { font-size: 0.7rem; padding: 6px 14px; margin-bottom: 20px; }
  .hero-ctas  { gap: 10px; }

  /* Page hero */
  .page-hero   { padding: calc(var(--nav-h) + 24px) 16px 44px; }
  .page-hero p { font-size: 0.95rem; }

  /* Stats bar */
  .stats-bar-inner { gap: 18px; }
  .stat-number     { font-size: 1.5rem; }
  .stat-label      { font-size: 0.72rem; }

  /* Blockquote */
  .blockquote-big         { padding: 0 16px; font-size: clamp(1.2rem, 4vw, 1.8rem); }
  .blockquote-big::before { font-size: 4rem; top: -10px; left: -2px; }

  /* Horaires */
  .horaires-card { padding: 20px 16px; }
  .horaire-row   { font-size: 0.88rem; }

  /* Confirmation */
  .confirm-card { padding: 32px 20px; margin: 36px 0 24px; border-radius: var(--radius-lg); }

  /* Grille produits — une colonne */
  .products-grid { grid-template-columns: 1fr; gap: 14px; }
  .grid-2        { grid-template-columns: 1fr; }

  /* Cart drawer — pleine largeur */
  .cart-drawer { width: 100vw; border-radius: 0; }

  /* FABs */
  .cart-fab     { width: 50px; height: 50px; bottom: 16px; right: 14px; font-size: 1.1rem; }
  .contact-fabs { bottom: 16px; left: 14px; gap: 8px; }
  .contact-fab  { width: 44px; height: 44px; }
  .contact-fab svg { width: 20px; height: 20px; }
  .contact-fab-tooltip { display: none !important; }

  /* Créneaux de retrait — 2 colonnes */
  #slotsContainer { grid-template-columns: repeat(2, 1fr) !important; }

  /* Grille fréquence abonnement — 1 colonne */
  .sub-freq-grid { grid-template-columns: 1fr !important; }

  /* Pagnon section */
  .pagnon-quote  { font-size: 1.2rem; padding-left: 14px; }
  .pagnon-text p { font-size: 0.95rem; }

  /* Timeline */
  .timeline                { padding-left: 24px; }
  .timeline-item::before   { left: -31px; }
  .timeline-year           { font-size: 1.4rem; }
  .timeline-title          { font-size: 0.95rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Boutons */
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }

  /* Toast */
  .toast-container { left: 12px; right: 12px; bottom: 12px; }
  .toast           { min-width: 0; }

  /* Cookie banner */
  .cookie-banner         { padding: 14px 16px; }
  .cookie-banner-inner   { gap: 10px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn {
    flex: 1; text-align: center; justify-content: center; padding: 10px 16px;
  }

  /* Admin */
  .admin-main        { padding: 12px 10px; }
  .admin-hamburger   { top: 8px; left: 8px; }
  .admin-charts-grid { grid-template-columns: 1fr !important; }

  /* Two-col images */
  .two-col-img { aspect-ratio: 3/2; }

  /* Confirmation — infos retrait + QR code */
  .retrait-grid { grid-template-columns: 1fr !important; }
  .retrait-grid > div:last-child { display: flex; align-items: center; gap: 12px; justify-content: flex-start; }

  /* Boutique — barre de commande info */
  #orderCountdown { font-size: 0.8rem !important; padding: 8px 14px !important; }

  /* Accueil — mosaïque Instagram */
  .insta-mosaic { grid-template-columns: repeat(2, 1fr) !important; }

  /* Welcome popup — padding réduit */
  #welcomePopup > div { padding: 24px 18px !important; }
}

/* ── TRÈS PETITS ÉCRANS (≤ 360px) ─────────────────────────── */
@media (max-width: 360px) {
  .hero-title   { font-size: 2.6rem; }
  .confirm-card { padding: 24px 14px; }
  .btn          { padding: 12px 20px; font-size: 0.88rem; }
  .btn-sm       { padding: 7px 14px; font-size: 0.78rem; }
  .qty-btn      { width: 24px; height: 24px; }
  .cart-item-controls { gap: 6px; }
}

/* ── DARK MODE ──────────────────────────────────────────────────── */
html.dark {
  --white:       #1A1A2E;
  --beige:       #F5EDD4;
  --beige-dark:  #2A2440;
  --or-xlight:   #2A2030;
  --or-dark:     #C8952A;
  --text:        #E8E0D0;
  --text-muted:  #9A8F7F;
}
html.dark body { background: #131222; color: #E8E0D0; }
html.dark .nav { background: rgba(19,18,34,.95) !important; border-bottom-color: rgba(255,255,255,.08); }
html.dark .nav.transparent { background: transparent !important; }
html.dark .product-card { background: #1E1C30; border-color: rgba(255,255,255,.08); }
html.dark .product-card:hover { background: #252340; }
html.dark .admin-card, html.dark .admin-table th { background: #1E1C30; }
html.dark .admin-layout { background: #131222; }
html.dark .admin-main { background: #131222; color: #E8E0D0; }
html.dark .modal { background: #1E1C30; }
html.dark .modal-header { background: #252340; border-color: rgba(255,255,255,.1); }
html.dark .form-input, html.dark .form-select, html.dark .form-textarea {
  background: #252340; border-color: rgba(255,255,255,.15); color: #E8E0D0;
}
html.dark .section-beige, html.dark .section-brun { background: #1A1828 !important; }
html.dark footer { background: #0D0C1A; }
html.dark .admin-table td { border-bottom-color: rgba(255,255,255,.06); }
html.dark .admin-table tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════
   MARKETING FEATURES — Added styles
   ═══════════════════════════════════════════════════════════════ */

/* ── F1 : BANNIÈRE COMPTE À REBOURS 18H ──────────────────────── */
.order-deadline-banner {
  background: var(--violet, #6C22A0);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 36px;
  position: relative;
  z-index: 100;
}
.order-deadline-banner.deadline-passed {
  background: #374151;
}
.deadline-icon  { font-size: 1.1rem; }
.deadline-timer { background: rgba(255,255,255,.15); border-radius: 20px; padding: 3px 12px; }
.deadline-timer strong,
.deadline-text strong { font-weight: 800; }
.deadline-sep   { opacity: .4; }
.deadline-arrow { opacity: .7; }
@media (max-width: 480px) {
  .order-deadline-banner { font-size: .78rem; padding: 8px 14px; gap: 6px; }
  .deadline-sep, .deadline-arrow { display: none; }
}

/* ── F2 : STOCK LIMITÉ BADGES ────────────────────────────────── */
.stock-limit-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.3;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.stock-limit-badge--fire {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
}
.stock-limit-badge--lightning {
  background: linear-gradient(135deg, #f97316, #eab308);
  color: #fff;
}

/* ── F3 : EXIT INTENT POPUP ──────────────────────────────────── */
#exitIntentOverlay {
  animation: fadeIn .25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── F5 : SECTION AVIS CLIENTS ───────────────────────────────── */
.section-reviews {
  background: var(--beige, #F5EDD4);
  padding: 80px 0;
}
.reviews-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.reviews-carousel {
  display: flex;
  gap: 20px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.review-card {
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  flex: 0 0 calc(33.333% - 14px);
  min-width: calc(33.333% - 14px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 900px) {
  .review-card {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}
@media (max-width: 560px) {
  .review-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.review-meta {
  flex: 1;
}
.review-author {
  font-weight: 700;
  font-size: .95rem;
  color: var(--brun, #2E1A0E);
}
.review-location {
  font-size: .78rem;
  color: #6D7175;
  margin-top: 1px;
}
.review-stars {
  font-size: .95rem;
  margin-left: auto;
  white-space: nowrap;
}
.review-content {
  font-style: italic;
  font-size: .9rem;
  color: #374151;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.review-content::before { content: ''; }
.review-product {
  display: inline-block;
  background: var(--violet-light, #f7f0ff);
  color: var(--violet, #6C22A0);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: .72rem;
  font-weight: 700;
}
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.reviews-nav-btn {
  background: #fff;
  border: 2px solid var(--beige-dark, #D9C99A);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brun, #2E1A0E);
  transition: all .15s;
  line-height: 1;
}
.reviews-nav-btn:hover {
  background: var(--violet, #6C22A0);
  border-color: var(--violet, #6C22A0);
  color: #fff;
}
.reviews-dots {
  display: flex;
  gap: 6px;
}
.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beige-dark, #D9C99A);
  border: none;
  cursor: pointer;
  transition: background .2s, width .2s;
  padding: 0;
}
.reviews-dot.active {
  background: var(--violet, #6C22A0);
  width: 22px;
  border-radius: 4px;
}

/* ── F6 : LOYALTY PILL ───────────────────────────────────────── */
.loyalty-pill {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  gap: 0;
  animation: pillFadeIn .5s cubic-bezier(.4,0,.2,1) .8s both;
  overflow: hidden;
}
@keyframes pillFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.loyalty-pill a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--brun, #2E1A0E);
}
.loyalty-pill a:hover { opacity: .85; }
.loyalty-pill-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.loyalty-pill-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.loyalty-pill-pts {
  font-weight: 800;
  font-size: .88rem;
  color: var(--violet, #6C22A0);
  line-height: 1.2;
}
.loyalty-pill-label {
  font-size: .72rem;
  color: #6D7175;
  line-height: 1.2;
}
.loyalty-pill-bar {
  width: 80px;
  height: 4px;
  background: #eee;
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}
.loyalty-pill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--violet, #6C22A0), var(--or, #C8952A));
  border-radius: 2px;
  transition: width .5s ease;
}
.loyalty-pill-close {
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6D7175;
  margin-right: 10px;
  flex-shrink: 0;
  line-height: 1;
  transition: background .15s;
}
.loyalty-pill-close:hover { background: #e5e7eb; }
@media (max-width: 480px) {
  .loyalty-pill { display: none; }
}
html.dark .cookie-banner { background: rgba(10,9,25,.97); }

/* ── PICKUP DATE PILLS ───────────────────────────────────────── */
.pickup-day-picker {
  margin-bottom: 20px;
}
.pickup-day-picker-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  color: var(--brun-dark); margin-bottom: 10px; display: block;
}
.pickup-day-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pickup-day-btn {
  border: 1.5px solid #e5e7eb; background: #fff;
  border-radius: var(--radius-full); padding: 8px 14px;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  color: var(--brun-dark); transition: all .15s;
  white-space: nowrap;
}
.pickup-day-btn:hover {
  background: var(--violet-xlight); border-color: var(--violet-light);
}
.pickup-day-btn.selected {
  background: var(--violet); border-color: var(--violet); color: #fff;
}
