/**
 * Racine Vita — Élégance
 * Couche finale de raffinement : typographie éditoriale, palette
 * forêt / crème, filets fins, rythme vertical généreux.
 * Chargée en dernier sur toutes les pages.
 */

/* ============================================================
   1. Jetons
   ============================================================ */
:root {
  --rv-forest: #1f3b1e;
  --rv-forest-2: #2c5528;
  --rv-moss: #5e9a3c;
  --rv-lime: #72c040;
  --rv-lime-soft: rgba(114, 192, 64, 0.12);

  --rv-paper: #fcfbf8;
  --rv-cream: #f8f6f1;
  --rv-sand: #f2efe8;

  --rv-ink: #16241a;
  --rv-ink-2: #4b5f4a;
  --rv-ink-3: #7e8f7c;
  --rv-ivory: #f5f1e8;

  --rv-line: rgba(22, 36, 26, 0.1);
  --rv-line-strong: rgba(22, 36, 26, 0.18);
  --rv-shadow: 0 28px 60px -30px rgba(22, 36, 26, 0.3);
  --rv-shadow-sm: 0 14px 34px -22px rgba(22, 36, 26, 0.28);

  --rv-radius: 20px;
  --rv-radius-sm: 12px;
  --rv-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Remappage des jetons historiques */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Lato', system-ui, -apple-system, sans-serif;

  --off-white: var(--rv-paper);
  --surface: var(--rv-paper);
  --soft-cream: var(--rv-cream);
  --soft-lavender: var(--rv-sand);
  --soft-pink: var(--rv-cream);
  --soft-peach: var(--rv-sand);
  --soft-mint: #eef4e9;

  --text-dark: var(--rv-ink);
  --text-medium: var(--rv-ink-2);
  --text-light: var(--rv-ink-3);
  --border-light: var(--rv-line-strong);

  --primary-dark: var(--rv-forest-2);
  --primary-gold-dark: var(--rv-forest-2);

  --shadow-sm: var(--rv-shadow-sm);
  --shadow-md: var(--rv-shadow);
  --shadow-lg: var(--rv-shadow);
  --shadow-soft: var(--rv-shadow-sm);
  --shadow-medium: var(--rv-shadow);

  --radius-sm: var(--rv-radius-sm);
  --radius-md: 16px;
  --radius-lg: var(--rv-radius);
  --radius-small: var(--rv-radius-sm);
  --radius-medium: 16px;
  --radius-large: var(--rv-radius);
}

[data-theme="dark"] {
  --rv-forest: #2a4d27;
  --rv-forest-2: #35603a;
  --rv-moss: #8cc966;

  --rv-paper: #111a13;
  --rv-cream: #172119;
  --rv-sand: #1b271d;

  --rv-ink: #eef2ea;
  --rv-ink-2: #b9c7b5;
  --rv-ink-3: #8b9c88;
  --rv-ivory: #f5f1e8;

  --rv-line: rgba(255, 255, 255, 0.08);
  --rv-line-strong: rgba(255, 255, 255, 0.16);
  --rv-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.7);
  --rv-shadow-sm: 0 14px 34px -22px rgba(0, 0, 0, 0.6);

  --off-white: var(--rv-paper);
  --white: var(--rv-cream);
  --surface: var(--rv-paper);
  --surface-elevated: var(--rv-cream);
  --soft-cream: var(--rv-cream);
  --soft-lavender: var(--rv-sand);
  --soft-pink: var(--rv-cream);
  --soft-peach: var(--rv-sand);
  --soft-mint: #1c2a1e;

  --text-dark: var(--rv-ink);
  --text-medium: var(--rv-ink-2);
  --text-light: var(--rv-ink-3);
  --border-light: var(--rv-line-strong);

  --primary-dark: var(--rv-moss);
  --primary-gold-dark: var(--rv-moss);
}

/* ============================================================
   2. Base typographique
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--text-dark);
  background: var(--rv-paper);
}

h1, h2, h3, .section-title, .page-title {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Cormorant est fin : on renforce légèrement les petits titres */
h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 500;
}

::selection {
  background: rgba(114, 192, 64, 0.25);
  color: var(--rv-ink);
}

a {
  transition: color 0.2s ease;
}

.container {
  padding-left: clamp(20px, 3vw, 32px);
  padding-right: clamp(20px, 3vw, 32px);
}

/* ============================================================
   3. En-tête
   ============================================================ */
.header {
  background: rgba(252, 251, 248, 0.82);
  border-bottom: 1px solid var(--rv-line);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.header.scrolled {
  background: rgba(252, 251, 248, 0.94);
  box-shadow: 0 10px 30px -18px rgba(22, 36, 26, 0.25);
}

[data-theme="dark"] .header,
[data-theme="dark"] body.page-about .header,
[data-theme="dark"] body.page-commitments .header,
[data-theme="dark"] body.page-distributors .header {
  background: rgba(17, 26, 19, 0.86);
  border-bottom-color: var(--rv-line);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(17, 26, 19, 0.96);
}

body.page-about .header,
body.page-commitments .header,
body.page-distributors .header {
  background: rgba(252, 251, 248, 0.82);
  border-bottom: 1px solid var(--rv-line);
}

.header .nav-link,
.header .nav-menu .nav-link {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rv-ink-2);
  min-width: 0;
}

