/*
Theme Name: MonTheme Cosméthodique
Theme URI: https://ton-site.fr
Author: Ton Nom
Author URI: https://ton-site.fr
Description: Thème WordPress basé sur la maquette Cosm'ethique.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mon-theme
*/

/* ================================================================
   COSM'ETHIQUE — Feuille de styles principale
   Design : Luxe organique — Beauté naturelle française
   ================================================================ */

/* ================================================================
   VARIABLES
   ================================================================ */
:root {
  --cream:       #F9F4EC;
  --cream-mid:   #F2EDE1;
  --cream-dark:  #E8E2D6;
  --forest:      #1E2E16;
  --green:       #3D6B2C;
  --sage:        #7A9E72;
  --sage-light:  #A8C4A0;
  --gold:        #C9A45E;
  --gold-dark:   #A07A38;
  --gold-light:  #DFC080;
  --brown:       #5C4A32;
  --text:        #2A2A24;
  --text-light:  #6B6856;
  --border:      #D8D0C0;
  --white:       #FFFFFF;

  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Plus Jakarta Sans', sans-serif;

  --max-w:       1240px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast:      0.2s;
  --t-med:       0.4s;
  --t-slow:      0.7s;

  --shadow-sm:   0 2px 12px rgba(30,46,22,0.06);
  --shadow-md:   0 8px 32px rgba(30,46,22,0.10);
  --shadow-lg:   0 20px 60px rgba(30,46,22,0.14);
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; }
ul, ol { list-style:none; }
button, input, textarea, select { font-family:inherit; font-size:inherit; }

/* ================================================================
   ACCESSIBILITÉ — FOCUS & NAVIGATION CLAVIER
   ================================================================ */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--forest);
  color: var(--cream);
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ================================================================
   ACCESSIBILITÉ — RÉDUCTION DE MOUVEMENT
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   UTILITIES
   ================================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.13;
  color: var(--forest);
}

.section-title em {
  font-style: italic;
  color: var(--green);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.85;
  max-width: 520px;
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: transform, opacity;
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.10s; }
.reveal-delay-2 { transition-delay:0.20s; }
.reveal-delay-3 { transition-delay:0.32s; }
.reveal-delay-4 { transition-delay:0.44s; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 2rem;
  border-radius: 60px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--forest);
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61,107,44,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold-dark);
  color: var(--cream);
  border-color: var(--gold-dark);
}
.btn-gold:hover {
  background: #8a6530;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,164,94,0.32);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(249,244,236,0.45);
}
.btn-ghost:hover {
  background: rgba(249,244,236,0.1);
  border-color: var(--cream);
}
.btn-arrow::after {
  content: '→';
  transition: transform var(--t-fast) var(--ease);
}
.btn-arrow:hover::after { transform:translateX(4px); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.3rem 0;
  transition: background var(--t-med) var(--ease),
              padding var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}
.site-header.scrolled {
  background: rgba(249,244,236,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.logo-name {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.01em;
  line-height: 1;
}
.logo-name em {
  font-style: normal;
  color: var(--green);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.site-nav a {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-light);
  border-radius: 4px;
  transition: color var(--t-fast);
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--t-med) var(--ease);
  transform-origin: left;
}
.site-nav a:hover { color: var(--forest); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-icon-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--forest);
  cursor: pointer;
  transition: all var(--t-fast);
  background: transparent;
  font-size: 1rem;
}
.header-icon-btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--forest);
  border-radius: 2px;
  transition: all var(--t-med) var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  padding: 7rem 2.5rem 3rem;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}
.mobile-nav.open { opacity:1; pointer-events:all; }
.mobile-nav-links { display:flex; flex-direction:column; }
.mobile-nav-links a {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--forest);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast), padding var(--t-fast);
}
.mobile-nav-links a:hover { color:var(--green); padding-left:0.5rem; }
.mobile-nav-footer { display:flex; flex-direction:column; gap:0.8rem; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 3.5rem 5rem calc((100vw - var(--max-w)) / 2 + 2rem);
  position: relative;
  z-index: 2;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--cream-mid);
}

