/* =========================================================
   FLP PREMIUM — Main Stylesheet v3
   Aligné sur les templates PHP réels + performance.php
   ========================================================= */

/* ── Variables premium (override performance.php) ───────── */
:root {
  /* ── Palette FLP — alignée sur foreverliving.fr ── */
  --green:       #5C8C1A;  /* FLP signature green */
  --green-mid:   #6EA020;
  --green-light: #8CC83F;
  --gold:        #C8A820;
  --gold-light:  #E8C240;
  --black:       #1C2A0A;  /* vert sombre texte */
  --gray:        #546048;
  --gray-light:  #8A9A78;
  --light:       #F6FBF0;
  --white:       #FFFFFF;
  --surface:     #EDF7DC;  /* fond sections claires */
  --radius:      12px;
  --radius-sm:    6px;
  --radius-lg:   20px;
  --radius-xl:   40px;
  --shadow:       0 2px 12px rgba(28,42,10,.07);
  --shadow-md:    0 6px 24px rgba(28,42,10,.10);
  --shadow-green: 0 6px 24px rgba(92,140,26,.22);
  --shadow-gold:  0 6px 24px rgba(200,168,32,.28);
  --ease:         cubic-bezier(.25,.46,.45,.94);
  --ease-spring:  cubic-bezier(.34,1.56,.64,1);
  --t:            all .3s var(--ease);
  --t-slow:       all .6s var(--ease);
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --header-h:    72px;
  --container:   1200px;
}

/* ── Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
p { color: var(--gray); line-height: 1.8; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--black);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1rem, 2vw, 1.15rem); }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  width: 100%;
}

/* Offset du header fixe pour toutes les pages sauf accueil */
#main-content { padding-top: var(--header-h); }
.page-template-page-accueil #main-content { padding-top: 0; }

/* Padding section */
.section-pad { padding: clamp(60px, 8vw, 100px) 0; }

/* En-tête de section */
.section-title {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-title h2 { margin-bottom: 14px; }
.section-title p {
  color: var(--gray);
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  max-width: 580px;
  margin: 0 auto;
}

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,67,.5); }
  50%       { box-shadow: 0 0 0 10px rgba(201,168,67,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-8px) rotate(-3deg); }
}
@keyframes shimmerBar {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(260%) skewX(-15deg); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes cookieIn {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(.9) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes toastIn {
  from { transform: translateX(-120%); }
  to   { transform: translateX(0); }
}

/* ── Scroll Reveal ──────────────────────────────────────── */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.animate-up.in-view { opacity: 1; transform: translateY(0); }
.animate-up:nth-child(2) { transition-delay: .1s; }
.animate-up:nth-child(3) { transition-delay: .2s; }
.animate-up:nth-child(4) { transition-delay: .3s; }
.animate-up:nth-child(5) { transition-delay: .4s; }
.animate-up:nth-child(6) { transition-delay: .5s; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: rgba(255,255,255,.22);
  transform: skewX(-15deg);
}
.btn:hover::before { animation: shimmerBar .55s var(--ease); }

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(27,67,50,.38); }

.btn-gold {
  background: linear-gradient(135deg, var(--green), var(--green-mid, #3d9962));
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(46,125,79,.42); }

.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }

.btn-sm { padding: 9px 20px; font-size: .84rem; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(92,140,26,.12);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(28,42,10,.10);
  background: rgba(255,255,255,.99);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -.01em;
}
.logo-text span { color: var(--green); }

/* Navigation principale
   Note: .main-nav is placed AFTER </header> in the DOM to avoid
   Safari/iOS backdrop-filter clipping of position:fixed children.
   On desktop (min-width 769px) it is repositioned via position:fixed.
   Using an explicit min-width media query avoids any cascade ambiguity
   with the mobile display:none rule. */
@media (min-width: 769px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: transparent;
  }
  .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    pointer-events: auto;
  }
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--black);
  border-radius: var(--radius-sm);
  transition: var(--t);
  position: relative;
  text-decoration: none;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width .3s var(--ease), left .3s var(--ease);
}
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--green); }
.nav-list a:hover { background: rgba(92,140,26,.06); }
.nav-list a:hover::after,
.nav-list .current-menu-item > a::after { width: calc(100% - 28px); left: 14px; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--t);
}
.burger-btn:hover { background: rgba(255,255,255,.1); }
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--t);
}

