/* ============================================================
   BOXYBAG NATURE KIDS — Doux & Éco-friendly
   Palette : Terre Cuite · Beige · Vert Sauge
   Fonts   : Lora (serif chaud) + Nunito (rounded sans)
   Mobile-first · Animations fluides
   ============================================================ */

/* ===== DESIGN SYSTEM ===== */
:root {
  /* Couleurs */
  --terra:        #C17F5B;
  --terra-dark:   #9A5E3C;
  --terra-light:  #DDA882;
  --terra-pale:   #F5E8DC;
  --sage:         #6B9E72;
  --sage-dark:    #4E7558;
  --sage-light:   #A3C4A8;
  --sage-pale:    #E8F2E9;
  --beige:        #F0E6D3;
  --beige-dark:   #DCCFB8;
  --cream:        #FAF7F2;
  --brown:        #3A2A1E;
  --brown-soft:   #7A5C48;
  --line:         #E5D8C8;
  --white:        #FFFFFF;
  --text:         #3A2A1E;
  --text-muted:   #8A7060;

  /* Typographie */
  --font-serif: 'Lora', Georgia, serif;
  --font-body:  'Nunito', 'Arial Rounded MT Bold', sans-serif;

  /* Rayons */
  --r-sm:  10px;
  --r-md:  20px;
  --r-lg:  32px;
  --r-xl:  999px;

  /* Ombres */
  --shadow-sm:    0 2px 12px rgba(58,42,30,0.07);
  --shadow-md:    0 6px 28px rgba(58,42,30,0.10);
  --shadow-lg:    0 16px 56px rgba(58,42,30,0.14);
  --shadow-terra: 0 6px 24px rgba(193,127,91,0.35);
  --shadow-sage:  0 6px 24px rgba(107,158,114,0.32);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    all 0.35s var(--ease);
  --t-slow: all 0.65s var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a   { text-decoration: none; color: inherit; transition: var(--t); }
img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.bb-section    { padding: 64px 0; }
.bb-section-lg { padding: 96px 0; }
@media (min-width: 768px) {
  .bb-section    { padding: 96px 0; }
  .bb-section-lg { padding: 120px 0; }
}

.bb-section-header { text-align: center; margin-bottom: 48px; }
@media (min-width: 768px) { .bb-section-header { margin-bottom: 64px; } }

.bb-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: var(--sage-pale);
  padding: 6px 16px;
  border-radius: var(--r-xl);
  margin-bottom: 14px;
}
.bb-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  color: var(--brown);
  margin-bottom: 14px;
}
.bb-section-title em { color: var(--terra); font-style: italic; }
.bb-section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.8;
}
.bb-section-cta { text-align: center; margin-top: 44px; }

/* Ligne décorative */
.bb-leaf-divider {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; margin-bottom: 16px;
  font-size: 1.1rem; color: var(--sage);
}
.bb-leaf-divider::before,
.bb-leaf-divider::after {
  content: '';
  flex: 1; max-width: 48px;
  height: 1px; background: var(--sage-light);
}

/* ===== BOUTONS ===== */
.bb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--r-xl);
  border: 2px solid transparent;
  transition: var(--t);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
/* Terra */
.bb-btn-terra {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
  box-shadow: var(--shadow-terra);
}
.bb-btn-terra:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(193,127,91,0.45);
}
/* Sage */
.bb-btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
  box-shadow: var(--shadow-sage);
}
.bb-btn-sage:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
  transform: translateY(-2px);
}
/* Outline terra */
.bb-btn-outline {
  background: transparent;
  color: var(--terra);
  border-color: var(--terra);
}
.bb-btn-outline:hover {
  background: var(--terra);
  color: var(--white);
  transform: translateY(-2px);
}
/* Blanc */
.bb-btn-white {
  background: var(--white);
  color: var(--brown);
  border-color: var(--white);
}
.bb-btn-white:hover {
  background: var(--beige);
  transform: translateY(-2px);
}
.bb-btn-sm { padding: 10px 22px; font-size: 0.82rem; }