.hero-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(61,107,44,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-ring:nth-child(1) { width:460px; height:460px; animation: ringPulse 5s ease-in-out infinite; }
.hero-ring:nth-child(2) { width:360px; height:360px; animation: ringPulse 5s ease-in-out infinite 0.6s; }
.hero-ring:nth-child(3) { width:260px; height:260px; animation: ringPulse 5s ease-in-out infinite 1.2s; }

@keyframes ringPulse {
  0%, 100% { opacity: 0.6; }
  50%        { opacity: 1; }
}

.hero-product-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-jar {
  width: 160px;
  height: 190px;
  position: relative;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%        { transform: translateY(-14px); }
}
.hero-jar-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 160px;
  background: linear-gradient(145deg, #EDEAE0 0%, #D8D2C4 40%, #C8C0B0 100%);
  border-radius: 50% 50% 38% 38% / 30% 30% 22% 22%;
  box-shadow: 0 24px 60px rgba(30,46,22,0.18), inset 0 2px 0 rgba(255,255,255,0.7), inset -2px -2px 6px rgba(30,46,22,0.05);
}
.hero-jar-lid {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 34px;
  background: linear-gradient(145deg, var(--forest), var(--green));
  border-radius: 26px 26px 0 0;
  box-shadow: 0 4px 12px rgba(30,46,22,0.2);
}
.hero-jar-label {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 68px;
  background: rgba(249,244,236,0.88);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.hero-jar-label .brand { font-size: 5.5px; font-weight:700; letter-spacing:0.16em; color:var(--forest); text-transform:uppercase; }
.hero-jar-label .name  { font-family:var(--ff-display); font-size:9px; color:var(--green); font-style:italic; }
.hero-jar-highlight {
  position: absolute;
  top: 18%;
  left: 22%;
  width: 28%;
  height: 22%;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  filter: blur(7px);
}

.hero-badge {
  position: absolute;
  z-index: 3;
  background: var(--cream);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 160px;
  animation: float 5s ease-in-out infinite;
}
.hero-badge:nth-child(2) { top:22%; right:8%; animation-delay:-1.5s; }
.hero-badge:nth-child(3) { bottom:22%; left:6%; animation-delay:-3s; }

.hero-badge-icon {
  width: 36px; height:36px; flex-shrink:0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(61,107,44,0.09);
}
.hero-badge-info strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.2;
}
.hero-badge-info span {
  font-size: 0.68rem;
  color: var(--text-light);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.3rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--sage);
}

.hero-h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 4.2vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--forest);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.4s forwards;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}
.hero-h1 strong { font-weight: 600; }

.hero-p {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.85;
  max-width: 420px;
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.6s forwards;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.8s forwards;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1s forwards;
}
.hero-stat b {
  display: block;
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
}
.hero-stat span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: calc((100vw - var(--max-w)) / 2 + 2rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1.3s forwards;
}
.scroll-line {
  width: 36px;
  height: 1px;
  background: var(--border);
  overflow: hidden;
  position: relative;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top:0; left:-100%;
  width:100%; height:100%;
  background: var(--green);
  animation: scrollAnim 2.5s ease infinite 2s;
}
@keyframes scrollAnim { 0%{left:-100%} 100%{left:100%} }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(30px); filter:blur(8px); }
  to   { opacity:1; transform:translateY(0);    filter:blur(0);   }
}

/* ================================================================
   VALUES BAR
   ================================================================ */
.values-bar {
  background: var(--forest);
  padding: 2rem 0;
}
.values-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.value-icon {
  width: 38px; height:38px;
  border: 1px solid rgba(201,164,94,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.value-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}
.value-text span {
  font-size: 0.68rem;
  color: var(--sage-light);
}
.value-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.1);
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
  padding: 8rem 0;
  overflow: hidden;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-visual { position: relative; }

.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse at 55% 25%, rgba(122,158,114,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(201,164,94,0.2) 0%, transparent 50%),
    linear-gradient(145deg, #D0E2CA 0%, #E2D8C0 100%);
  border-radius: 120px 20px 100px 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
}