/* Nav mobile */
@media (max-width: 768px) {
  .burger-btn { display: flex; }
  /* .main-nav is now in root stacking context (outside backdrop-filter header)
     so position:fixed works correctly on all browsers including Safari/iOS */
  .main-nav {
    display: none;
    position: fixed;
    z-index: 999;
    top: var(--header-h);
    left: 0; right: 0;
    height: auto;
    pointer-events: auto;
    align-items: unset;
    justify-content: unset;
    background: rgba(255,255,255,.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 20px 24px;
    border-bottom: 1px solid rgba(92,140,26,.12);
    box-shadow: 0 8px 24px rgba(28,42,10,.12);
  }
  .main-nav.open { display: block; }
  .nav-list { display: flex; flex-direction: column; align-items: stretch; gap: 2px; list-style: none; pointer-events: auto; }
  .nav-list a {
    padding: 13px 16px;
    font-size: .95rem;
    border-radius: var(--radius-sm);
    color: var(--black);
  }
  .nav-list a:hover { background: rgba(92,140,26,.06); padding-left: 24px; color: var(--green); }
  .nav-list a::after { display: none; }
}

/* ── Trust Bar ───────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid rgba(27,67,50,.06);
  border-bottom: 1px solid rgba(27,67,50,.06);
  padding: clamp(20px, 3vw, 32px) 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  transition: var(--t);
  cursor: default;
}
.trust-item:hover {
  background: rgba(27,67,50,.04);
  transform: translateY(-4px);
}
.trust-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, rgba(92,140,26,.08), rgba(140,200,63,.12));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--t);
  border: 1.5px solid rgba(92,140,26,.12);
}
.trust-icon svg { width: 24px; height: 24px; }
.trust-item:hover .trust-icon {
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  border-color: transparent;
  transform: scale(1.1) rotate(-5deg);
}
.trust-item:hover .trust-icon svg { stroke: white !important; }
.trust-text h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .88rem;
  color: var(--black);
  margin-bottom: 2px;
  letter-spacing: 0;
}
.trust-text p { font-size: .75rem; color: var(--gray-light); margin: 0; line-height: 1.35; }

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

/* ── Produits section ────────────────────────────────────── */
.products-section { background: var(--light); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .products-grid { grid-template-columns: 1fr; } }

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 16px 48px rgba(92,140,26,.16), 0 0 0 2px rgba(92,140,26,.28);
}
.product-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.product-img {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(92,140,26,.07), rgba(200,168,32,.05));
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px; box-sizing: border-box;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-img img { transform: scale(1.02); }
.product-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-serif);
}
.product-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.badge-cat  { background: linear-gradient(135deg, var(--green), var(--green-mid)); color: var(--white); }
.badge-best { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--black); }
.badge-new  { background: #3B82F6; color: var(--white); }
.product-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-price { font-size: .9rem; font-weight: 700; color: var(--green); margin-bottom: 8px; }
.stars { color: var(--gold); font-size: .85rem; margin-bottom: 14px; letter-spacing: 1px; }
.stars span { color: var(--gray-light); font-size: .75rem; margin-left: 4px; }
.btn-product {
  width: 100%;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .86rem;
  cursor: pointer;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}
.btn-product::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: rgba(255,255,255,.2);
  transform: skewX(-15deg);
}
.btn-product:hover {
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}
.btn-product:hover::before { animation: shimmerBar .55s var(--ease); }
.product-card[data-hidden="true"] { display: none; }

/* ── Story section ───────────────────────────────────────── */
.story-section { background: var(--surface); position: relative; overflow: hidden; }
.story-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(92,140,26,.06) 0%, transparent 65%);
  pointer-events: none;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) { .story-grid { grid-template-columns: 1fr; } }

.story-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  position: relative;
}
.story-img-wrap img {
  width: 100%; height: 400px;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.story-img-wrap:hover img { transform: scale(1.04); }
.story-img-placeholder {
  height: 400px;
  background: rgba(92,140,26,.06);
  border: 1px solid rgba(92,140,26,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gray);
}
.story-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  width: 90px; height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  font-size: .6rem;
  box-shadow: var(--shadow-gold);
  animation: float 4s ease-in-out infinite;
  padding: 8px;
}
.story-badge-float strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}
.story-text h2 { color: var(--black); margin-bottom: 16px; }
.story-text p  { color: var(--gray); margin-bottom: 24px; font-size: 1rem; line-height: 1.8; }
.story-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.story-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  color: var(--black);
  transition: var(--t);
  cursor: default;
}
.story-bullets li:hover { transform: translateX(8px); }
.story-bullets li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 900;
  color: var(--black);
  flex-shrink: 0;
}

/* ── Promo Band ──────────────────────────────────────────── */
.promo-band {
  background: linear-gradient(135deg, #3A6010 0%, var(--green) 50%, var(--green-mid) 100%);
  padding: clamp(36px, 5vw, 56px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,67,.12) 0%, transparent 65%);
}
.promo-band .container { position: relative; z-index: 1; }
.promo-band h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.promo-band p { color: rgba(255,255,255,.8); margin-bottom: 24px; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-section { background: var(--surface); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
@media (max-width: 1024px) { .testi-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: -16px; right: 20px;
  font-family: var(--font-serif);
  font-size: 7rem;
  color: rgba(201,168,67,.1);
  line-height: 1;
  pointer-events: none;
}
.testi-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 56px rgba(27,67,50,.13), 0 0 0 2px rgba(201,168,67,.3);
}
.testi-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.testi-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-serif);
  flex-shrink: 0;
  border: 3px solid var(--gold);
  transition: var(--t);
}
.testi-card:hover .testi-avatar { transform: scale(1.1) rotate(-6deg); }
.testi-meta strong { display: block; font-size: .9rem; color: var(--black); font-weight: 700; }
.testi-meta span   { font-size: .78rem; color: var(--gray-light); }
.testi-card .stars { margin-bottom: 12px; }
.testi-text {
  color: var(--gray);
  font-size: .88rem;
  line-height: 1.7;
  font-style: italic;
}
.testi-text::before { content: '"'; font-size: 1.8rem; color: var(--gold); line-height: 0; vertical-align: -.4rem; margin-right: 2px; }

/* ── Page hero mini ──────────────────────────────────────── */
.page-hero-mini {
  padding: 56px 0 48px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(92,140,26,.08) 70%, rgba(110,160,32,.12) 100%);
  text-align: center;
  color: var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(200,168,32,.04) 0%, transparent 70%);
}
.page-hero-mini h1, .page-hero-mini h2 { color: var(--black); position: relative; margin-bottom: 12px; }
.page-hero-mini p  { color: var(--gray); font-size: 1.05rem; position: relative; }