@media (min-width: 1200px) {
  .header .nav-link,
  .header .nav-menu .nav-link {
    font-size: 13px;
  }

  .header .nav-menu {
    gap: 28px;
  }
}

.header .nav-link:hover,
.header .nav-link.active {
  color: var(--rv-ink);
}

.nav-link::after {
  height: 1px;
  bottom: 6px;
  background: var(--rv-lime);
  border-radius: 0;
}

.header-search {
  background: var(--rv-cream);
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  box-shadow: none;
  height: 38px;
}

.header-search:focus-within {
  border-color: var(--rv-line-strong);
  box-shadow: 0 0 0 3px var(--rv-lime-soft);
}

.header-search-input {
  font-size: 13px;
  color: var(--rv-ink);
}

.header-search-input::placeholder {
  color: var(--rv-ink-3);
}

.header-search-btn {
  background: transparent;
  color: var(--rv-ink-2);
  padding: 0 14px;
  font-size: 13px;
}

.header-search-btn:hover {
  background: transparent;
  color: var(--rv-forest);
}

[data-theme="dark"] .header-search-btn:hover {
  color: var(--rv-moss);
}

.theme-toggle,
.favorites-header-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--rv-line);
  background: transparent;
  color: var(--rv-ink-2);
  font-size: 13px;
}

.theme-toggle:hover,
.favorites-header-btn:hover {
  background: var(--rv-cream);
  color: var(--rv-ink);
  transform: none;
  box-shadow: none;
}

@media (max-width: 992px) {
  .nav-menu .nav-link,
  .header .nav-menu .nav-link {
    font-size: 15px;
    letter-spacing: 0.08em;
  }
}

/* ============================================================
   4. Bandeau promo + bandeau de valeurs
   ============================================================ */
.home-promo-bar {
  background: var(--rv-forest);
  border-bottom: none;
}

.home-promo-bar__inner {
  padding: 9px 20px;
}

.home-promo-bar p {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv-ivory);
}

.home-promo-bar a {
  color: #b5e08a;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.home-promo-bar a:hover {
  color: #fff;
}

.home-values-ticker {
  background: var(--rv-paper);
  border-top: 1px solid var(--rv-line);
  border-bottom: 1px solid var(--rv-line);
  padding: 16px 0;
}

.home-values-ticker__list li {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rv-ink-2);
  padding: 0 34px;
}

/* ============================================================
   5. Hero — bannière encadrée
   ============================================================ */
.page-home .hero-mosaic-visual {
  background: var(--rv-paper);
  padding: clamp(12px, 1.6vw, 22px) clamp(12px, 2.4vw, 32px) clamp(16px, 2vw, 28px);
}

.page-home .hero-mosaic-stage {
  border-radius: var(--rv-radius);
  overflow: hidden;
  box-shadow: var(--rv-shadow);
}

.hero-mosaic-arrow {
  width: 46px;
  height: 46px;
  background: rgba(252, 251, 248, 0.86);
  color: var(--rv-ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px -10px rgba(22, 36, 26, 0.4);
  font-size: 13px;
}

.hero-mosaic-arrow:hover {
  background: var(--rv-forest);
  color: var(--rv-ivory);
  border-color: var(--rv-forest);
}

/* ============================================================
   6. Sections d'accueil
   ============================================================ */
.home-section {
  padding: clamp(72px, 9vw, 116px) 0;
}

.home-section--white {
  background: var(--rv-paper);
}

.home-section--sand,
.home-section--beige {
  background: var(--rv-sand);
}

.home-section--cream {
  background: var(--rv-cream);
}

.home-section-header {
  margin-bottom: clamp(44px, 6vw, 64px);
}

.home-section-header--caudalie::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  margin: 0 auto 22px;
  background: var(--rv-lime);
}

.home-section-header--caudalie .section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.4vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--rv-ink);
}

.home-section-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--rv-ink-2);
  max-width: 560px;
  margin-top: 14px;
}

/* Lien "voir tout" → bouton pilule */
.home-link-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid var(--rv-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--rv-ink);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--rv-ease), color 0.3s var(--rv-ease),
    border-color 0.3s var(--rv-ease), transform 0.3s var(--rv-ease);
}

.home-link-all:hover {
  background: var(--rv-forest);
  border-color: var(--rv-forest);
  color: var(--rv-ivory);
  text-decoration: none;
  transform: translateY(-2px);
}

[data-theme="dark"] .home-link-all {
  border-color: var(--rv-line-strong);
}

[data-theme="dark"] .home-link-all:hover {
  background: var(--rv-lime);
  border-color: var(--rv-lime);
  color: #10180f;
}

.featured-products-cta {
  margin-top: clamp(40px, 5vw, 56px);
}

/* —— Produits cultes —— */
.featured-products-grid {
  gap: clamp(20px, 3vw, 36px);
}

.featured-product-card {
  background: var(--rv-paper);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  box-shadow: none;
  overflow: hidden;
  text-align: left;
  transition: transform 0.5s var(--rv-ease), box-shadow 0.5s var(--rv-ease),
    border-color 0.4s ease;
}

.featured-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rv-shadow);
  border-color: rgba(114, 192, 64, 0.35);
  opacity: 1;
}

.featured-product-image {
  border-radius: 0;
  margin-bottom: 0;
  padding: 28px;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(255, 255, 255, 0.9) 0%, transparent 60%),
    var(--rv-cream);
  height: clamp(280px, 32vw, 360px);
  box-shadow: none;
}