.about-product-silhouette {
  width: 70px;
  height: 180px;
  background: linear-gradient(to bottom, rgba(30,46,22,0.12), rgba(30,46,22,0.04));
  border-radius: 18px 18px 8px 8px;
  position: relative;
  box-shadow: 0 8px 24px rgba(30,46,22,0.08);
}
.about-product-silhouette::before {
  content: '';
  position: absolute;
  top:-14px; left:50%;
  transform: translateX(-50%);
  width:30px; height:18px;
  background: rgba(30,46,22,0.2);
  border-radius: 10px;
}

.about-card {
  position: absolute;
  bottom: -2rem;
  right: -2.5rem;
  width: 46%;
  background: var(--cream);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  text-align: center;
}
.about-card b {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.about-card span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  line-height: 1.5;
  margin-top: 0.4rem;
  display: block;
}

.about-content { padding-right: 1rem; }
.about-content .section-label { margin-bottom: 0.6rem; }
.about-content .section-title { margin-bottom: 1.4rem; }

.about-quote {
  font-family: var(--ff-display);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--green);
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
  margin: 1.8rem 0;
  line-height: 1.7;
}

.about-body {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem;
  background: var(--cream-mid);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.signature-avatar {
  width: 46px; height:46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--green));
  display: flex; align-items:center; justify-content:center;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  flex-shrink: 0;
}
.signature-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest);
}
.signature-info span {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* ================================================================
   PRODUCTS
   ================================================================ */
.products {
  padding: 8rem 0;
  background: var(--cream-mid);
}
.products-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.product-card {
  background: var(--cream);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(61,107,44,0.1);
}

.product-img {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}
.product-card:nth-child(1) .product-img { background: linear-gradient(145deg, #D8EACF, #EAD8B8); }
.product-card:nth-child(2) .product-img { background: linear-gradient(145deg, #C8D8E8, #DBC8B8); }
.product-card:nth-child(3) .product-img { background: linear-gradient(145deg, #EAD0D0, #D8C8B8); }
.product-card:nth-child(4) .product-img { background: linear-gradient(145deg, #D0EAD8, #E8DCC8); }

.product-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-slow) var(--ease);
}
.product-card:hover .product-img-inner { transform: scale(1.04); }

.product-fig {
  width: 72px;
  height: 108px;
  position: relative;
}
.product-fig-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 94px;
  background: rgba(255,255,255,0.38);
  border-radius: 50% 50% 36% 36% / 28% 28% 18% 18%;
  box-shadow: 0 10px 28px rgba(30,46,22,0.12), inset 0 2px 0 rgba(255,255,255,0.7);
}
.product-fig-lid {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 18px;
  background: rgba(30,46,22,0.3);
  border-radius: 20px 20px 0 0;
}
.product-fig-shine {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 24%;
  height: 18%;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  filter: blur(4px);
}

.product-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.26rem 0.65rem;
  background: var(--green);
  color: var(--cream);
  border-radius: 30px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.product-badge.new { background: var(--gold-dark); }

.product-body { padding: 1.2rem 1.3rem 1.5rem; }
.product-cat {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.35rem;
}
.product-name {
  font-family: var(--ff-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1.3;
  margin-bottom: 0.45rem;
}
.product-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest);
}
.product-price small {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 1px;
}
.product-add {
  width: 34px; height:34px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: flex; align-items:center; justify-content:center;
  font-size: 1.15rem;
  transition: all var(--t-fast);
  line-height: 1;
}
.product-add:hover { background: var(--green); transform: scale(1.1); }

.products-foot { text-align:center; margin-top:3rem; }

/* ================================================================
   COMMITMENTS
   ================================================================ */
.commitments {
  padding: 8rem 0;
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
.commitments::before {
  content: '';
  position: absolute;
  width: 700px; height:700px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  top:50%; right:-250px;
  transform: translateY(-50%);
}
.commitments-head {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
}
.commitments-head .section-label { color: var(--gold-light); }
.commitments-head .section-title { color: var(--cream); }
.commitments-head .section-subtitle {
  color: rgba(249,244,236,0.6);
  margin: 1rem auto 0;
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.commit-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  transition: all var(--t-med) var(--ease);
}
.commit-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,164,94,0.25);
  transform: translateY(-4px);
}
.commit-icon {
  width: 54px; height:54px;
  border-radius: 15px;
  background: rgba(201,164,94,0.1);
  border: 1px solid rgba(201,164,94,0.28);
  display: flex; align-items:center; justify-content:center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.commit-title {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.commit-desc {
  font-size: 0.83rem;
  color: rgba(249,244,236,0.56);
  line-height: 1.82;
}

/* ================================================================
   BLOG
   ================================================================ */
.blog { padding: 8rem 0; }
.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.4rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream-mid);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.blog-img {
  position: relative;
  overflow: hidden;
}
.blog-card.featured .blog-img { aspect-ratio:16/10; }
.blog-card:not(.featured) .blog-img { aspect-ratio:16/9; }
.blog-card:nth-child(1) .blog-img { background:linear-gradient(145deg,#C8DAB8,#D8C8A4); }
.blog-card:nth-child(2) .blog-img { background:linear-gradient(145deg,#DCC8B8,#C8BCAA); }
.blog-card:nth-child(3) .blog-img { background:linear-gradient(145deg,#B8C8D8,#C8D0B8); }

.blog-img-inner {
  position: absolute;
  inset: 0;
  display: flex; align-items:center; justify-content:center;
  font-size: 3.5rem;
  opacity: 0.25;
  transition: transform var(--t-slow) var(--ease);
}
.blog-card:hover .blog-img-inner { transform:scale(1.06); }

.blog-tag {
  position: absolute;
  top:0.9rem; left:0.9rem;
  padding: 0.25rem 0.65rem;
  background: rgba(249,244,236,0.9);
  border-radius: 30px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.blog-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-size: 0.67rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
  margin-bottom: 0.65rem;
}
.blog-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1.4;
  flex: 1;
  margin-bottom: 1rem;
}
.blog-card.featured .blog-title { font-size:1.4rem; }
.blog-more {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--t-fast);
}
.blog-card:hover .blog-more { gap:0.7rem; }

/* ================================================================
   FRANCHISE
   ================================================================ */
.franchise { padding: 6rem 0; }
.franchise-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  background: var(--green);
  border-radius: 28px;
  padding: 5rem;
  position: relative;
  overflow: hidden;
}
.franchise-inner::before {
  content: '';
  position: absolute;
  width: 520px; height:520px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  top:-120px; right:-120px;
}
.franchise-inner::after {
  content: '';
  position: absolute;
  width: 280px; height:280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  bottom:-50px; right:120px;
}

.franchise-content { position:relative; z-index:2; }
.franchise-content .section-label { color: var(--gold-light); }
.franchise-content .section-title { color: var(--cream); margin-bottom:1.3rem; }
.franchise-content p {
  font-size: 0.9rem;
  color: rgba(249,244,236,0.7);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.franchise-perks {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}
.franchise-perk {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.84rem;
  color: rgba(249,244,236,0.8);
}
.perk-tick {
  width: 20px; height:20px;
  border-radius: 50%;
  background: rgba(201,164,94,0.2);
  border: 1px solid rgba(201,164,94,0.38);
  display: flex; align-items:center; justify-content:center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold-light);
  flex-shrink: 0;
}

.franchise-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
  z-index: 2;
}
.franchise-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  text-align: center;
}
.franchise-stat:first-child { grid-column:1/-1; }
.franchise-stat b {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.franchise-stat span {
  font-size: 0.7rem;
  color: rgba(249,244,236,0.55);
  letter-spacing: 0.04em;
  margin-top: 0.45rem;
  display: block;
}

/* ================================================================
   NEWSLETTER
   ================================================================ */
.newsletter { padding: 7rem 0; }
.newsletter-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-inner .section-title { margin-bottom:0.8rem; }
.newsletter-inner > p {
  color: var(--text-light);
  font-size: 0.94rem;
  margin-bottom: 2.4rem;
}
.nl-form {
  display: flex;
  border-radius: 60px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.nl-form:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61,107,44,0.1);
}
.nl-form input {
  flex:1;
  padding: 0.9rem 1.5rem;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  color: var(--text);
}
.nl-form input::placeholder { color:var(--text-light); }
.nl-form button {
  padding: 0.9rem 1.7rem;
  background: var(--green);
  color: var(--cream);
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0 60px 60px 0;
  transition: background var(--t-fast);
  white-space: nowrap;
}
.nl-form button:hover { background: var(--forest); }
.nl-note {
  margin-top: 1.1rem;
  font-size: 0.7rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--forest);
  color: rgba(249,244,236,0.65);
  padding-top: 5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo-name { color:var(--cream); }
.footer-brand .logo-name em { color:var(--sage-light); }
.footer-desc {
  font-size: 0.83rem;
  line-height: 1.85;
  margin: 1.2rem 0 1.8rem;
  max-width: 280px;
}
.footer-socials { display:flex; gap:0.6rem; }
.footer-social {
  width: 36px; height:36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items:center; justify-content:center;
  color: rgba(249,244,236,0.5);
  font-size: 0.88rem;
  transition: all var(--t-fast);
}
.footer-social:hover {
  background: rgba(201,164,94,0.14);
  border-color: var(--gold);
  color: var(--gold);
}
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.4rem;
}
.footer-links { display:flex; flex-direction:column; gap:0.7rem; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(249,244,236,0.55);
  transition: color var(--t-fast);
}
.footer-links a:hover { color:var(--cream); }
.footer-certifs {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.certif {
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(201,164,94,0.3);
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.footer-bottom {
  padding: 1.6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.73rem;
  color: rgba(249,244,236,0.3);
}
.footer-legal { display:flex; gap:1.8rem; }
.footer-legal a {
  font-size: 0.73rem;
  color: rgba(249,244,236,0.3);
  transition: color var(--t-fast);
}
.footer-legal a:hover { color:rgba(249,244,236,0.65); }

/* ================================================================
   PAGE 404
   ================================================================ */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem;
}
.error-404-inner { max-width: 480px; }
.error-404-code {
  font-family: var(--ff-display);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 300;
  color: var(--green);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-404-inner h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 1rem;
}
.error-404-inner p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width:1080px) {
  .hero { grid-template-columns:1fr; }
  .hero-left {
    padding: 8rem 2rem 5rem;
    min-height: 85vh;
  }
  .hero-right { display:none; }
  .products-grid { grid-template-columns:repeat(2,1fr); }
  .footer-top { grid-template-columns:1fr 1fr; }
  .about-inner { gap:3.5rem; }
}

@media (max-width:860px) {
  .site-nav, .header-actions .btn { display:none; }
  .menu-toggle { display:flex; }
  .mobile-nav { display:flex; }
  .about-inner { grid-template-columns:1fr; }
  .about-content { padding-right:0; }
  .products-head { grid-template-columns:1fr; }
  .commitments-grid { grid-template-columns:1fr; gap:1rem; }
  .blog-grid { grid-template-columns:1fr; }
  .franchise-inner { grid-template-columns:1fr; gap:2.5rem; padding:3rem 2rem; }
  .franchise-stats { grid-template-columns:1fr 1fr; }
  .franchise-stat:first-child { grid-column:1/-1; }
}

@media (max-width:600px) {
  .hero-left { padding:7rem 1.5rem 4rem; }
  .hero-stats { gap:1.5rem; }
  .values-sep { display:none; }
  .values-bar-inner { justify-content:flex-start; gap:1.5rem; }
  .products-grid { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr; gap:2rem; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
  .nl-form {
    flex-direction:column;
    border-radius:14px;
    overflow:visible;
    border:none;
    background:transparent;
    gap:0.8rem;
  }
  .nl-form input {
    border:1.5px solid var(--border);
    border-radius:60px;
    background:var(--white);
  }
  .nl-form button {
    border-radius:60px;
    width:100%;
  }
  .hero-ctas { flex-direction:column; align-items:flex-start; }
}

/* Conteneur global de la case et du bouton */
.mc-auth-wrap .woocommerce-form-login .form-row:nth-of-type(3) {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important; /* Permet de passer à la ligne sur très petits écrans */
  gap: 1rem !important;
  margin-top: 1.5rem !important;
}

/* Checkbox "Se souvenir de moi" */
.mc-auth-wrap .woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: center !important;
  gap: .6rem !important;
  font-size: .8rem !important;
  color: var(--text-light) !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  margin: 0 !important;
}

/* Bouton de connexion ajusté (non écrasé) */
.mc-auth-wrap .woocommerce-form-login__submit {
  width: auto !important;
  margin: 0 0 0 auto !important; /* Pousse le bouton tout à droite proprement */
  flex-shrink: 0 !important; /* Empêche le bouton de s'écraser */
  white-space: nowrap !important; /* Force le texte sur une seule ligne */
  padding: 0.8rem 2.5rem !important;
  border-radius: 60px !important;
  font-family: var(--ff-body) !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  border: none !important;
  cursor: pointer !important;
  transition: background .3s, transform .2s !important;
  display: inline-block !important;
  background: var(--green) !important;
  color: var(--cream) !important;
}

.mc-auth-wrap .woocommerce-form-login__submit:hover {
  background: var(--forest) !important;
  transform: translateY(-2px) !important;
}

/* ================================================================
   PAGE GÉNÉRIQUE (page.php)
   ================================================================ */
.page-content {
  padding: 9rem 0 6rem;
  min-height: 60vh;
  background: var(--cream);
}
.page-body {
  max-width: 860px;
}
.page-body h1, .page-body h2, .page-body h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-body h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
.page-body h2 { font-size: 1.6rem; }
.page-body h3 { font-size: 1.2rem; }
.page-body p  { color: var(--text-light); line-height: 1.85; margin-bottom: 1rem; font-size: 0.92rem; }

/* ================================================================
   WOOCOMMERCE — Intégration thème Cosm'ethique
   ================================================================ */

/* Layout */
.wc-page-wrap {
  padding: 8rem 0 6rem;
  background: var(--cream);
  min-height: 60vh;
}
.wc-page-inner { width: 100%; }

/* Titres WooCommerce */
.woocommerce h1.page-title,
.woocommerce h2,
.woocommerce-page h1.page-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 2rem;
  line-height: 1.15;
}

/* Boutons WooCommerce → style du thème */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 2rem;
  border-radius: 60px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  background: var(--green) !important;
  color: var(--cream) !important;
  border: 1.5px solid var(--green) !important;
  box-shadow: none;
  text-decoration: none;
  font-family: var(--ff-body);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover {
  background: var(--forest) !important;
  border-color: var(--forest) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61,107,44,0.28);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--forest) !important;
  border-color: var(--forest) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--green) !important;
  border-color: var(--green) !important;
}

/* Champs de formulaire WooCommerce */
.woocommerce .woocommerce-Input,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce textarea,
.woocommerce select {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  color: var(--forest);
  font-size: 0.92rem;
  font-family: var(--ff-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-shadow: none;
}
.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce input[type="tel"]:focus,
.woocommerce input[type="password"]:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61,107,44,0.1);
  background: #fff;
}
.woocommerce label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