/* ── Filtres produits ────────────────────────────────────── */
.filters-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 16px 0;
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.filters-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.filter-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(0,0,0,.1);
  background: var(--white);
  font-size: .86rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--t);
  color: var(--black);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.search-bar { position: relative; }
.search-bar input {
  padding: 9px 16px 9px 38px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius-xl);
  font-size: .86rem;
  outline: none;
  transition: border .2s;
  width: 220px;
  background: var(--light);
}
.search-bar input:focus { border-color: var(--green-light); background: var(--white); }
.search-bar svg {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px;
  stroke: var(--gray-light);
  fill: none;
  pointer-events: none;
}
.products-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}
@media (max-width: 1024px) { .products-list-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .products-list-grid { grid-template-columns: 1fr; } }

/* ── Stats band ──────────────────────────────────────────── */
.stats-band {
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  padding: clamp(36px, 5vw, 64px) 0;
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 80px);
  flex-wrap: wrap;
}
.stat-item { text-align: center; color: var(--white); }
.stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item span { font-size: .88rem; color: rgba(255,255,255,.8); }

/* ── Promo cards (code-promo page) ──────────────────────── */
.promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .promo-cards-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}
.promo-card {
  background: var(--white);
  border: 2px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
}
.promo-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.promo-card.gold  { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: scale(1.03); }
.promo-card.gold:hover { transform: scale(1.03) translateY(-8px); }
.promo-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  padding: 4px 16px;
  border-radius: var(--radius-xl);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
.promo-icon  { font-size: 2.4rem; margin-bottom: 12px; }
.promo-level { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.promo-discount { font-family: var(--font-serif); font-size: 4rem; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 4px; }
.promo-card.gold .promo-discount { color: var(--gold); }
.promo-min  { font-size: .85rem; color: var(--gray); margin-bottom: 24px; }
.btn-get-code {
  width: 100%;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.btn-get-code:hover { box-shadow: var(--shadow-green); transform: translateY(-2px); }

/* ── Modal promo ─────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: scaleIn .35s var(--ease-spring) both;
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--light);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--t);
}
.modal-close:hover { background: var(--green); color: var(--white); transform: rotate(90deg); }
.modal-title { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 8px; }
.modal-subtitle { color: var(--gray); font-size: .9rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1/-1; }
.form-field label:not(.consent-label) { font-size: .84rem; font-weight: 600; color: var(--black); }
.form-field input {
  padding: 11px 14px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  outline: none;
  transition: border .2s, box-shadow .2s;
  background: var(--light);
}
.form-field input:focus { border-color: var(--green-light); background: var(--white); box-shadow: 0 0 0 3px rgba(82,183,136,.1); }
.rgpd-note { font-size: .74rem; color: var(--gray-light); text-align: center; margin-top: 12px; }
.code-revealed { display: none; text-align: center; padding: 16px 0; }
.code-revealed.show { display: block; }
.code-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: var(--white);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 4px;
  padding: 20px 32px;
  border-radius: var(--radius);
  margin: 16px 0;
  font-family: var(--font-serif);
}
.code-actions { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }

/* ── Formulaire générique ────────────────────────────────── */
.flp-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}
.flp-form h3 { margin-bottom: 24px; }
.flp-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flp-form input, .flp-form textarea, .flp-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border .2s;
  background: var(--light);
}
.flp-form input:focus, .flp-form textarea:focus {
  border-color: var(--green-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(82,183,136,.1);
}
.flp-form textarea { resize: vertical; min-height: 100px; }
.form-field-label { font-size: .85rem; font-weight: 600; margin-bottom: 6px; display: block; color: var(--black); }

/* ── Steps (distributeur page) ───────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(33% + 32px);
  width: calc(33% - 32px);
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--gold));
}
.steps-grid::after {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(66% + 16px);
  width: calc(33% - 32px);
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--gold));
}
.step-item { text-align: center; transition: var(--t); }
.step-item:hover { transform: translateY(-8px); }
.step-number {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-green);
  transition: var(--t);
}
.step-item:hover .step-number { transform: scale(1.12) rotate(-8deg); }
.step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-text  { color: var(--gray); font-size: .88rem; }

/* ── Benefits ────────────────────────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 3px solid transparent;
  transition: var(--t);
}
.benefit-item:hover { transform: translateX(6px); border-left-color: var(--gold); }
.benefit-icon { color: var(--green); font-size: 1.3rem; flex-shrink: 0; transition: var(--t); }
.benefit-item:hover .benefit-icon { transform: scale(1.15) rotate(8deg); }
.benefit-text strong { display: block; font-size: .92rem; margin-bottom: 2px; font-weight: 700; }
.benefit-text span   { font-size: .83rem; color: var(--gray); }

/* ── Timeline (à-propos) ─────────────────────────────────── */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--gold));
  transform: translateX(-50%);
}
@media (max-width: 768px) { .timeline::before { left: 20px; } }
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding: 0 calc(50% + 32px) 32px 0;
  position: relative;
  transition: var(--t);
}
.timeline-item:nth-child(even) { justify-content: flex-start; padding: 0 0 32px calc(50% + 32px); }
.timeline-item:hover { transform: translateX(4px); }
@media (max-width: 768px) {
  .timeline-item, .timeline-item:nth-child(even) { padding: 0 0 24px 52px; justify-content: flex-start; }
}
.timeline-dot {
  position: absolute;
  left: 50%; top: 8px;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
  transition: var(--t);
}
.timeline-item:hover .timeline-dot { transform: translateX(-50%) scale(1.4); background: var(--green); box-shadow: 0 0 0 3px var(--green); }
@media (max-width: 768px) { .timeline-dot { left: 20px; transform: none; } }
.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  max-width: 300px;
}
.timeline-year { font-weight: 700; color: var(--gold); font-size: .85rem; margin-bottom: 4px; }
.timeline-text { font-size: .88rem; color: var(--gray); }