/* ===== HEADER ===== */
.bb-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; transition: var(--t);
}
.bb-topbar {
  background: var(--sage-dark);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 9px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.bb-topbar strong { color: var(--terra-pale); }
.bb-topbar a { color: var(--terra-light); }

.bb-header-main {
  background: rgba(250,247,242,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid transparent;
  transition: var(--t);
  box-shadow: var(--shadow-sm);
}
.bb-header.scrolled .bb-header-main { border-bottom-color: var(--beige-dark); }

.bb-header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px; gap: 16px;
}
@media (min-width: 768px) { .bb-header-inner { height: 76px; } }

/* Logo */
.bb-logo a { display: flex; align-items: center; gap: 8px; }
.bb-logo img { max-height: 52px; width: auto; }
.bb-logo .bb-site-name {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 1.4rem;
  color: var(--brown);
}

/* Navigation desktop */
.bb-nav { display: none; }
@media (min-width: 900px) { .bb-nav { display: block; } }
.bb-nav ul { display: flex; align-items: center; gap: 4px; }
.bb-nav ul li a {
  display: block; padding: 8px 14px;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  color: var(--brown-soft); border-radius: var(--r-sm);
  transition: var(--t); position: relative;
}
.bb-nav ul li a:hover,
.bb-nav ul li.current-menu-item > a {
  color: var(--terra); background: var(--terra-pale);
}

/* Header actions */
.bb-header-actions { display: flex; align-items: center; gap: 10px; }
.bb-cart-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--r-xl);
  background: var(--terra); color: var(--white);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  transition: var(--t); position: relative;
}
.bb-cart-btn:hover { background: var(--terra-dark); transform: scale(1.04); }
.bb-cart-count {
  background: var(--white); color: var(--terra);
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800;
}

/* Mobile toggle */
.bb-mobile-toggle {
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: var(--beige); border-radius: var(--r-sm);
  transition: var(--t);
}
@media (min-width: 900px) { .bb-mobile-toggle { display: none; } }
.bb-mobile-toggle span {
  display: block; height: 2px;
  background: var(--brown); border-radius: 2px;
  transition: var(--t); transform-origin: center;
}
.bb-mobile-toggle.active { background: var(--terra-pale); }
.bb-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--terra); }
.bb-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.bb-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--terra); }

/* Mobile nav overlay */
.bb-mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--cream); z-index: 990;
  flex-direction: column; padding: 100px 28px 40px;
  overflow-y: auto; animation: bbFadeIn 0.25s ease;
}
.bb-mobile-nav.active { display: flex; }
.bb-mobile-nav ul { flex-direction: column; width: 100%; }
.bb-mobile-nav ul li { border-bottom: 1px solid var(--line); }
.bb-mobile-nav ul li a {
  display: block; padding: 18px 4px;
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700;
  color: var(--brown); transition: var(--t);
}
.bb-mobile-nav ul li a:hover { color: var(--terra); padding-left: 10px; }
.bb-mobile-nav-actions {
  margin-top: auto; padding-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
}

/* ===== HERO ===== */
.bb-hero {
  background: linear-gradient(160deg, var(--cream) 0%, var(--beige) 60%, var(--sage-pale) 100%);
  padding-top: 120px; padding-bottom: 56px;
  position: relative; overflow: hidden;
  min-height: 92vh; display: flex; align-items: center;
}
@media (min-width: 768px) { .bb-hero { padding-top: 130px; padding-bottom: 80px; } }

/* Feuilles décoratives flottantes */
.bb-leaf {
  position: absolute; pointer-events: none; user-select: none;
  animation: bbLeafFloat 6s ease-in-out infinite;
  line-height: 1;
}
.bb-leaf-1  { font-size: 2.8rem; top: 12%; left: 3%;  animation-delay: 0s; }
.bb-leaf-2  { font-size: 1.8rem; top: 28%; right: 5%; animation-delay: 1.5s; }
.bb-leaf-3  { font-size: 2.2rem; bottom: 20%; left: 8%; animation-delay: 3s; }
.bb-leaf-4  { font-size: 1.5rem; top: 60%; right: 3%; animation-delay: 0.8s; }
.bb-leaf-5  { font-size: 1.2rem; top: 8%;  left: 55%; animation-delay: 2.2s; }