.featured-product-card:hover .featured-product-image {
  box-shadow: none;
}

.featured-product-image img {
  max-height: 90%;
  max-width: 90%;
  filter: drop-shadow(0 18px 24px rgba(22, 36, 26, 0.12));
}

.featured-product-card:hover .featured-product-image img {
  transform: scale(1.04) translateY(-4px);
}

.featured-product-badge {
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--rv-forest);
  color: var(--rv-ivory);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.featured-product-body {
  padding: 22px 24px 26px;
}

.featured-product-benefit {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rv-moss);
  margin-bottom: 8px;
}

.featured-product-name {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--rv-ink);
  margin-bottom: 8px;
}

.featured-product-price {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--rv-forest);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

[data-theme="dark"] .featured-product-price {
  color: var(--rv-moss);
}

.featured-product-discover {
  padding: 10px 20px;
  border: 1px solid var(--rv-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--rv-ink);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--rv-ease), color 0.3s var(--rv-ease),
    border-color 0.3s var(--rv-ease), gap 0.3s var(--rv-ease);
}

.featured-product-discover:hover {
  background: var(--rv-forest);
  border-color: var(--rv-forest);
  color: var(--rv-ivory);
  letter-spacing: 0.16em;
  gap: 12px;
}

/* —— Catégories —— */
.categories-row::-webkit-scrollbar-thumb {
  background: var(--rv-line-strong);
}

.categories-row__card {
  border-radius: 0;
  box-shadow: none;
}

.categories-row__card:hover {
  box-shadow: none;
  transform: translateY(-4px);
}

.categories-row__image {
  border-radius: 16px;
  background: var(--rv-cream);
  box-shadow: none;
  margin-bottom: 16px;
  border: 1px solid var(--rv-line);
}

.categories-row__card:hover .categories-row__image {
  box-shadow: var(--rv-shadow-sm);
}

.categories-row__card:hover .categories-row__image img {
  transform: scale(1.05);
}

.categories-row__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--rv-ink);
  margin-bottom: 4px;
}

.categories-row__cta {
  display: inline-flex;
  justify-content: center;
  align-self: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rv-ink-3);
  text-decoration: none;
}

.categories-row__card:hover .categories-row__cta {
  color: var(--rv-forest);
  letter-spacing: 0.22em;
}

[data-theme="dark"] .categories-row__card:hover .categories-row__cta {
  color: var(--rv-moss);
}

/* —— Expérience —— */
.home-experience-grid {
  gap: clamp(18px, 2.4vw, 28px);
}

.home-experience-card {
  background: var(--rv-paper);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  box-shadow: none;
}

.home-experience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rv-shadow);
  border-color: rgba(114, 192, 64, 0.35);
}

.home-experience-card__media {
  border-radius: 0;
  background: var(--rv-cream);
}

.home-experience-card:hover .home-experience-card__media img {
  transform: scale(1.05);
}

.home-experience-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--rv-ink);
  margin: 22px 22px 8px;
}

.home-experience-card__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--rv-ink-2);
  margin: 0 22px 16px;
}

.home-experience-card__link {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rv-forest);
  margin: 0 22px 24px;
  position: relative;
}

[data-theme="dark"] .home-experience-card__link {
  color: var(--rv-moss);
}

.home-experience-card__link::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s var(--rv-ease);
  display: inline-block;
}

.home-experience-card:hover .home-experience-card__link {
  letter-spacing: 0.18em;
}

.home-experience-card:hover .home-experience-card__link::after {
  transform: translateX(6px);
}

/* —— Ingrédients (section sombre) —— */
/* Fond uni : évite les artefacts de compositing du carrousel sur un dégradé */
.home-ingredients {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 116px) 0;
  background: #12201a;
}

.home-ingredients::before {
  content: '';
  position: absolute;
  top: -12%;
  left: -6%;
  width: 46%;
  height: 42%;
  background: radial-gradient(ellipse at center, rgba(114, 192, 64, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.home-ingredients > * {
  position: relative;
}

.ingredients-track {
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.ingredients-track::-webkit-scrollbar {
  height: 4px;
}

.ingredients-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.home-ingredients .home-section-header {
  margin-bottom: clamp(36px, 5vw, 52px);
}

.home-ingredients .home-section-header--caudalie .section-title {
  color: var(--rv-ivory);
}

.home-ingredients .home-section-quote {
  color: rgba(245, 241, 232, 0.7);
}

.ingredient-panel {
  flex: 0 0 min(250px, 74vw);
  padding: 24px 22px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  transition: transform 0.45s var(--rv-ease), border-color 0.35s ease, background 0.35s ease;
}

.ingredients-track-wrap::before,
[data-theme="dark"] body.page-home .ingredients-track-wrap::before {
  background: linear-gradient(90deg, #12201a 0%, rgba(18, 32, 26, 0) 100%);
}

.ingredients-track-wrap::after,
[data-theme="dark"] body.page-home .ingredients-track-wrap::after {
  background: linear-gradient(270deg, #12201a 0%, rgba(18, 32, 26, 0) 100%);
}

[data-theme="dark"] body.page-home .ingredient-panel {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.1);
}

.ingredient-panel:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(114, 192, 64, 0.5);
  box-shadow: none;
}

.ingredient-panel__index {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 500;
  color: rgba(245, 241, 232, 0.18);
}

.ingredient-panel__icon {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #b5e08a;
  font-size: 14px;
}

.ingredient-panel__name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--rv-ivory);
}

.ingredient-panel__benefit {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #b5e08a;
  background: rgba(114, 192, 64, 0.14);
  border-radius: 999px;
  padding: 4px 10px;
}

.ingredient-panel__text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.68);
}

