/**
 * Mode sombre — page d'accueil (home-premium.css utilise des couleurs fixes en clair)
 */
[data-theme="dark"] body.page-home {
  background: var(--off-white);
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .home-promo-bar {
  background: #1a2218;
  border-bottom-color: var(--border-light);
}

[data-theme="dark"] body.page-home .home-promo-bar p {
  color: var(--text-medium);
}

[data-theme="dark"] body.page-home .home-values-ticker {
  background: #1a2218;
  border-top-color: var(--border-light);
  border-bottom-color: var(--border-light);
}

[data-theme="dark"] body.page-home .home-values-ticker__list li {
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .home-values-ticker__list li::after {
  color: var(--primary);
}

[data-theme="dark"] body.page-home .home-experience-card {
  background: var(--surface-elevated);
}

[data-theme="dark"] body.page-home .home-section-header--caudalie .section-title,
[data-theme="dark"] body.page-home .story-premium-title {
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .story-premium {
  background: var(--off-white);
}

[data-theme="dark"] body.page-home .story-premium-text {
  color: var(--text-medium);
}

[data-theme="dark"] body.page-home .header:not(.scrolled) {
  background: rgba(20, 26, 20, 0.92);
  border-bottom-color: var(--border-light);
}

[data-theme="dark"] body.page-home .header:not(.scrolled) .nav-link {
  color: var(--text-medium);
}

[data-theme="dark"] body.page-home .header:not(.scrolled) .menu-toggle span {
  background: var(--text-dark);
}

[data-theme="dark"] body.page-home .header.scrolled {
  background: rgba(30, 42, 30, 0.97);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-light);
}

[data-theme="dark"] body.page-home .header.scrolled .nav-link {
  color: var(--text-medium);
}

[data-theme="dark"] body.page-home .header.scrolled .nav-link:hover,
[data-theme="dark"] body.page-home .header.scrolled .nav-link.active {
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .header.scrolled .menu-toggle span {
  background: var(--text-dark);
}

[data-theme="dark"] body.page-home .header-search {
  background: var(--surface-elevated);
}

[data-theme="dark"] body.page-home .header-search-input {
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .theme-toggle,
[data-theme="dark"] body.page-home .favorites-header-btn {
  background: var(--surface-elevated);
  border-color: var(--border-light);
  color: var(--text-medium);
}

[data-theme="dark"] body.page-home .menu-toggle span {
  background: var(--text-dark);
}

[data-theme="dark"] #loading-overlay {
  background: rgba(20, 26, 20, 0.95) !important;
}

/* Hero */
[data-theme="dark"] body.page-home .hero-mosaic,
[data-theme="dark"] body.page-home .hero-mosaic-visual {
  background: var(--off-white);
}

[data-theme="dark"] body.page-home .hero-mosaic-visual {
  background: transparent;
}

[data-theme="dark"] body.page-home .hero-mosaic-grid {
  background: transparent;
}

[data-theme="dark"] body.page-home .hero-mosaic-banner,
[data-theme="dark"] body.page-home .hero-mosaic-slider {
  background: transparent;
}

[data-theme="dark"] body.page-home .hero-mosaic-dots {
  background: rgba(30, 42, 30, 0.9);
}

[data-theme="dark"] body.page-home .hero-mosaic-dot {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] body.page-home .categories-row__card {
  background: var(--surface-elevated);
  border-color: var(--border-light);
}

[data-theme="dark"] body.page-home .categories-row__name {
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .categories-row__icon {
  background: linear-gradient(135deg, #243024, #1a2218);
}

[data-theme="dark"] body.page-home .hero-premium {
  background: linear-gradient(135deg, #141a14 0%, #1a2218 45%, #1e2a1e 100%) !important;
}

[data-theme="dark"] body.page-home .hero-premium-title {
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .hero-premium-actions .btn-outline-dark {
  color: var(--text-dark);
  border-color: rgba(232, 240, 228, 0.35);
}

[data-theme="dark"] body.page-home .hero-premium-actions .btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

[data-theme="dark"] body.page-home .hero-premium-product-ring {
  background: radial-gradient(circle, rgba(40, 55, 40, 0.9) 0%, rgba(26, 34, 26, 0.4) 70%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

/* Sections */
[data-theme="dark"] body.page-home .home-section--cream,
[data-theme="dark"] body.page-home .home-section--white,
[data-theme="dark"] body.page-home .home-section--beige,
[data-theme="dark"] body.page-home .home-section--sand {
  background: var(--off-white);
}

[data-theme="dark"] body.page-home .home-section--sand .section-title {
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .categories-row__cta {
  color: var(--primary-light);
}

[data-theme="dark"] body.page-home .section-title {
  color: var(--text-dark);
}

/* Cartes produits phares */
[data-theme="dark"] body.page-home .featured-product-card {
  background: var(--surface-elevated);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] body.page-home .featured-product-image {
  background: linear-gradient(180deg, #1e2a1e 0%, var(--surface-elevated) 100%);
}

[data-theme="dark"] body.page-home .featured-product-name,
[data-theme="dark"] body.page-home .featured-product-discover {
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .featured-product-badge {
  background: var(--primary-dark);
  color: #fff;
}

/* Ingrédients phares — déjà sombre en mode clair ; léger ajustement thème sombre */
[data-theme="dark"] body.page-home .home-ingredients {
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(72, 160, 40, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 100%, rgba(114, 192, 64, 0.08) 0%, transparent 50%),
    #121812;
}

[data-theme="dark"] body.page-home .ingredients-track-wrap::before {
  background: linear-gradient(90deg, #121812 0%, rgba(18, 24, 18, 0) 100%);
}

[data-theme="dark"] body.page-home .ingredients-track-wrap::after {
  background: linear-gradient(270deg, #121812 0%, rgba(18, 24, 18, 0) 100%);
}

[data-theme="dark"] body.page-home .ingredient-panel {
  background: rgba(30, 42, 30, 0.95);
  border-color: var(--border-light);
}

/* Pourquoi nous */
[data-theme="dark"] body.page-home .why-us-card {
  background: var(--surface-elevated);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] body.page-home .why-us-icon {
  background: linear-gradient(135deg, #1e2a1e, #2a382a);
}

[data-theme="dark"] body.page-home .why-us-card h3 {
  color: var(--text-dark);
}

/* Boutons outline catalogue */
[data-theme="dark"] body.page-home .btn-outline {
  color: var(--text-dark);
  border-color: var(--border-light);
  background: transparent;
}

[data-theme="dark"] body.page-home .btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Modal produit */
[data-theme="dark"] body.page-home .product-modal-content {
  background: var(--surface-elevated);
}

[data-theme="dark"] body.page-home .product-modal-title,
[data-theme="dark"] body.page-home .product-modal-description {
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .product-modal-close {
  background: var(--soft-cream);
  color: var(--text-dark);
}

[data-theme="dark"] body.page-home .product-modal-badge-vitrine {
  background: var(--soft-mint);
  color: var(--primary-light);
}