/* ── Values grid ─────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--green);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.value-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.value-card:hover::after { transform: scaleX(1); }
.value-icon { font-size: 2.2rem; margin-bottom: 12px; transition: transform .4s var(--ease-spring); }
.value-card:hover .value-icon { transform: scale(1.2) rotate(5deg); }
.value-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-text  { font-size: .83rem; color: var(--gray); }

/* ── Distributeur profil ─────────────────────────────────── */
.distrib-profile {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 600px) { .distrib-profile { flex-direction: column; text-align: center; } }
.distrib-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--gold);
}
.distrib-photo-placeholder {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}
.distrib-info h3 { margin-bottom: 8px; }
.distrib-info p  { color: var(--gray); font-size: .92rem; line-height: 1.7; }

/* ── Témoignage form ─────────────────────────────────────── */
.testi-form-section { background: var(--light); }
.star-rating { display: flex; gap: 4px; cursor: pointer; }
.star-rating .star { font-size: 1.8rem; color: rgba(0,0,0,.15); transition: color .15s; }
.star-rating .star.filled { color: var(--gold); }
.form-submit-btn {
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--t);
}
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-green); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #0e1f06;
  color: rgba(255,255,255,.75);
  padding: clamp(48px, 6vw, 80px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-logo .logo-text { color: var(--gold); font-size: 1.3rem; }
.footer-logo .logo-text span { color: var(--white); }
.footer-slogan { color: rgba(255,255,255,.55); font-size: .88rem; margin-top: 0; line-height: 1.65; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  color: rgba(255,255,255,.55);
  font-size: .86rem;
  transition: var(--t);
  text-decoration: none;
  display: inline-block;
}
.footer-col ul a:hover { color: var(--gold); transform: translateX(4px); }

.footer-contact p {
  color: rgba(255,255,255,.55);
  font-size: .86rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact a { color: rgba(255,255,255,.65); transition: var(--t); }
.footer-contact a:hover { color: var(--gold); }

.social-links { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  transition: var(--t);
  text-decoration: none;
}
.social-link:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-4px);
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.38); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.45); transition: var(--t); }
.footer-bottom a:hover { color: var(--gold); }

/* ── WhatsApp ────────────────────────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 500;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: var(--t);
  color: var(--white);
  text-decoration: none;
}
.wa-btn:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,.55); }
.wa-btn svg { width: 30px; height: 30px; fill: currentColor; }

/* ── Cookie Banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--white);
  border-top: 2px solid var(--green);
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  box-shadow: 0 -4px 24px rgba(0,0,0,.1);
  animation: cookieIn .5s var(--ease) both;
}
.cookie-banner.hidden { display: none; }
.cookie-text { font-size: .86rem; color: var(--black); flex: 1; min-width: 200px; }
.cookie-text a { color: var(--green); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-accept {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--t);
}
.btn-cookie-accept:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-cookie-refuse {
  background: var(--light);
  color: var(--gray);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-size: .85rem;
  cursor: pointer;
  transition: var(--t);
}
.btn-cookie-refuse:hover { background: rgba(0,0,0,.08); }

/* ── Exit Intent ─────────────────────────────────────────── */
.exit-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,.65);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.exit-overlay.open { display: flex; }
.exit-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: popupIn .4s var(--ease-spring);
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
}
.exit-box h3 { font-size: 1.4rem; margin-bottom: 12px; }
.exit-box p  { color: var(--gray); margin-bottom: 24px; }
.exit-close {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--light);
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray);
  transition: var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
}
.exit-close:hover { background: var(--green); color: var(--white); transform: rotate(90deg); }
.exit-form input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  outline: none;
  transition: border .2s;
}
.exit-form input:focus { border-color: var(--green-light); }

/* ── Social Proof Toast ──────────────────────────────────── */
.sp-toast {
  position: fixed;
  bottom: 80px; left: 24px;
  z-index: 600;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  font-size: .86rem;
  max-width: 280px;
  border-left: 3px solid var(--green);
  transform: translateX(-120%);
  transition: transform .4s var(--ease-spring);
  color: var(--black);
}
.sp-toast.show { transform: translateX(0); }

/* ── Divers ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-green  { color: var(--green); }
.text-gold   { color: var(--gold); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.load-more-wrap { text-align: center; margin-top: 40px; }
.wp-admin-bar ~ .site-header { top: 32px; }
.wp-admin-bar ~ .main-nav { top: calc(var(--header-h) + 32px); }
.admin-bar #main-content { padding-top: calc(var(--header-h) + 32px); }

/* Accessibility */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .animate-up { opacity: 1; transform: none; }
  .promo-band { animation: none; }
  .story-badge-float { animation: none; }
}



/* ════════════════════���═══════════════════════════════════��═══
   NOUVELLES SECTIONS — Alignement foreverliving.fr
═══════════════════════════��════════════════════════════════ */

/* ── "Vos Besoins" section ────────────────���──────────────── */
.needs-section { background: var(--white); }
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}
@media (max-width: 1024px) { .needs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .needs-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 380px)  { .needs-grid { grid-template-columns: 1fr; } }