/* Layout hero */
.bb-hero-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; align-items: center; position: relative; z-index: 1;
}
@media (min-width: 900px) {
  .bb-hero-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
}

/* Sur mobile l'image passe en premier */
.bb-hero-visual { order: -1; }
@media (min-width: 900px) { .bb-hero-visual { order: 0; } }

.bb-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sage-pale); color: var(--sage-dark);
  padding: 7px 18px; border-radius: var(--r-xl);
  font-weight: 700; font-size: 0.82rem; margin-bottom: 18px;
  border: 1px solid var(--sage-light);
  width: fit-content;
}
.bb-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7vw, 3.8rem);
  color: var(--brown); margin-bottom: 18px; line-height: 1.15;
}
.bb-hero-title em { color: var(--terra); font-style: italic; }
.bb-hero-subtitle {
  font-size: 1rem; color: var(--text-muted);
  max-width: 440px; margin-bottom: 32px; line-height: 1.8;
}
.bb-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.bb-hero-trust {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.84rem; color: var(--text-muted); font-weight: 600;
}
.bb-hero-trust .stars { color: var(--terra); letter-spacing: 2px; }

/* Image blob organique */
.bb-hero-visual { display: flex; align-items: center; justify-content: center; }
.bb-blob-wrap {
  position: relative;
  width: min(340px, 90vw);
}
@media (min-width: 768px) { .bb-blob-wrap { width: 400px; } }

.bb-blob {
  width: 100%;
  padding-top: 110%; /* aspect ratio */
  position: relative;
  border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 60%, var(--sage-dark) 100%);
  animation: bbBlobMorph 9s ease-in-out infinite;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(107,158,114,0.3);
}
.bb-blob img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.bb-blob:hover img { transform: scale(1.04); }
.bb-blob-emoji {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 7rem;
}

/* Badge flottant au bas du blob */
.bb-blob-badge {
  position: absolute; bottom: -18px; left: 50%;
  transform: translateX(-50%);
  background: var(--white); border-radius: var(--r-xl);
  padding: 10px 22px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.82rem; color: var(--sage-dark);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 6px;
  animation: bbFloatBadge 4s ease-in-out infinite;
  border: 1px solid var(--sage-pale);
  z-index: 2;
}

/* Tag coin haut-droite */
.bb-blob-tag {
  position: absolute; top: 14px; right: -10px;
  background: var(--terra); color: var(--white);
  padding: 6px 16px; border-radius: var(--r-xl);
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.75rem; letter-spacing: 1px;
  box-shadow: var(--shadow-terra);
  z-index: 2;
}

/* Feuilles autour du blob */
.bb-blob-leaf {
  position: absolute; pointer-events: none;
  animation: bbLeafFloat 5s ease-in-out infinite;
}
.bb-blob-leaf-1 { font-size: 2rem; top: -10%; left: -12%; animation-delay: 0s; }
.bb-blob-leaf-2 { font-size: 1.5rem; bottom: 8%; right: -10%; animation-delay: 2s; }
.bb-blob-leaf-3 { font-size: 1.8rem; top: 40%; right: -14%; animation-delay: 1s; }

/* ===== BENEFITS ===== */
.bb-benefits { background: var(--sage-dark); padding: 0; }
.bb-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .bb-benefits-grid { grid-template-columns: repeat(4, 1fr); } }

.bb-benefit-item {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 28px 20px; gap: 10px;
  background: var(--sage-dark); transition: var(--t);
}
@media (min-width: 768px) { .bb-benefit-item { padding: 36px 24px; } }
.bb-benefit-item:hover { background: rgba(255,255,255,0.06); }
.bb-benefit-icon {
  font-size: 1.8rem; margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.1); border-radius: 50%;
}
.bb-benefit-text strong {
  display: block; font-family: var(--font-body);
  font-weight: 700; font-size: 0.9rem; color: var(--white); margin-bottom: 3px;
}
.bb-benefit-text span { font-size: 0.76rem; color: rgba(255,255,255,0.55); }