/* Table panier */
.woocommerce table.shop_table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.woocommerce table.shop_table th {
  background: var(--cream-mid);
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.woocommerce table.shop_table td {
  padding: 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
  vertical-align: middle;
}
.woocommerce table.shop_table tr:last-child td { border-bottom: none; }
.woocommerce table.shop_table td.product-name a { color: var(--forest); font-weight: 500; }
.woocommerce table.shop_table td.product-name a:hover { color: var(--green); }
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--forest);
  font-weight: 500;
}

/* Totaux panier */
.woocommerce .cart_totals {
  background: var(--cream-mid);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
}
.woocommerce .cart_totals h2 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 1.5rem;
}
.woocommerce .cart_totals table th {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.05em;
}
.woocommerce .cart_totals table .order-total th,
.woocommerce .cart_totals table .order-total td {
  color: var(--forest);
  font-size: 1rem;
  font-weight: 700;
}

/* Messages WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 12px;
  padding: 1rem 1.4rem;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--green);
  background: rgba(61,107,44,0.06);
  color: var(--forest);
}
.woocommerce-error { border-left-color: #c0392b; background: rgba(192,57,43,0.07); color: #7a2e2e; }
.woocommerce-info  { border-left-color: var(--gold); background: rgba(201,164,94,0.08); }

/* Grille produits WooCommerce */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products li.product {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.woocommerce ul.products li.product a img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--forest);
  padding: 1rem 1.2rem 0.3rem;
}
.woocommerce ul.products li.product .price {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--forest);
  padding: 0 1.2rem 1rem;
  display: block;
}
.woocommerce ul.products li.product .button {
  margin: 0 1.2rem 1.2rem;
  display: block;
  text-align: center;
}