.need-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px) 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1.5px solid transparent;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.need-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(92,140,26,.04), rgba(110,160,32,.08));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.need-card:hover {
  background: var(--white);
  border-color: rgba(92,140,26,.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
}
.need-card:hover::before { opacity: 1; }

.need-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(92,140,26,.1), rgba(140,200,63,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: transform .4s var(--ease-spring);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.need-card:hover .need-icon { transform: scale(1.15) rotate(-8deg); }

.need-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(.85rem, 1.8vw, .95rem);
  color: var(--black);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.need-desc {
  font-size: .78rem;
  color: var(--gray-light);
  line-height: 1.4;
  position: relative;
  z-index: 1;
  margin: 0;
}
.need-cta {
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.need-card:hover .need-cta { opacity: 1; transform: translateY(0); }

/* ── Certifications band ─────────────────────────────────── */
.certif-band {
  background: var(--surface);
  border-top: 1px solid rgba(92,140,26,.08);
  border-bottom: 1px solid rgba(92,140,26,.08);
  padding: clamp(24px, 3.5vw, 40px) 0;
}
.certif-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 64px);
  flex-wrap: wrap;
}
.certif-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: var(--t);
}
.certif-item:hover { transform: translateY(-3px); }
.certif-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(92,140,26,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(92,140,26,.1);
}
.certif-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--black);
  max-width: 80px;
  line-height: 1.3;
}
.certif-divider {
  width: 1px;
  height: 40px;
  background: rgba(92,140,26,.15);
}
@media (max-width: 600px) { .certif-divider { display: none; } }

/* ── Opportunité FLP section ────────────────────────────────*/
.opportunity-section {
  background: linear-gradient(135deg, #0e2206 0%, #1c3a0c 60%, #2a5412 100%);
  position: relative;
  overflow: hidden;
}
.opportunity-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(92,140,26,.15) 0%, transparent 60%);
  pointer-events: none;
}
.opportunity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) { .opportunity-grid { grid-template-columns: 1fr; } }

.opport-text h2 {
  color: var(--white);
  margin-bottom: 12px;
}
.opport-text > p {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}
.opport-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
  list-style: none;
}
@media (max-width: 480px) { .opport-pillars { grid-template-columns: 1fr; } }
.opport-pillar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 14px;
  transition: var(--t);
}
.opport-pillar:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}
.opport-pillar-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}
.opport-pillar-text strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.opport-pillar-text span {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
}
.opport-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.opport-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}
.opport-stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px) 20px;
  text-align: center;
  transition: var(--t);
}
.opport-stat:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.opport-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.opport-stat span {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  line-height: 1.3;
}
.opport-stat:first-child {
  grid-column: 1 / -1;
}
.opport-stat:first-child strong { font-size: clamp(2.5rem, 5vw, 3.5rem); }

/* ── Consentement RGPD ──────────────────────────────────── */
.consent-label { display:flex; align-items:flex-start; gap:10px; cursor:pointer; font-weight:400; font-size:.82rem; color:#555; line-height:1.6; }
.consent-label input[type="checkbox"] { accent-color:var(--green); flex-shrink:0; width:16px; height:16px; min-width:16px; margin-top:2px; cursor:pointer; }
.consent-label span { flex:1; }
.consent-label a { color:var(--green); text-decoration:underline; transition:color .2s; }
.consent-label a:hover { color:var(--green-mid); }
.consent-label abbr { color:#dc2626; text-decoration:none; font-weight:700; }


/* == Mobile spacing optimisation ========================= */
@media (max-width: 768px) {
  .section-pad { padding: clamp(28px, 7vw, 52px) 0; }
  .section-title { margin-bottom: clamp(20px, 5vw, 36px); }
  .page-hero-mini { padding: 40px 0 32px !important; }
  .stats-band { padding: clamp(20px, 5vw, 40px) 0; }
  .promo-band { padding: clamp(24px, 5vw, 40px) 0; }
  .trust-bar { padding: 16px 0; }
  .flp-form { padding: 24px 20px; }
  .steps-grid { gap: 24px; }
  .benefits-grid { gap: 12px; }
  .benefit-item { padding: 14px; }
  .products-grid,
  .products-list-grid,
  .testi-grid { gap: 14px; }
}

/* === VOS BESOINS === */
.needs-section { background: var(--white); }
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 24px);
}
@media (max-width: 1024px) { .needs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .needs-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.need-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.5vw, 28px) 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1.5px solid transparent;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.need-card:hover {
  background: var(--white);
  border-color: rgba(92,140,26,.22);
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
}
.need-icon { font-size: 1.8rem; transition: transform .4s var(--ease-spring); }
.need-card:hover .need-icon { transform: scale(1.18) rotate(-8deg); }
.need-title { font-weight: 700; font-size: .9rem; color: var(--black); line-height: 1.3; }
.need-desc { font-size: .75rem; color: var(--gray-light); line-height: 1.4; margin: 0; }
.need-cta { font-size: .75rem; font-weight: 600; color: var(--green); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.need-card:hover .need-cta { opacity: 1; transform: translateY(0); }

/* === CERTIFICATIONS === */
.certif-band {
  background: var(--surface);
  border-top: 1px solid rgba(92,140,26,.08);
  border-bottom: 1px solid rgba(92,140,26,.08);
  padding: clamp(20px, 3vw, 36px) 0;
}
.certif-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 48px);
  flex-wrap: wrap;
}
.certif-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: var(--t); }
.certif-item:hover { transform: translateY(-3px); }
.certif-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(92,140,26,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(92,140,26,.08);
}
.certif-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--black); max-width: 76px; line-height: 1.3; }
.certif-divider { width: 1px; height: 36px; background: rgba(92,140,26,.14); }
@media (max-width: 600px) { .certif-divider { display: none; } }