.home-ingredients .home-link-all {
  border-color: rgba(245, 241, 232, 0.4);
  color: var(--rv-ivory);
}

.home-ingredients .home-link-all:hover {
  background: var(--rv-ivory);
  border-color: var(--rv-ivory);
  color: var(--rv-forest);
}

/* ============================================================
   7. Boutons génériques
   ============================================================ */
.btn {
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 32px;
}

.btn-primary {
  background: var(--rv-forest);
  color: var(--rv-ivory);
  box-shadow: none;
  border: 1px solid var(--rv-forest);
}

.btn-primary:hover {
  background: var(--rv-forest-2);
  border-color: var(--rv-forest-2);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(31, 59, 30, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--rv-ink);
  border: 1px solid var(--rv-line-strong);
}

.btn-outline:hover {
  background: var(--rv-forest);
  border-color: var(--rv-forest);
  color: var(--rv-ivory);
}

[data-theme="dark"] .btn-primary {
  background: var(--rv-lime);
  border-color: var(--rv-lime);
  color: #10180f;
}

[data-theme="dark"] .btn-primary:hover {
  background: #86cc5a;
  border-color: #86cc5a;
  color: #10180f;
}

[data-theme="dark"] .btn-outline:hover {
  background: var(--rv-lime);
  border-color: var(--rv-lime);
  color: #10180f;
}

/* ============================================================
   8. Pied de page
   ============================================================ */
.footer.footer-premium.footer-unified {
  background: #0f170f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(56px, 7vw, 80px) 0 0;
}

.footer.footer-premium.footer-unified .footer-grid,
.footer.footer-premium .footer-grid {
  gap: 40px 48px;
  max-width: 1180px;
}

.footer.footer-premium.footer-unified .footer-title {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(245, 241, 232, 0.92);
  border-bottom: none;
  padding: 0;
  margin: 0 0 18px;
}

.footer.footer-premium.footer-unified .footer-brand-head {
  border-bottom: none;
  padding: 0;
  margin: 0 0 16px;
}

.footer.footer-premium.footer-unified .footer-brand-logo-img {
  height: 44px !important;
  filter: brightness(1.05);
}

.footer.footer-premium.footer-unified .footer-column--brand .footer-description {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.55);
  margin: 0 0 20px;
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}

.footer.footer-premium.footer-unified .footer-links a,
.footer.footer-premium.footer-unified .footer-contact a,
.footer.footer-premium.footer-unified .footer-contact li {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(245, 241, 232, 0.6);
}

.footer.footer-premium.footer-unified .footer-links li {
  margin-bottom: 6px;
}

.footer.footer-premium.footer-unified .footer-links a:hover,
.footer.footer-premium.footer-unified .footer-contact a:hover {
  color: #b5e08a;
}

.footer.footer-premium.footer-unified .footer-contact i,
.footer.footer-premium .footer-contact i {
  color: var(--rv-lime);
  font-size: 12px;
}

.footer.footer-premium.footer-unified .footer-social a,
.footer.footer-premium .footer-social a {
  width: 38px;
  height: 38px;
  font-size: 13px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(245, 241, 232, 0.8);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer.footer-premium.footer-unified .footer-social a:hover,
.footer.footer-premium .footer-social a:hover {
  background: var(--rv-lime);
  border-color: var(--rv-lime);
  color: #10180f;
  transform: translateY(-2px);
}

.footer-unified .footer-bottom {
  margin-top: clamp(40px, 5vw, 56px);
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  gap: 8px 22px;
}

.footer.footer-premium.footer-unified .footer-copyright,
.footer-unified .footer-legal a,
.footer-unified .footer-legal span {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(245, 241, 232, 0.4);
}

.footer-unified .footer-legal a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-unified .footer-legal a:hover {
  color: #b5e08a;
}

.footer-unified .footer-legal a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-unified .footer-legal a:hover {
  color: #b5e08a;
}

/* ============================================================
   9. En-têtes de page (catalogue, contact, blog…)
   ============================================================ */
.page-header,
.page-header.page-header--compact {
  background: linear-gradient(180deg, var(--rv-sand) 0%, var(--rv-paper) 100%);
  border-bottom: 1px solid var(--rv-line);
  padding: 118px 0 40px;
}

.page-title,
.page-header--compact .page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--rv-ink);
  margin-bottom: 12px;
}

.page-header-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--rv-ink-2);
}

.page-breadcrumb,
.page-header--compact .page-breadcrumb {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-ink-3);
  margin-bottom: 14px;
}

.page-breadcrumb a {
  color: var(--rv-ink-2);
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: var(--rv-forest);
}

.page-breadcrumb i {
  font-size: 8px;
  opacity: 0.7;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rv-moss);
  margin-bottom: 12px;
}

.section-header .section-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--rv-ink);
}

.section-description {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--rv-ink-2);
}

/* ============================================================
   10. Catalogue produits
   ============================================================ */
.catalog-sidebar {
  background: var(--rv-paper);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  box-shadow: none;
}