/* Fiche produit */
.woocommerce div.product .product_title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.woocommerce div.product .price {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--forest);
  font-weight: 500;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.85;
}

/* Checkout */
.woocommerce-checkout h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--forest);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
}
#order_review {
  background: var(--cream-mid);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
}

/* Notices de page panier vide */
.woocommerce-cart-form { margin-bottom: 2rem; }
.cart-empty.woocommerce-info {
  font-size: 1rem;
  padding: 2rem;
  text-align: center;
}

/* Responsive WooCommerce */
@media (max-width: 900px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .wc-page-wrap { padding: 7rem 0 4rem; }
}

/* ================================================================
   APPLE-INSPIRED ANIMATIONS
   ================================================================ */

/* ── Extended reveal variants ── */
.reveal-blur {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  will-change: transform, opacity, filter;
}
.reveal-blur.visible { opacity:1; transform:translateY(0); filter:blur(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: transform, opacity;
}
.reveal-left.visible { opacity:1; transform:translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: transform, opacity;
}
.reveal-right.visible { opacity:1; transform:translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: transform, opacity;
}
.reveal-scale.visible { opacity:1; transform:scale(1); }

/* Additional stagger delays */
.reveal-delay-5 { transition-delay:0.56s; }
.reveal-delay-6 { transition-delay:0.70s; }
.reveal-delay-7 { transition-delay:0.84s; }
.reveal-delay-8 { transition-delay:1.00s; }

/* ── Stagger grid: children enter in sequence ── */
.stagger-grid > * {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
  will-change: transform, opacity;
}
.stagger-grid.visible > *:nth-child(1)  { opacity:1; transform:none; transition-delay:0.00s; }
.stagger-grid.visible > *:nth-child(2)  { opacity:1; transform:none; transition-delay:0.08s; }
.stagger-grid.visible > *:nth-child(3)  { opacity:1; transform:none; transition-delay:0.16s; }
.stagger-grid.visible > *:nth-child(4)  { opacity:1; transform:none; transition-delay:0.24s; }
.stagger-grid.visible > *:nth-child(5)  { opacity:1; transform:none; transition-delay:0.32s; }
.stagger-grid.visible > *:nth-child(6)  { opacity:1; transform:none; transition-delay:0.40s; }
.stagger-grid.visible > *:nth-child(7)  { opacity:1; transform:none; transition-delay:0.48s; }
.stagger-grid.visible > *:nth-child(8)  { opacity:1; transform:none; transition-delay:0.56s; }
.stagger-grid.visible > *:nth-child(9)  { opacity:1; transform:none; transition-delay:0.64s; }
.stagger-grid.visible > *:nth-child(10) { opacity:1; transform:none; transition-delay:0.72s; }
/* Separators appear instantly (decorative only) */
.stagger-grid > .value-sep { transition-duration: 0.2s; }

/* ── Scroll progress bar ── */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 100%);
  z-index: 10001;
  pointer-events: none;
  will-change: width;
}

/* ── Mobile nav backdrop blur ── */
.mobile-nav { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

/* ── Product card: smoother image scale ── */
.product-card:hover .product-img-inner { transform:scale(1.08); }

/* ── Blog card: more image zoom on hover ── */
.blog-card:hover .blog-img-inner { transform:scale(1.10); }

/* ── About image: subtle zoom on reveal ── */
.about-visual .about-img {
  transition: transform 1.2s var(--ease);
  transform: scale(1.04);
}
.about-visual.visible .about-img { transform: scale(1); }

/* ── Commit cards: scale on hover ── */
.commit-card:hover { transform: translateY(-6px) scale(1.01); }

/* ── Blog cards: lift more ── */
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ── Section label underline dot ── */
.section-label::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ── Buttons: GPU-accelerated ── */
.btn { will-change: transform; }

/* ── Hero right: smooth parallax ── */
.hero-right { will-change: background-position; }