/* Vague entre sections */
.bb-wave { line-height: 0; overflow: hidden; }
.bb-wave svg { display: block; width: 100%; }

/* ===== CATÉGORIES ===== */
.bb-categories { background: var(--cream); }
.bb-cat-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .bb-cat-grid { grid-template-columns: repeat(3, 1fr); } }

.bb-cat-card {
  display: block; position: relative;
  border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 3/4; transition: var(--t-slow);
  box-shadow: var(--shadow-md);
}
@media (max-width: 599px) { .bb-cat-card { aspect-ratio: 3/2; } }
.bb-cat-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }

/* Fond coloré de la carte */
.bb-cat-bg {
  position: absolute; inset: 0;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 14%;
  transition: transform 0.7s var(--ease);
}
.bb-cat-card.cat-bags  .bb-cat-bg { background: linear-gradient(160deg, #F5E8DC 0%, #DCC4A8 100%); }
.bb-cat-card.cat-lunch .bb-cat-bg { background: linear-gradient(160deg, #E8F2E9 0%, #B8D8BE 100%); }
.bb-cat-card.cat-baby  .bb-cat-bg { background: linear-gradient(160deg, #F2EBE0 0%, #D8C4AC 100%); }
.bb-cat-card:hover .bb-cat-bg { transform: scale(1.06); }

/* Cercle blanc uniforme autour de l'icône */
.bb-cat-icon {
  width: 96px; height: 96px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem; line-height: 1;
  box-shadow: 0 6px 24px rgba(58,42,30,0.12);
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}
@media (min-width: 768px) { .bb-cat-icon { width: 110px; height: 110px; font-size: 3.8rem; } }
.bb-cat-card:hover .bb-cat-icon { transform: scale(1.1) rotate(-4deg); }

/* Image WooCommerce par-dessus si disponible */
.bb-cat-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.bb-cat-card:hover img { transform: scale(1.05); }

/* Overlay texte en bas */
.bb-cat-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 0%, rgba(40,25,14,0.88) 100%);
  padding: 48px 22px 22px; color: var(--white);
}
.bb-cat-label-sm {
  font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--sage-light); display: block; margin-bottom: 5px; font-weight: 600;
}
.bb-cat-name {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  margin-bottom: 3px; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.bb-cat-count { font-size: 0.78rem; color: rgba(255,255,255,0.6); display: block; margin-bottom: 14px; }
.bb-cat-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--terra); color: var(--white);
  padding: 8px 18px; border-radius: var(--r-xl);
  font-size: 0.8rem; font-weight: 700;
  transition: var(--t);
  box-shadow: 0 3px 12px rgba(193,127,91,0.4);
}
.bb-cat-cta:hover { background: var(--terra-dark); transform: translateX(3px); }

/* ===== PRODUITS ===== */
.bb-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 600px)  { .bb-products-grid { gap: 20px; } }
@media (min-width: 768px)  { .bb-products-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .bb-products-grid { grid-template-columns: repeat(4, 1fr); } }

.bb-product-card {
  background: var(--white); border-radius: var(--r-md);
  overflow: hidden; transition: var(--t);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  display: flex; flex-direction: column;
}
.bb-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(193,127,91,0.18);
  border-color: var(--terra-light);
}
.bb-product-image {
  position: relative; aspect-ratio: 4/5;
  overflow: hidden; background: var(--beige);
}
.bb-product-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.bb-product-card:hover .bb-product-image img { transform: scale(1.07); }
.bb-product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; background: var(--beige);
}
.bb-sale-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--terra); color: var(--white);
  padding: 4px 12px; border-radius: var(--r-xl);
  font-size: 0.72rem; font-weight: 700; z-index: 2;
}
.bb-new-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--sage); color: var(--white);
  padding: 4px 12px; border-radius: var(--r-xl);
  font-size: 0.72rem; font-weight: 700; z-index: 2;
}
.bb-product-overlay {
  position: absolute; inset: 0;
  background: rgba(58,42,30,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--t);
}
.bb-product-card:hover .bb-product-overlay { opacity: 1; }
.bb-atc-btn {
  background: var(--white); color: var(--brown);
  padding: 11px 22px; border-radius: var(--r-xl);
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.82rem; transition: var(--t);
  transform: translateY(10px); display: inline-block;
  border: none; cursor: pointer;
}
.bb-product-card:hover .bb-atc-btn { transform: translateY(0); }
.bb-atc-btn:hover { background: var(--terra); color: var(--white); }
.bb-product-info { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.bb-product-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 0.92rem; color: var(--brown);
  margin-bottom: 8px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bb-product-title a { color: inherit; }
.bb-product-title a:hover { color: var(--terra); }
.bb-product-price { display: flex; align-items: center; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.bb-price { font-weight: 800; font-size: 1rem; color: var(--terra); }
.bb-price-old { font-size: 0.82rem; color: var(--text-muted); text-decoration: line-through; }

/* ===== BANNIÈRE PROMO ===== */
.bb-promo {
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 100%);
  padding: 60px 0; text-align: center; position: relative; overflow: hidden;
}
@media (min-width: 768px) { .bb-promo { padding: 80px 0; } }
.bb-promo::before {
  content: '🌿';
  position: absolute; font-size: 18rem; opacity: 0.06;
  left: -4%; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.bb-promo::after {
  content: '🌿';
  position: absolute; font-size: 14rem; opacity: 0.06;
  right: -2%; bottom: -20%; pointer-events: none;
}
.bb-promo-inner { position: relative; z-index: 1; }
.bb-promo-tag {
  display: inline-block; background: rgba(255,255,255,0.2);
  color: var(--white); padding: 6px 18px; border-radius: var(--r-xl);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 16px;
}
.bb-promo-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  color: var(--white); margin-bottom: 14px; font-weight: 700;
}
.bb-promo-text {
  color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-bottom: 28px;
  max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.8;
}
.bb-promo-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===== VALEURS ===== */
.bb-values { background: var(--beige); }
.bb-values-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .bb-values-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.bb-value-item {
  background: var(--white); border-radius: var(--r-md);
  padding: 36px 32px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--t);
  border: 1.5px solid var(--line);
}
.bb-value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--terra-light); }
.bb-value-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }
.bb-value-title { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 10px; color: var(--brown); }
.bb-value-desc  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.85; }