.catalog-sidebar__head {
  background: transparent;
  border-bottom: 1px solid var(--rv-line);
  padding: 20px 20px 16px;
}

.catalog-sidebar__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--rv-ink);
}

.catalog-sidebar__block {
  padding: 18px 20px;
  border-bottom: 1px solid var(--rv-line);
}

.catalog-sidebar__heading {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--rv-ink-3);
  margin-bottom: 12px;
}

.catalog-sidebar .filter-btn {
  border-radius: 10px;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--rv-ink-2);
}

.catalog-sidebar .filter-btn:hover {
  background: var(--rv-cream);
  color: var(--rv-ink);
}

.catalog-sidebar .filter-btn.active {
  background: var(--rv-lime-soft);
  color: var(--rv-forest);
  font-weight: 500;
}

[data-theme="dark"] .catalog-sidebar .filter-btn.active {
  color: var(--rv-moss);
}

.catalog-sidebar .filter-btn::before {
  background: var(--rv-lime);
}

.catalog-price-input,
.catalog-sort-select,
.catalog-favorites-filter,
.catalog-price-reset {
  border: 1px solid var(--rv-line-strong);
  border-radius: 10px;
  background: var(--rv-paper);
  color: var(--rv-ink-2);
  font-family: var(--font-body);
  font-weight: 400;
}

.catalog-favorites-filter:hover,
.catalog-price-reset:hover {
  border-color: var(--rv-forest);
  color: var(--rv-forest);
  background: var(--rv-cream);
}

.catalog-favorites-filter[aria-pressed="true"] {
  background: var(--rv-forest);
  border-color: var(--rv-forest);
  color: var(--rv-ivory);
}

.catalog-main__toolbar {
  border-bottom: 1px solid var(--rv-line);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.search-input {
  border: 1px solid var(--rv-line-strong);
  border-radius: 999px;
  background: var(--rv-paper);
  font-size: 14.5px;
  padding: 14px 54px 14px 22px;
  color: var(--rv-ink);
}

.search-input::placeholder {
  color: var(--rv-ink-3);
}

.search-btn {
  background: var(--rv-forest);
  color: var(--rv-ivory);
  border-radius: 50%;
}

.search-btn:hover {
  background: var(--rv-forest-2);
}

.catalog-results-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rv-ink-3);
}

.products-catalog-grid {
  gap: clamp(18px, 2.4vw, 28px);
}

.product-card {
  background: var(--rv-paper);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  box-shadow: none;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(114, 192, 64, 0.35);
  box-shadow: var(--rv-shadow);
}

.products-catalog-grid .product-image {
  background: var(--rv-cream);
}

[data-theme="dark"] .products-catalog-grid .product-image {
  background: var(--rv-cream);
}

.product-badge {
  background: var(--rv-forest);
  color: var(--rv-ivory);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding: 6px 12px;
}

.product-info {
  padding: 22px 22px 24px;
}

.product-category {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--rv-moss);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--rv-ink);
  margin-bottom: 8px;
}

.product-description {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--rv-ink-3);
  margin-bottom: 18px;
}

.product-price {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--rv-forest);
}

[data-theme="dark"] .product-price {
  color: var(--rv-moss);
}

.product-btn,
body.page-products .product-btn {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--rv-line-strong);
  color: var(--rv-forest);
  font-size: 13px;
}

.product-btn:hover,
.product-card:hover .product-btn,
body.page-products .product-btn:hover,
body.page-products .product-card:hover .product-btn {
  background: var(--rv-forest);
  border-color: var(--rv-forest);
  color: var(--rv-ivory);
  transform: none;
}

[data-theme="dark"] .product-btn,
[data-theme="dark"] body.page-products .product-btn {
  background: transparent;
  color: var(--rv-moss);
}

[data-theme="dark"] .product-card:hover .product-btn,
[data-theme="dark"] body.page-products .product-card:hover .product-btn {
  background: var(--rv-lime);
  border-color: var(--rv-lime);
  color: #10180f;
}

.product-favorite-btn {
  background: rgba(252, 251, 248, 0.9);
  border: 1px solid var(--rv-line);
  color: var(--rv-ink-2);
}

/* Section CTA (styles inline dans le HTML) */
body.page-products section.section[style*="linear-gradient"] {
  background:
    radial-gradient(ellipse 60% 60% at 10% 0%, rgba(114, 192, 64, 0.28) 0%, transparent 60%),
    var(--rv-forest) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.page-products section.section[style*="linear-gradient"] h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3rem) !important;
  letter-spacing: -0.015em;
}

body.page-products section.section[style*="linear-gradient"] p {
  color: rgba(245, 241, 232, 0.78);
  font-size: 16px !important;
}

body.page-products section.section[style*="linear-gradient"] .btn {
  background: var(--rv-ivory) !important;
  color: var(--rv-forest) !important;
  border-color: var(--rv-ivory);
}

body.page-products section.section[style*="linear-gradient"] .btn:hover {
  background: #fff !important;
  transform: translateY(-2px);
}

/* Pagination */
.catalog-pagination button {
  border-radius: 999px;
  border: 1px solid var(--rv-line-strong);
  background: transparent;
  color: var(--rv-ink-2);
  font-family: var(--font-body);
  font-weight: 500;
}

.catalog-pagination button:hover:not(:disabled) {
  border-color: var(--rv-forest);
  color: var(--rv-forest);
}