/* === OPPORTUNITE FLP === */
.opportunity-section {
  background: linear-gradient(135deg, #0e2206 0%, #1c3a0c 60%, #2a5412 100%);
  position: relative; overflow: hidden;
}
.opportunity-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(92,140,26,.12) 0%, transparent 60%);
  pointer-events: none;
}
.opportunity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 768px) { .opportunity-grid { grid-template-columns: 1fr; } }
.opport-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
  list-style: none;
}
@media (max-width: 480px) { .opport-pillars { grid-template-columns: 1fr; } }
.opport-pillar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 12px;
  transition: var(--t);
}
.opport-pillar:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.opport-pillar-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1; }
.opport-pillar-text strong { display: block; font-size: .83rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.opport-pillar-text span { font-size: .73rem; color: rgba(255,255,255,.55); }
.opport-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.opport-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.opport-stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.5vw, 28px) 16px;
  text-align: center;
  transition: var(--t);
}
.opport-stat:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.opport-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.opport-stat span { font-size: .78rem; color: rgba(255,255,255,.65); line-height: 1.3; }

/* ── Parallax sections ────────────────────────────────────── */
.parallax-section { background-attachment: fixed; background-size: cover; background-position: center; }
.parallax-section > .container { position: relative; z-index: 1; }
@media (max-width: 900px) { .parallax-section { background-attachment: scroll !important; } }


/* ═══════════════════════════════════════════════════════════════════════
   CAROUSELS MOBILE PREMIUM — scroll-snap natif · ≤ 768 px uniquement
   Desktop : aucun changement · Zéro librairie · WCAG 2.1 AA compliant
   Sections couvertes : products · needs · testimonials · steps ·
                        benefits · values (toutes les pages du site)
═══════════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────────── */
:root {
  --mob-car-peek : clamp(16px, 4vw, 32px);
  --mob-car-gap  : 16px;
  --mob-car-dot-w: 6px;
  --mob-car-dot-h: 6px;
  --mob-car-dot-active-w: 26px;
  --mob-car-arr-size: 38px;
}