/* ===== TÉMOIGNAGES ===== */
.bb-testimonials { background: var(--cream); }
.bb-testi-grid {
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .bb-testi-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.bb-testi-card {
  background: var(--white); border-radius: var(--r-md);
  padding: 32px; border: 1.5px solid var(--line);
  transition: var(--t); position: relative;
  border-top: 4px solid var(--sage-light);
}
.bb-testi-card:nth-child(2) { border-top-color: var(--terra-light); }
.bb-testi-card:nth-child(3) { border-top-color: var(--beige-dark); }
.bb-testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-top-color: var(--sage); }
.bb-testi-card:nth-child(2):hover { border-top-color: var(--terra); }
.bb-testi-stars { color: var(--terra); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 14px; }
.bb-testi-text {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.96rem; line-height: 1.85; margin-bottom: 20px; color: var(--brown-soft);
}
.bb-testi-author { display: flex; align-items: center; gap: 12px; }
.bb-testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--white); font-weight: 800; flex-shrink: 0;
}
.bb-av-1 { background: linear-gradient(135deg, var(--terra), var(--terra-dark)); }
.bb-av-2 { background: linear-gradient(135deg, var(--sage),  var(--sage-dark));  }
.bb-av-3 { background: linear-gradient(135deg, var(--terra-light), var(--terra)); }
.bb-testi-name { font-weight: 700; font-size: 0.88rem; color: var(--brown); }
.bb-testi-city { font-size: 0.78rem; color: var(--text-muted); }