.catalog-pagination button[aria-current="page"],
.catalog-pagination button.is-active,
.catalog-pagination button.active {
  background: var(--rv-forest);
  border-color: var(--rv-forest);
  color: var(--rv-ivory);
}

/* ============================================================
   11. Newsletter
   ============================================================ */
.newsletter-section {
  background:
    radial-gradient(ellipse 55% 70% at 8% 20%, rgba(114, 192, 64, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 95% 90%, rgba(114, 192, 64, 0.14) 0%, transparent 55%),
    var(--rv-forest);
  padding: clamp(64px, 8vw, 100px) 0;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--rv-ivory);
}

.newsletter-description {
  color: rgba(245, 241, 232, 0.72);
  font-size: 15.5px;
  line-height: 1.7;
}

.newsletter-form {
  gap: 10px;
}

.newsletter-input {
  border-radius: 999px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.96);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--rv-ink);
  border: 1px solid transparent;
}

.newsletter-input:focus {
  border-color: var(--rv-lime);
  box-shadow: 0 0 0 3px rgba(114, 192, 64, 0.3);
}

.newsletter-btn {
  border-radius: 999px;
  padding: 16px 30px;
  background: var(--rv-lime);
  color: #10180f;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--rv-ease);
}

.newsletter-btn:hover {
  background: var(--rv-ivory);
  color: var(--rv-forest);
  transform: translateY(-2px);
}

/* ============================================================
   12. Contact
   ============================================================ */
.contact-section {
  padding-bottom: clamp(64px, 8vw, 96px);
}

@media (min-width: 992px) {
  .contact-info-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.contact-info-card {
  background: var(--rv-paper);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  padding: 34px 28px;
  transition: transform 0.45s var(--rv-ease), box-shadow 0.45s var(--rv-ease), border-color 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--rv-shadow);
  border-color: rgba(114, 192, 64, 0.35);
}

.contact-info-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--rv-line-strong);
  background: var(--rv-lime-soft);
  color: var(--rv-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

[data-theme="dark"] .contact-info-icon {
  color: var(--rv-moss);
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--rv-ink);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--rv-ink-2);
}

.contact-info-card a {
  color: var(--rv-forest);
  font-weight: 500;
  text-decoration: none;
}

.contact-info-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-wrapper {
  background: var(--rv-paper);
  border: 1px solid var(--rv-line);
  border-radius: 24px;
  box-shadow: none;
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 600;
  color: var(--rv-ink);
}

.form-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv-ink-2);
}

.form-input,
.form-textarea,
.inst-form-wrap .form-group input,
.inst-form-wrap .form-group select,
.inst-form-wrap .form-group textarea {
  border: 1px solid var(--rv-line-strong);
  border-radius: 12px;
  background: var(--rv-paper);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--rv-ink);
  padding: 14px 16px;
}

.form-input:focus,
.form-textarea:focus,
.inst-form-wrap .form-group input:focus,
.inst-form-wrap .form-group select:focus,
.inst-form-wrap .form-group textarea:focus {
  border-color: var(--rv-forest);
  box-shadow: 0 0 0 3px var(--rv-lime-soft);
}

.map-container iframe {
  border-radius: var(--rv-radius) !important;
  border: 1px solid var(--rv-line) !important;
}

/* ============================================================
   13. Modale produit
   ============================================================ */
.product-modal-content {
  border-radius: 24px;
  border: 1px solid var(--rv-line);
  box-shadow: 0 40px 100px -30px rgba(22, 36, 26, 0.5);
}

.product-modal-image {
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(255, 255, 255, 0.85) 0%, transparent 60%),
    var(--rv-cream);
}

.product-modal-category {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rv-moss);
}

.product-modal-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--rv-ink);
}

.product-modal-price {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--rv-forest);
  letter-spacing: 0.02em;
}

[data-theme="dark"] .product-modal-price {
  color: var(--rv-moss);
}

.product-modal-description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--rv-ink-2);
}

.product-modal-badge-vitrine {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--rv-cream);
  border: 1px solid var(--rv-line);
  color: var(--rv-ink-2);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.product-modal-close {
  border: 1px solid var(--rv-line);
  background: var(--rv-paper);
  color: var(--rv-ink);
}

/* ============================================================
   14. Pages institutionnelles
   ============================================================ */
.inst-pagehead {
  background: linear-gradient(180deg, var(--rv-sand) 0%, var(--rv-paper) 100%);
  border-bottom: 1px solid var(--rv-line);
  padding-bottom: 44px;
}

[data-theme="dark"] .inst-pagehead {
  background: linear-gradient(180deg, var(--rv-sand) 0%, var(--rv-paper) 100%);
}

.inst-pagehead__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.inst-pagehead__lead {
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 580px;
}

.inst-pagehead__cta {
  background: var(--rv-forest);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  padding: 14px 28px;
}

.inst-pagehead__cta:hover {
  background: var(--rv-forest-2);
}

.inst-breadcrumb {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--rv-ink-3);
}

.inst-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--rv-moss);
  margin-bottom: 14px;
}

.inst-section__title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.inst-section__desc,
.inst-split__body p,
.inst-duo__item p,
.inst-pledge__body p,
.inst-guarantee p {
  font-size: 15.5px;
  line-height: 1.75;
}

.inst-section--soft {
  background: var(--rv-paper);
}