@media (max-width: 768px) {

  /* ════════════════════════════════════════════════════════════════
     1. GRILLES → FLEX SCROLL-SNAP HORIZONTAL
     ────────────────────────────────────────────────────────────── */
  .products-grid,
  .needs-grid,
  .testi-grid,
  .steps-grid,
  .benefits-grid,
  .values-grid {
    /* Override toutes les règles grid existantes */
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;

    /* Scroll natif avec momentum iOS */
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;

    /* Snap fluide et précis */
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--mob-car-peek);

    /* Masquer la scrollbar native */
    scrollbar-width: none;

    /* Espacement */
    gap: var(--mob-car-gap);
    padding-bottom: 6px;

    /* Débordement edge-to-edge : annule le padding du .container
       et donne un effet natif plein-écran */
    margin-left: calc(-1 * var(--mob-car-peek));
    margin-right: calc(-1 * var(--mob-car-peek));
    padding-left: var(--mob-car-peek);
    padding-right: var(--mob-car-peek);
  }

  /* Cacher la scrollbar Webkit */
  .products-grid::-webkit-scrollbar,
  .needs-grid::-webkit-scrollbar,
  .testi-grid::-webkit-scrollbar,
  .steps-grid::-webkit-scrollbar,
  .benefits-grid::-webkit-scrollbar,
  .values-grid::-webkit-scrollbar { display: none; }

  /* ════════════════════════════════════════════════════════════════
     2. LARGEUR DES CARTES — 1 slide visible + peek du suivant
     ────────────────────────────────────────────────────────────── */

  /* Cartes larges : produits · témoignages · étapes · valeurs */
  .products-grid > *,
  .testi-grid > *,
  .steps-grid > *,
  .values-grid > * {
    flex: 0 0 82vw !important;
    width: 82vw !important;
    max-width: 340px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
  }

  /* Cartes moyennes : besoins · avantages (plus compactes) */
  .needs-grid > *,
  .benefits-grid > * {
    flex: 0 0 74vw !important;
    width: 74vw !important;
    max-width: 300px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
  }

  /* ════════════════════════════════════════════════════════════════
     3. WRAPPER INJECTÉ PAR JS
     ────────────────────────────────────────────────────────────── */
  .mob-car-wrap {
    position: relative;
    overflow: visible;
  }

  /* ════════════════════════════════════════════════════════════════
     4. BARRE DE NAVIGATION  (dots · flèches · counter)
     ────────────────────────────────────────────────────────────── */
  .mob-car-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
  }

  /* ── Dots pills (style hérité du hero carousel) ──────────────── */
  .mob-car-dots {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .mob-car-dot {
    width: var(--mob-car-dot-w);
    height: var(--mob-car-dot-h);
    border-radius: calc(var(--mob-car-dot-h) / 2);
    background: rgba(46, 125, 79, .18);
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition:
      width   .42s cubic-bezier(.22, 1, .36, 1),
      background .36s ease;
  }

  .mob-car-dot.active {
    width: var(--mob-car-dot-active-w);
    background: var(--green, #2E7D4F);
  }

  .mob-car-dot:hover:not(.active) {
    background: rgba(46, 125, 79, .40);
  }

  .mob-car-dot:focus-visible {
    outline: 2px solid var(--green, #2E7D4F);
    outline-offset: 3px;
    border-radius: 4px;
  }

  /* ── Flèches prev / next ─────────────────────────────────────── */
  .mob-car-arrow {
    width: var(--mob-car-arr-size);
    height: var(--mob-car-arr-size);
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(46, 125, 79, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: var(--green, #2E7D4F);
    box-shadow:
      0 2px 8px  rgba(46, 125, 79, .10),
      0 1px 3px  rgba(0, 0, 0, .06);
    transition:
      background     .22s ease,
      border-color   .22s ease,
      color          .22s ease,
      box-shadow     .22s ease,
      transform      .22s cubic-bezier(.34, 1.56, .64, 1);
    flex-shrink: 0;
  }

  .mob-car-arrow:hover {
    background: var(--green, #2E7D4F);
    border-color: var(--green, #2E7D4F);
    color: #fff;
    transform: scale(1.12);
    box-shadow:
      0 6px 20px rgba(46, 125, 79, .30),
      0 2px 8px  rgba(46, 125, 79, .15);
  }

  .mob-car-arrow:active { transform: scale(.90); }

  .mob-car-arrow[disabled] {
    opacity: .28;
    pointer-events: none;
  }

  .mob-car-arrow svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    flex-shrink: 0;
  }

  /* ── Counter ─────────────────────────────────────────────────── */
  .mob-car-counter {
    font-size: .68rem;
    font-weight: 700;
    color: var(--gray, #6B7280);
    letter-spacing: .07em;
    min-width: 32px;
    text-align: center;
    user-select: none;
    font-variant-numeric: tabular-nums;
  }

  /* ════════════════════════════════════════════════════════════════
     5. ACCESSIBILITÉ — reduced motion
     ────────────────────────────────────────────────────────────── */
  @media (prefers-reduced-motion: reduce) {
    .products-grid,
    .needs-grid,
    .testi-grid,
    .steps-grid,
    .benefits-grid,
    .values-grid {
      scroll-behavior: auto !important;
    }
    .mob-car-dot,
    .mob-car-arrow {
      transition: none !important;
    }
  }

} /* end @media (max-width: 768px) */

/* ── Fix offsetParent : grilles positionnées pour calcul offsetLeft correct ── */
@media (max-width: 768px) {
  .products-grid,
  .needs-grid,
  .testi-grid,
  .steps-grid,
  .benefits-grid,
  .values-grid {
    position: relative;
  }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE CAROUSEL — Correctifs v2
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Fix 1 — Masquer les connecteurs SVG de .steps-grid
     Ces pseudo-éléments (lignes entre étapes) sont positionnés
     pour une grille 3 colonnes ; ils cassent dans un carousel. */
  .steps-grid::before,
  .steps-grid::after {
    display: none !important;
  }

  /* Fix 2 — Désactiver animate-up à l'intérieur des carousels
     Sans ce fix, les cartes hors-viewport (opacity:0) restent
     invisibles pendant le scroll-snap → expérience cassée.
     L'IntersectionObserver observe le viewport, pas le conteneur
     overflow-x, donc le threshold 0.12 n'est jamais atteint. */
  .mob-car-wrap .animate-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* ── R2 : Zone tactile étendue sur les dots (WCAG min 44×44px) ── */
  .mob-car-dot {
    position: relative;
  }
  .mob-car-dot::before {
    content: '';
    position: absolute;
    inset: -8px; /* tap target étendu à 22px (6+8+8) de chaque côté */
  }

  /* ── R4 : Bouton autoplay play/pause ──────────────────────────── */
  .mob-car-playpause {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(46, 125, 79, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: rgba(46, 125, 79, .45);
    transition:
      color        .22s ease,
      border-color .22s ease,
      background   .22s ease;
    flex-shrink: 0;
    margin-left: 2px;
  }

  .mob-car-playpause svg {
    width: 9px;
    height: 9px;
    pointer-events: none;
    flex-shrink: 0;
  }

  .mob-car-playpause.paused {
    color: var(--green, #2E7D4F);
    border-color: rgba(46, 125, 79, .45);
  }

  .mob-car-playpause:hover {
    color: var(--green, #2E7D4F);
    border-color: rgba(46, 125, 79, .45);
    background: rgba(46, 125, 79, .06);
  }

  .mob-car-playpause:focus-visible {
    outline: 2px solid var(--green, #2E7D4F);
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    .mob-car-playpause { display: none; }
  }

}

/* ══════════════════════════════════════════════════════════════
   LA BOUTIQUE FOREVER — FLP Official Style
══════════════════════════════════════════════════════════════ */

.flp-shop {
  background: #f7f6f4;
  padding: 60px 0;
}

.flp-shop-title {
  text-align: center;
  margin-bottom: 32px;
}
.flp-shop-line1 {
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1a1a1a;
  margin: 0 0 6px;
  font-family: var(--font-sans);
}
.flp-shop-line2 {
  font-size: 1rem;
  font-weight: 300;
  color: #555;
  margin: 0;
}

.flp-shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.flp-shop-nav {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  flex: 1;
  border-bottom: 1px solid #e4e0d8;
}
.flp-shop-nav::-webkit-scrollbar { display: none; }

.flp-shop-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 20px;
  font-size: .92rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
  font-family: var(--font-sans);
}
.flp-shop-tab:hover { color: #74aa50; }
.flp-shop-tab--active {
  border-bottom-color: #74aa50;
  color: #74aa50;
  font-weight: 700;
}

.flp-shop-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: #392b26;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 12px;
  transition: color .2s ease;
}
.flp-shop-visit:hover { color: #74aa50; }
.flp-shop-visit svg { width: 16px; height: 16px; }

.flp-shop-panel {
  display: none;
  position: relative;
  padding: 0 24px;
}
.flp-shop-panel--active { display: block; }

.flp-shop-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
}
.flp-shop-track::-webkit-scrollbar { display: none; }

.flp-prod-card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 200px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
  box-shadow: 0 2px 10px rgba(57,43,38,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.flp-prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(57,43,38,.14);
}

.flp-prod-img {
  background: #fcf8f3;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.flp-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .4s ease;
}
.flp-prod-card:hover .flp-prod-img img { transform: scale(1.05); }

.flp-prod-info {
  padding: 12px 14px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.flp-prod-name {
  font-size: .88rem;
  font-weight: 700;
  color: #392b26;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.flp-prod-price {
  font-size: .95rem;
  font-weight: 800;
  color: #392b26;
  margin: 0;
}
.flp-prod-stars {
  font-size: .78rem;
  color: #ffc600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.flp-prod-count {
  font-size: .72rem;
  color: #888;
}

.flp-prod-btn {
  display: block;
  margin: 12px 14px 14px;
  padding: 9px 0;
  background: #ffc600;
  color: #392b26;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 8px;
  transition: background .2s ease;
  flex-shrink: 0;
}
.flp-prod-card:hover .flp-prod-btn { background: #e6b200; }

.flp-shop-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #d9d1c8;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  color: #392b26;
}
.flp-shop-arrow:hover { background: #74aa50; border-color: #74aa50; color: #fff; }
.flp-shop-arrow svg { width: 18px; height: 18px; pointer-events: none; }
.flp-shop-arrow--prev { left: -20px; }
.flp-shop-arrow--next { right: -20px; }

.flp-shop-footer {
  text-align: center;
  margin-top: 40px;
}
.flp-shop-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--green, #2E7D4F), var(--green-mid, #3d9962));
  color: #fff;
  border-radius: 40px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(46,125,79,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.flp-shop-footer-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(46,125,79,.42); }

@media (max-width: 768px) {
  .flp-shop { padding: 40px 0; }
  .flp-shop-header { gap: 0; }
  .flp-shop-nav { width: 100%; flex: none; }
  .flp-shop-tab { padding: 10px 16px; font-size: .85rem; }
  .flp-prod-card { width: 162px; }
  .flp-shop-panel { padding: 0 16px; }
  .flp-shop-arrow--prev { left: -16px; }
  .flp-shop-arrow--next { right: -16px; }
  .flp-shop-arrow { width: 34px; height: 34px; }
  .flp-shop-arrow svg { width: 15px; height: 15px; }
}
@media (max-width: 480px) {
  .flp-shop { padding: 30px 0; }
  .flp-shop-line1 { font-size: 1.25rem; }
  .flp-shop-tab { padding: 10px 12px; font-size: .8rem; }
  .flp-prod-card { width: 148px; }
  .flp-shop-panel { padding: 0 12px; }
  .flp-shop-footer-btn { padding: 12px 28px; font-size: .85rem; }
}

/* ═══════════════════════════════════════════════════════════
   HARMONISATION COULEUR BOUTONS — Jaune doré #ffc600
   Modèle : bouton "Commander" (.flp-prod-btn) section Boutique
═══════════════════════════════════════════════════════════ */
.btn-primary,
.btn-gold {
  background: #ffc600 !important;
  color: #392b26 !important;
  box-shadow: 0 4px 20px rgba(255,198,0,.35) !important;
}
.btn-primary:hover,
.btn-gold:hover {
  background: #e6b200 !important;
  box-shadow: 0 8px 32px rgba(255,198,0,.45) !important;
}
.btn-product {
  background: #ffc600 !important;
  color: #392b26 !important;
}
.btn-product:hover {
  box-shadow: 0 8px 24px rgba(255,198,0,.4) !important;
}
.btn-get-code {
  background: #ffc600 !important;
  color: #392b26 !important;
  box-shadow: 0 4px 20px rgba(255,198,0,.35) !important;
}
.btn-get-code:hover {
  background: #e6b200 !important;
  box-shadow: 0 8px 32px rgba(255,198,0,.45) !important;
}

/* ═══════════════════════════════════════════════════════════
   MOB-CAR BOUTIQUE STYLE — Harmonisation globale ≤768px
   Flèches overlay + dots ronds verts + sans compteur/play
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Counter + play/pause masqués */
  .mob-car-counter,
  .mob-car-playpause { display: none !important; }

  /* Dots ronds style boutique (annule le pill pill) */
  .mob-car-dot {
    width: 8px !important; height: 8px !important;
    border-radius: 50% !important;
    background: rgba(92,140,26,.22) !important;
    transition: background .3s, transform .3s !important;
  }
  .mob-car-dot.active {
    width: 8px !important;
    background: var(--green) !important;
    transform: scale(1.35) !important;
  }

  /* Nav centrée */
  .mob-car-nav { justify-content: center !important; gap: 0 !important; }

  /* Flèches overlay quand déplacées dans .mob-car-wrap */
  .mob-car-wrap .mob-car-prev,
  .mob-car-wrap .mob-car-next {
    position: absolute !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
    width: 40px !important; height: 40px !important;
    border-radius: 50% !important;
    border: 1.5px solid #d9d1c8 !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important; justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
    color: #392b26 !important;
    padding: 0 !important;
  }
  .mob-car-wrap .mob-car-prev { left: 8px !important; }
  .mob-car-wrap .mob-car-next { right: 8px !important; }

  /* Expertise digitale (page devenir-distributeur) */
  .expertise-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0 !important;
  }
  .expertise-grid::-webkit-scrollbar { display: none; }
  .expertise-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start;
    box-sizing: border-box !important;
  }
}