/* ===== NEWSLETTER ===== */
.bb-newsletter {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--brown) 100%);
  padding: 72px 0; position: relative; overflow: hidden;
}
@media (min-width: 768px) { .bb-newsletter { padding: 100px 0; } }
.bb-newsletter::before {
  content: '🌱'; position: absolute;
  font-size: 20rem; opacity: 0.04;
  right: 2%; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.bb-newsletter-inner { position: relative; z-index: 1; text-align: center; max-width: 520px; margin: 0 auto; }
.bb-newsletter-tag {
  display: inline-block; background: rgba(255,255,255,0.12);
  color: var(--terra-light); padding: 6px 18px; border-radius: var(--r-xl);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 18px;
}
.bb-newsletter-title {
  font-family: var(--font-serif); font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--white); margin-bottom: 12px;
}
.bb-newsletter-sub {
  font-size: 0.92rem; color: rgba(255,255,255,0.6);
  margin-bottom: 32px; line-height: 1.8;
}
.bb-newsletter-form {
  display: flex; gap: 0; flex-direction: column;
  border-radius: var(--r-md); overflow: hidden;
}
@media (min-width: 540px) { .bb-newsletter-form { flex-direction: row; } }
.bb-newsletter-input {
  flex: 1; padding: 15px 22px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-right: none; color: var(--white);
  font-size: 0.95rem; outline: none; transition: var(--t);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
@media (min-width: 540px) { .bb-newsletter-input { border-radius: var(--r-md) 0 0 var(--r-md); border-right: none; } }
.bb-newsletter-input::placeholder { color: rgba(255,255,255,0.45); }
.bb-newsletter-input:focus { background: rgba(255,255,255,0.2); border-color: var(--terra-light); }
.bb-newsletter-btn {
  padding: 15px 28px; background: var(--terra);
  border: none; color: var(--white); font-family: var(--font-body);
  font-weight: 700; font-size: 0.9rem; cursor: pointer;
  transition: var(--t); white-space: nowrap; flex-shrink: 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
}
@media (min-width: 540px) { .bb-newsletter-btn { border-radius: 0 var(--r-md) var(--r-md) 0; } }
.bb-newsletter-btn:hover { background: var(--terra-dark); }
.bb-newsletter-note { margin-top: 14px; font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* ===== FOOTER ===== */
.bb-footer { background: var(--brown); color: rgba(255,255,255,0.7); }
.bb-footer-top { padding: 64px 0 48px; }
@media (min-width: 768px) { .bb-footer-top { padding: 80px 0 60px; } }
.bb-footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .bb-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bb-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; } }

.bb-footer-brand p { font-size: 0.86rem; line-height: 1.85; opacity: 0.55; margin: 16px 0 24px; }
.bb-footer-brand .bb-site-name {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 1.6rem; color: var(--white); display: block;
}
.bb-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.bb-social-link {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--t); color: rgba(255,255,255,0.5);
}
.bb-social-link:hover { background: var(--terra); color: var(--white); transform: scale(1.1); }
.bb-footer-col h4 {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--terra-light); margin-bottom: 18px;
}
.bb-footer-links li { margin-bottom: 10px; }
.bb-footer-links a { font-size: 0.86rem; opacity: 0.5; transition: var(--t); }
.bb-footer-links a:hover { opacity: 1; color: var(--terra-light); }
.bb-footer-contact-item {
  display: flex; gap: 8px; margin-bottom: 12px;
  font-size: 0.86rem; opacity: 0.5; line-height: 1.5;
}
.bb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}
.bb-footer-bottom-inner {
  display: flex; flex-direction: column; gap: 12px; text-align: center;
}
@media (min-width: 768px) {
  .bb-footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.bb-footer-copyright { font-size: 0.78rem; opacity: 0.35; }
.bb-payment-methods { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
@media (min-width: 768px) { .bb-payment-methods { justify-content: flex-end; } }
.bb-payment-badge {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 12px; font-size: 0.72rem;
  color: rgba(255,255,255,0.4); border-radius: 6px;
}

/* ===== INNER PAGES ===== */
.bb-page-hero {
  background: linear-gradient(135deg, var(--beige), var(--cream));
  padding: 130px 0 64px; text-align: center;
  border-bottom: 1px solid var(--line);
}
.bb-page-hero-title {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 5vw, 3rem); color: var(--brown);
}
.bb-breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 14px; flex-wrap: wrap; letter-spacing: 1px;
}
.bb-breadcrumb a { color: var(--terra); }
.bb-page-content-wrap { padding: 64px 0; }
.bb-page-content-wrap .entry-content p { margin-bottom: 18px; line-height: 1.9; }
.bb-page-content-wrap .entry-content h2 { font-family: var(--font-serif); font-size: 1.7rem; color: var(--brown); margin: 36px 0 16px; }
.bb-page-content-wrap .entry-content a { color: var(--terra); text-decoration: underline; }