.inst-section--mint {
  background: var(--rv-cream);
}

[data-theme="dark"] .inst-section--soft {
  background: var(--rv-paper);
}

[data-theme="dark"] .inst-section--mint {
  background: var(--rv-cream);
}

.inst-split__media,
.inst-pledge__media {
  border-radius: var(--rv-radius);
  border: 1px solid var(--rv-line);
  background: var(--rv-cream);
}

.inst-duo__item {
  border-left: 1px solid var(--rv-lime);
  padding-left: 26px;
}

.inst-duo__item h2,
.inst-duo__item h3 {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.1;
}

.inst-values {
  gap: 36px 28px;
}

.inst-value__icon,
.inst-cert__icon,
.inst-perk__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--rv-line-strong);
  background: var(--rv-lime-soft);
  color: var(--rv-forest);
  font-size: 15px;
}

[data-theme="dark"] .inst-value__icon,
[data-theme="dark"] .inst-cert__icon,
[data-theme="dark"] .inst-perk__icon {
  color: var(--rv-moss);
}

.inst-value h3,
.inst-value h4,
.inst-cert h3,
.inst-cert h4,
.inst-why__item h3,
.inst-why__item h4,
.inst-contact-item h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
}

.inst-value p,
.inst-cert p,
.inst-why__item p {
  font-size: 14px;
  line-height: 1.65;
}

.inst-pledge__body h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.inst-list li {
  font-weight: 500;
  font-size: 14.5px;
}

.inst-list li i {
  color: var(--rv-moss);
}

.inst-why__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--rv-moss);
}

.inst-metrics {
  background:
    radial-gradient(ellipse 60% 70% at 8% 0%, rgba(114, 192, 64, 0.3) 0%, transparent 60%),
    var(--rv-forest);
}

.inst-metric__value {
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rv-ivory);
}

.inst-metric__label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.75);
}

.inst-form-wrap {
  border: 1px solid var(--rv-line);
  border-radius: 24px;
  box-shadow: none;
  background: var(--rv-paper);
}

.inst-form-wrap .btn-primary,
.inst-guarantee .btn {
  background: var(--rv-forest);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inst-form-wrap .btn-primary:hover,
.inst-guarantee .btn:hover {
  background: var(--rv-forest-2);
}

.inst-contact-item {
  border-left: 1px solid var(--rv-lime);
  padding-left: 22px;
}

.inst-contact-item a {
  color: var(--rv-forest);
  font-weight: 500;
}

[data-theme="dark"] .inst-contact-item a {
  color: var(--rv-moss);
}

/* ============================================================
   15. Divers
   ============================================================ */
.skip-link {
  border-radius: 999px;
  background: var(--rv-forest);
  color: var(--rv-ivory);
}

.animate-on-scroll {
  transition-duration: 0.8s;
}

/* Barre de défilement discrète (WebKit) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(22, 36, 26, 0.18);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border: 3px solid transparent;
  background-clip: padding-box;
}

/* ============================================================
   16. Mobile
   ============================================================ */
@media (max-width: 768px) {
  .home-section {
    padding: clamp(56px, 12vw, 72px) 0;
  }

  .home-section-header--caudalie .section-title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .page-home .hero-mosaic-visual {
    padding: 10px 12px 0;
  }

  .page-home .hero-mosaic-stage {
    border-radius: 14px;
  }

  .hero-mosaic-arrow {
    width: 38px;
    height: 38px;
  }

  .home-promo-bar p {
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }

  .featured-product-image {
    height: clamp(240px, 60vw, 300px);
    padding: 20px;
  }

  .featured-product-card:hover,
  .home-experience-card:hover,
  .product-card:hover,
  .contact-info-card:hover {
    transform: none;
  }

  .page-header,
  .page-header.page-header--compact {
    padding: 104px 0 30px;
  }

  .footer.footer-premium.footer-unified {
    padding-top: 48px;
  }
}

/* ============================================================
   17. Modernisation éditoriale
   ============================================================ */

body.page-home .header-search-btn,
.header-search-btn {
  background: transparent;
  color: var(--rv-ink-2);
}

body.page-home .home-promo-bar {
  background: var(--rv-forest);
  border-bottom: none;
}

body.page-home .home-promo-bar p {
  color: var(--rv-ivory);
}

body.page-home .home-promo-bar a {
  color: #c5e89a;
}

body.page-home section.hero-mosaic,
body.page-home .hero-mosaic-visual {
  padding: 0;
  background: var(--rv-paper);
}

body.page-home .hero-mosaic-stage {
  border-radius: 0;
  box-shadow: none;
}

body.page-home .hero-mosaic-slider {
  height: clamp(280px, 46vw, 720px);
}

body.page-home .home-values-ticker {
  background: var(--rv-paper);
  border-top: 1px solid var(--rv-line);
  border-bottom: 1px solid var(--rv-line);
  padding: 18px 0;
}

body.page-home .home-values-ticker__list li {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rv-ink-2);
  padding: 0 32px;
}

.home-intro {
  padding: clamp(72px, 10vw, 128px) 0 clamp(28px, 4vw, 48px);
  background: var(--rv-paper);
  text-align: center;
}

.home-intro__inner {
  max-width: 820px;
}

.home-intro__eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rv-moss);
}

.home-intro__title {
  margin: 0 auto 22px;
  max-width: 16em;
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5.4vw, 4.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--rv-ink);
}