/* ===== 404 ===== */
.bb-404-wrap {
  min-height: 80vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 130px 24px 80px; background: var(--cream);
}
.bb-404-emoji { font-size: 5rem; margin-bottom: 16px; }
.bb-404-code  {
  font-family: var(--font-serif); font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700; color: var(--beige-dark); line-height: 1; margin-bottom: 18px;
}
.bb-404-title { font-family: var(--font-serif); font-size: 2rem; color: var(--brown); margin-bottom: 14px; }
.bb-404-text  { color: var(--text-muted); margin-bottom: 36px; font-size: 0.95rem; }

/* ===== SCROLL TO TOP ===== */
.bb-scroll-top {
  position: fixed; bottom: 24px; right: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--terra); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: var(--shadow-terra);
  transition: var(--t); opacity: 0; pointer-events: none;
  z-index: 900; cursor: pointer; border: none;
}
@media (min-width: 768px) { .bb-scroll-top { bottom: 32px; right: 32px; } }
.bb-scroll-top.visible { opacity: 1; pointer-events: all; }
.bb-scroll-top:hover { background: var(--terra-dark); transform: translateY(-4px) scale(1.1); }

/* ===== ANIMATIONS ===== */
@keyframes bbLeafFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(8deg); }
  66%       { transform: translateY(-8px) rotate(-5deg); }
}
@keyframes bbBlobMorph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%; }
  33%       { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  66%       { border-radius: 50% 50% 60% 40% / 40% 60% 45% 55%; }
}
@keyframes bbFloatBadge {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-7px); }
}
@keyframes bbFadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes bbFadeInUp  {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bbScaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes bbPulse {
  0%, 100% { box-shadow: var(--shadow-terra); }
  50%       { box-shadow: 0 0 0 8px rgba(193,127,91,0.15), var(--shadow-terra); }
}

/* Scroll reveal */
.bb-animate {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.bb-animate.bb-visible { opacity: 1; transform: translateY(0); }
.bb-animate-delay-1 { transition-delay: 0.10s; }
.bb-animate-delay-2 { transition-delay: 0.20s; }
.bb-animate-delay-3 { transition-delay: 0.30s; }
.bb-animate-delay-4 { transition-delay: 0.40s; }
.bb-animate-scale {
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.bb-animate-scale.bb-visible { opacity: 1; transform: scale(1); }

/* ===== ELEMENTOR ===== */
body.elementor-page .bb-page-hero        { display: none; }
body.elementor-page .bb-page-content-wrap { padding: 0; }
.elementor-section.elementor-section-full_width > .elementor-container { max-width: 100%; }
.elementor .bb-products-grid,
.elementor .bb-cat-grid,
.elementor .bb-benefits-grid  { display: grid; }
.elementor .bb-benefits        { padding: 0; }
.elementor-widget-shortcode .bb-products-grid,
.elementor-widget-shortcode .bb-cat-grid { margin-top: 0; }