.home-intro__lead {
  margin: 0 auto 36px;
  max-width: 44ch;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--rv-ink-2);
}

body.page-home .home-section--cultes {
  padding-top: clamp(48px, 6vw, 80px);
}

body.page-home .featured-product-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

body.page-home .featured-product-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

body.page-home .featured-product-image {
  border-radius: 18px;
  border: 1px solid var(--rv-line);
  height: clamp(300px, 34vw, 400px);
}

body.page-home .featured-product-card:hover .featured-product-image {
  box-shadow: var(--rv-shadow);
}

body.page-home .featured-product-body {
  padding: 22px 6px 8px;
}

body.page-home .categories-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  padding: 0;
  scrollbar-width: none;
}

body.page-home .categories-row__card {
  display: grid;
  flex: none;
  min-width: 0;
  padding: 0;
  opacity: 1;
}

body.page-home .categories-row__card:hover {
  opacity: 1;
  transform: translateY(-4px);
}

body.page-home .categories-row__image {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rv-line);
}

body.page-home .categories-row__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(12, 20, 14, 0.78) 100%);
  pointer-events: none;
  transition: background 0.4s var(--rv-ease);
}

body.page-home .categories-row__card:hover .categories-row__image::after {
  background: linear-gradient(180deg, transparent 28%, rgba(12, 20, 14, 0.86) 100%);
}

body.page-home .categories-row__name,
body.page-home .categories-row__cta {
  grid-area: 1 / 1;
  z-index: 1;
  align-self: end;
  justify-self: start;
  margin: 0;
  color: var(--rv-ivory);
  text-align: left;
}

body.page-home .categories-row__name {
  padding: 0 16px 28px;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.15;
}

body.page-home .categories-row__cta {
  display: block;
  padding: 0 16px 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.72);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--rv-ease), transform 0.3s var(--rv-ease), color 0.3s ease;
}

body.page-home .categories-row__card:hover .categories-row__cta {
  opacity: 1;
  transform: translateY(0);
  color: #c5e89a;
  letter-spacing: 0.16em;
}

body.page-home .categories-row__card:hover .categories-row__name {
  padding-bottom: 36px;
}

.products-catalog-grid .product-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.products-catalog-grid .product-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.products-catalog-grid .product-image {
  border-radius: 16px;
  border: 1px solid var(--rv-line);
  overflow: hidden;
}

.products-catalog-grid .product-card:hover .product-image {
  box-shadow: var(--rv-shadow-sm);
}

.products-catalog-grid .product-info {
  padding: 18px 6px 10px;
}

body.page-products .products-catalog-grid .product-description,
.products-catalog-grid .product-description {
  display: none;
}

.products-catalog-grid .product-name {
  font-size: 1.28rem;
}

body.page-contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 48px auto 0;
}

body.page-contact .contact-section {
  padding-top: 48px;
}

body.page-contact .contact-info-cards {
  margin-bottom: 8px;
}

body.page-contact .map-section {
  padding-top: 20px;
}

.page-header-lead {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  body.page-home .categories-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.page-home .hero-mosaic-visual {
    padding: 0;
  }

  body.page-home .hero-mosaic-stage {
    border-radius: 0;
  }

  body.page-home .hero-mosaic-slider {
    height: clamp(220px, 58vw, 420px);
  }

  .home-intro {
    padding: 56px 0 12px;
  }

  .home-intro__title {
    max-width: none;
  }

  body.page-home .categories-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  body.page-home .categories-row__card {
    flex: 0 0 58vw;
    scroll-snap-align: start;
  }

  body.page-home .categories-row__cta {
    opacity: 1;
    transform: none;
  }

  body.page-home .featured-product-image {
    height: clamp(260px, 68vw, 340px);
  }
}

/* ============================================================
   18. Mosaïque catalogue — sujet centré dans la case
   ============================================================ */
body.page-products .products-catalog-grid .product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--rv-cream);
}

body.page-products .products-catalog-grid .product-image img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: 36% 66%;
  transform: scale(1.42);
  transform-origin: 36% 66%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-products .products-catalog-grid .product-card:hover .product-image img,
body.page-products .products-catalog-grid .product-image:hover img {
  transform: scale(1.5);
}

body.page-products .product-favorite-btn {
  top: 10px;
  right: 10px;
  left: auto;
  bottom: auto;
  transform: none;
}

body.page-products .product-favorite-btn:hover {
  transform: scale(1.08);
}

.product-modal-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rv-cream);
}

.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

body.page-home .featured-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: var(--rv-cream);
}

body.page-home .featured-product-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: 36% 66%;
  transform: scale(1.32);
  transform-origin: 36% 66%;
  margin: 0;
  filter: none;
  transition: transform 0.55s var(--rv-ease);
}

body.page-home .featured-product-card:hover .featured-product-image img {
  transform: scale(1.4) translateY(0);
}

.products-catalog-grid .product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products-catalog-grid .product-footer {
  margin-top: 6px;
  align-items: center;
}

.contact-form-wrapper {
  padding: clamp(28px, 4vw, 48px);
}

.contact-form-wrapper h3 {
  margin-bottom: 8px;
}

.page-header--compact .page-title {
  max-width: 18em;
  margin-left: auto;
  margin-right: auto;
}

img {
  -webkit-user-drag: none;
}
