/* =============================================
   Le Rif Vert — Design tokens & styles globaux
   Issus des variables Figma Make (theme.css)
   ============================================= */

:root {
  /* Tokens Figma */
  --font-size: 16px;
  --background: #ffffff;
  --foreground: #0a0a0f;
  --card: #ffffff;
  --card-foreground: #0a0a0f;
  --primary: #030213;
  --primary-foreground: #ffffff;
  --secondary: #f0f0f5;
  --secondary-foreground: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --accent: #e9ebef;
  --accent-foreground: #030213;
  --destructive: #d4183d;
  --border: rgba(0, 0, 0, 0.10);
  --input-background: #f3f3f5;
  --ring: #b3b3b3;
  --radius: 0.625rem;
  --font-weight-medium: 500;
  --font-weight-normal: 400;

  /* Palette Le Rif Vert */
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-600: #066432;
  --green-700: #054f28;
  --green-800: #043d1f;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-300:  #d1d5db;
  --gray-400:  #9ca3af;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-900:  #111827;

  /* Espacements */
  --container-max: 80rem;
  --container-px: 1rem;
  --section-py: 5rem;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: var(--font-size); scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--background);
  color: var(--gray-700);
  line-height: 1.6;
  font-weight: var(--font-weight-normal);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, li { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }

/* ===== Layout helpers ===== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: var(--section-py); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-600); color: #fff; }
.btn-primary:hover { background: var(--green-700); }
.btn-outline { border-color: var(--green-600); color: var(--green-600); background: transparent; }
.btn-outline:hover { background: var(--green-50); }
.btn-white { background: #fff; color: var(--green-600); }
.btn-white:hover { background: var(--green-50); }
.btn-sm { padding: .5rem 1.25rem; font-size: .9rem; }

/* ===== Badge section ===== */
.badge {
  display: inline-block;
  padding: .375rem 1rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: var(--font-weight-medium);
}
.badge-green { background: var(--green-100); color: var(--green-800); }
.badge-white { background: var(--green-600); color: #fff; }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav-logo img,
.nav-logo-img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}
.nav-logo-fallback {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--green-600);
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a,
.nav-links .nav-link {
  color: var(--gray-700);
  font-weight: var(--font-weight-medium);
  transition: color .2s, background .2s;
  background: none;
  border: none;
  font-size: 1rem;
  padding: .375rem .75rem;
  border-radius: var(--radius);
}
.nav-links a:hover,
.nav-links .nav-link:hover { color: var(--green-600); }

/* Page active — desktop */
.nav-links a[aria-current="page"],
.nav-links li.current-menu-item > a {
  background: var(--green-600);
  color: #fff;
  font-weight: 600;
}
.nav-links a[aria-current="page"]:hover,
.nav-links li.current-menu-item > a:hover {
  background: var(--green-700);
  color: #fff;
}

.nav-links .nav-cta {
  background: none;
  color: var(--gray-700);
  padding: .375rem .75rem;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-links .nav-cta:hover { background: var(--green-50); color: var(--green-600); }
/* Désactive l'item courant quand Contact est actif */
.nav-links a.is-nav-muted,
.nav-links li.current-menu-item > a.is-nav-muted,
.nav-mobile a.is-nav-muted,
.nav-mobile li.current-menu-item > a.is-nav-muted {
  background: none;
  color: var(--gray-700);
  font-weight: var(--font-weight-medium);
}

.nav-links .nav-cta.is-contact-active {
  background: var(--green-600);
  color: #fff;
  font-weight: 600;
}
.nav-links .nav-cta.is-contact-active:hover { background: var(--green-700); color: #fff; }

/* Mobile toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: .5rem;
  color: var(--gray-700);
}
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding-bottom: 1rem;
  gap: .25rem;
}
.nav-mobile.open { display: flex; }

.nav-mobile a,
.nav-mobile .nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: .625rem 1rem;
  border-radius: var(--radius);
  color: var(--gray-700);
  background: none;
  border: none;
  font-size: 1rem;
  transition: background .2s;
}
.nav-mobile a:hover,
.nav-mobile .nav-link:hover { background: var(--green-50); color: var(--green-700); }

/* Page active — mobile */
.nav-mobile a[aria-current="page"],
.nav-mobile li.current-menu-item > a {
  background: var(--green-600);
  color: #fff;
  font-weight: 600;
}
.nav-mobile a[aria-current="page"]:hover,
.nav-mobile li.current-menu-item > a:hover {
  background: var(--green-700);
  color: #fff;
}
.nav-mobile .nav-link-cta {
  background: none;
  color: var(--gray-700);
  margin-top: .25rem;
}
.nav-mobile .nav-link-cta:hover { background: var(--green-50); color: var(--green-600); }
.nav-mobile .nav-link-cta.is-contact-active {
  background: var(--green-600);
  color: #fff;
  font-weight: 600;
}
.nav-mobile .nav-link-cta.is-contact-active:hover { background: var(--green-700); color: #fff; }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding-top: 5rem; /* hauteur header */
  background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%);
}

.hero-inner {
  padding-block: 5rem;
}
@media (min-width: 1024px) { .hero-inner { padding-block: 8rem; } }

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-title { color: var(--gray-900); }
.hero-content h1 { line-height: 1.1; }

.hero-desc { font-size: 1.125rem; color: var(--gray-600); line-height: 1.7; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--green-200);
}
.hero-stat-value { font-size: 1.875rem; font-weight: 700; color: var(--green-600); }
.hero-stat-label { font-size: .875rem; color: var(--gray-600); margin-top: .25rem; }

/* Image/slider zone */
.hero-visual { position: relative; }
.hero-img-wrap {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,.15);
  aspect-ratio: 4/3;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Hero slider */
.hero-slider { position: relative; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
  color: var(--gray-800);
}
.hero-slider-arrow:hover { background: #fff; }
.hero-slider-prev { left: .75rem; }
.hero-slider-next { right: .75rem; }

.hero-slider-dots {
  position: absolute;
  bottom: .875rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.hero-slider-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.hero-slider-dot.is-active {
  background: #fff;
  transform: scale(1.35);
}

.hero-badge-cert {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  z-index: 10;
}
.hero-badge-cert .cert-label { font-size: .75rem; color: var(--gray-600); }
.hero-badge-cert .cert-value { font-size: 1.125rem; font-weight: 600; color: var(--green-600); }

.hero-scroll {
  display: flex;
  justify-content: center;
  padding-top: 4rem;
}
.hero-scroll-btn {
  background: none;
  border: none;
  color: var(--green-600);
  animation: bounce 1.5s infinite;
}
.hero-scroll-btn svg { width: 2rem; height: 2rem; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* =============================================
   PRODUITS (section accueil & page)
   ============================================= */
.products-section { background: #fff; }

/* Header page produits (vert foncé, aligné gauche) */
.products-page-header {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: linear-gradient(to right, var(--green-600), var(--green-700));
  color: #fff;
}
.products-back-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: rgba(255,255,255,.85);
  font-size: .9375rem;
  margin-bottom: 1.5rem;
  transition: color .2s;
  text-decoration: none;
}
.products-back-link:hover { color: #fff; }
.products-page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.products-page-header p {
  font-size: 1.125rem;
  color: var(--green-100);
  max-width: 48rem;
}

/* Filtres catégories */
.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.cat-filter-btn {
  display: inline-block;
  padding: .5rem 1.25rem;
  border-radius: 2rem;
  border: 2px solid var(--green-600);
  color: var(--green-700);
  font-size: .9375rem;
  font-weight: 500;
  background: transparent;
  transition: background .2s, color .2s;
  cursor: pointer;
  text-decoration: none;
}
.cat-filter-btn:hover,
.cat-filter-btn.active {
  background: var(--green-600);
  color: #fff;
}

.products-empty {
  text-align: center;
  color: var(--gray-600);
  padding: 3rem 0;
  font-size: 1.125rem;
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { font-size: 1.125rem; color: var(--gray-600); max-width: 48rem; margin: 1rem auto 0; }

.products-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .products-grid { grid-template-columns: 1fr 1fr; } }

.product-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.product-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.product-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-card-body { padding: 2rem; }

.product-icon {
  width: 3.5rem; height: 3.5rem;
  background: var(--green-100);
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--green-600);
}
.product-icon svg { width: 1.75rem; height: 1.75rem; }

.product-card h3 { margin-bottom: .5rem; }
.product-card p { color: var(--gray-600); margin-bottom: 1rem; }

.product-features { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.product-feature {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--gray-700);
  font-size: .9375rem;
}
.product-feature::before {
  content: '';
  width: .375rem; height: .375rem;
  background: var(--green-600);
  border-radius: 50%;
  flex-shrink: 0;
}

.product-link { color: var(--green-600); font-weight: 600; transition: color .2s; }
.product-link:hover { color: var(--green-700); }

/* CTA banner */
.products-cta {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
}
.products-cta h3 { color: #fff; margin-bottom: 1rem; }
.products-cta p { color: rgba(255,255,255,.85); font-size: 1.0625rem; max-width: 36rem; margin: 0 auto 1.5rem; }
.products-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   À PROPOS (section & page)
   ============================================= */
.about-section { background: var(--gray-50); }

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-text p { font-size: 1.0625rem; color: var(--gray-700); margin-bottom: 1.5rem; line-height: 1.8; }
.about-text strong { color: var(--green-600); }

.about-img-wrap {
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Values grid */
.values-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px)  { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow .3s;
}
.value-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }

.value-icon {
  width: 3rem; height: 3rem;
  background: var(--green-100);
  border-radius: .625rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--green-600);
}
.value-icon svg { width: 1.5rem; height: 1.5rem; }
.value-card h4 { margin-bottom: .375rem; }
.value-card p { font-size: .9375rem; color: var(--gray-600); }

/* Certifications */
.certifications {
  margin-top: 4rem;
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
}
@media (min-width: 1024px) { .certifications { padding: 3rem; } }

.certs-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
  margin-top: 2rem;
}
@media (min-width: 768px) { .certs-grid { grid-template-columns: repeat(3, 1fr); } }

.cert-icon {
  width: 5rem; height: 5rem;
  background: var(--green-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--green-600);
}
.cert-icon svg { width: 2.5rem; height: 2.5rem; }
.cert-name { font-size: 1.0625rem; font-weight: 600; color: var(--gray-900); }
.cert-desc { font-size: .875rem; color: var(--gray-600); margin-top: .25rem; }

/* =============================================
   PAGE À PROPOS
   ============================================= */
.ap-section { padding: 5rem 0; }

.ap-section-header { text-align: center; margin-bottom: 3rem; }
.ap-section-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--gray-900); margin-bottom: .75rem; }
.ap-section-header p  { font-size: 1.125rem; color: var(--gray-600); }
.ap-section-header--white h2,
.ap-section-header--white p { color: #fff; }
.ap-section-header--white p { color: rgba(255,255,255,.75); }

/* Mission */
.ap-mission { background: #fff; }
.ap-mission-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .ap-mission-grid { grid-template-columns: 1fr 1fr; } }
.ap-mission-text .badge { margin-bottom: 1rem; }
.ap-mission-text h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--gray-900); margin: 1rem 0 1.5rem; }
.ap-mission-text p  { font-size: 1.0625rem; color: var(--gray-700); margin-bottom: 1rem; line-height: 1.8; }
.ap-mission-img img { width: 100%; border-radius: 1rem; box-shadow: 0 20px 40px rgba(0,0,0,.12); object-fit: cover; aspect-ratio: 4/3; }

/* Timeline */
.ap-timeline-section { background: var(--gray-50); }
.ap-timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .ap-timeline-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ap-timeline-grid { grid-template-columns: repeat(3, 1fr); } }
.ap-milestone {
  background: #fff;
  border-left: 4px solid var(--green-600);
  border-radius: .75rem;
  padding: 1.5rem;
  transition: box-shadow .2s;
}
.ap-milestone:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.ap-milestone-year { font-size: 2rem; font-weight: 700; color: var(--green-600); margin-bottom: .25rem; }
.ap-milestone h3 { font-size: 1.125rem; color: var(--gray-900); margin-bottom: .5rem; }
.ap-milestone p  { font-size: .9375rem; color: var(--gray-600); }

/* Valeurs */
.ap-values-section { background: #fff; }
.ap-values-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .ap-values-grid { grid-template-columns: 1fr 1fr; } }
.ap-value-card {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 2rem;
  transition: box-shadow .2s;
}
.ap-value-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.ap-value-icon {
  width: 4rem; height: 4rem;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.ap-value-card h3 { font-size: 1.375rem; color: var(--gray-900); margin-bottom: .75rem; }
.ap-value-card p  { font-size: 1.0625rem; color: var(--gray-700); line-height: 1.7; }
.ap-icon-blue   { background: #dbeafe; color: #2563eb; }
.ap-icon-green  { background: var(--green-100); color: var(--green-600); }
.ap-icon-orange { background: #ffedd5; color: #ea580c; }
.ap-icon-teal   { background: #ccfbf1; color: #0d9488; }

/* Équipe */
.ap-team-section { background: linear-gradient(135deg, var(--green-50), var(--green-100)); }
.ap-team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .ap-team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ap-team-grid { grid-template-columns: repeat(4, 1fr); } }
.ap-team-card {
  background: #fff;
  border-radius: .75rem;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow .2s;
}
.ap-team-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.ap-team-icon {
  width: 4rem; height: 4rem;
  background: var(--green-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-600);
  margin: 0 auto 1rem;
}
.ap-team-card h3 { font-size: 1.125rem; color: var(--gray-900); margin-bottom: .5rem; }
.ap-team-card p  { font-size: .9375rem; color: var(--gray-600); }

/* Certifications */
.ap-certs-section { background: #fff; }
.ap-certs-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .ap-certs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ap-certs-grid { grid-template-columns: repeat(4, 1fr); } }
.ap-cert-card {
  background: linear-gradient(135deg, var(--gray-50), #fff);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: box-shadow .2s;
}
.ap-cert-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.ap-cert-icon {
  width: 5rem; height: 5rem;
  background: var(--green-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-600);
  margin: 0 auto 1.5rem;
}
.ap-cert-card h3 { font-size: 1.125rem; color: var(--gray-900); margin-bottom: .5rem; }
.ap-cert-card p  { font-size: .9375rem; color: var(--gray-600); }

/* Stats (fond sombre) */
.ap-stats-section { background: var(--gray-900); }
.ap-stats-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 768px) { .ap-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.ap-stat-value { font-size: 3.5rem; font-weight: 700; color: var(--green-400, #4ade80); margin-bottom: .5rem; }
.ap-stat h3 { font-size: 1.375rem; color: #fff; margin-bottom: .5rem; }
.ap-stat p  { font-size: .9375rem; color: rgba(255,255,255,.6); }

/* Engagement qualité (fond vert foncé) */
.ap-engagement-section { background: linear-gradient(to right, var(--green-600), var(--green-700)); color: #fff; }
.ap-engagement-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) { .ap-engagement-grid { grid-template-columns: 1fr 1fr; } }
.ap-engagement-list h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 2rem; }
.ap-engagement-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.ap-check { flex-shrink: 0; margin-top: .25rem; }
.ap-engagement-item h3 { font-size: 1.125rem; color: #fff; margin-bottom: .25rem; }
.ap-engagement-item p  { font-size: .9375rem; color: var(--green-100); }
.ap-expertise-box {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2rem;
}
.ap-expertise-box h3 { font-size: 1.375rem; color: #fff; margin-bottom: 1.5rem; }
.ap-expertise-box ul { list-style: none; padding: 0; }
.ap-expertise-box li { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.9); font-size: 1rem; margin-bottom: .75rem; }
.ap-dot { width: .5rem; height: .5rem; background: var(--green-300, #86efac); border-radius: 50%; flex-shrink: 0; }

/* CTA final */
.ap-cta-section { background: #fff; text-align: center; }
.ap-cta-section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--gray-900); margin-bottom: 1rem; }
.ap-cta-section p  { font-size: 1.125rem; color: var(--gray-600); max-width: 40rem; margin: 0 auto 2rem; }
.ap-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   CERTIFICATIONS
   ============================================= */
.certif-section { background: var(--green-50); }

.certif-box {
  background: #fff;
  border-radius: 1rem;
  padding: 3rem 2rem;
}
@media (min-width: 1024px) { .certif-box { padding: 3rem 4rem; } }

.certif-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}
@media (min-width: 768px) { .certif-grid { grid-template-columns: repeat(3, 1fr); } }

.certif-item { display: flex; flex-direction: column; align-items: center; gap: .75rem; }

.certif-icon {
  width: 5rem;
  height: 5rem;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  margin-bottom: .5rem;
}

.certif-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.certif-desc {
  font-size: .875rem;
  color: var(--gray-600);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section { background: #fff; }

.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* Form */
.contact-form-wrap {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 2rem;
}
.contact-form h3 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  margin-bottom: .5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-900);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .15);
}
.form-group textarea { resize: vertical; min-height: 7rem; }

.form-group input.cf-invalid,
.form-group textarea.cf-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
.form-group input.cf-valid,
.form-group textarea.cf-valid {
  border-color: var(--green-500, #22c55e);
}
.cf-error-msg {
  display: block;
  color: #ef4444;
  font-size: .8125rem;
  margin-top: .375rem;
}

.form-submit {
  width: 100%;
  background: var(--green-600);
  color: #fff;
  padding: 1rem;
  border-radius: var(--radius);
  border: none;
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background .2s;
  margin-top: .5rem;
}
.form-submit:hover { background: var(--green-700); }

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info h3 { margin-bottom: 1.5rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; }
.contact-item-icon {
  width: 3rem; height: 3rem;
  background: var(--green-100);
  border-radius: .625rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--green-600);
}
.contact-item-icon svg { width: 1.5rem; height: 1.5rem; }
.contact-item-label { font-size: .875rem; color: var(--gray-600); margin-bottom: .25rem; }
.contact-item-value { color: var(--gray-900); }
.contact-item-value a { color: var(--gray-900); transition: color .2s; }
.contact-item-value a:hover { color: var(--green-600); }

.hours-card {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  border-radius: 1rem;
  padding: 2rem;
  color: #fff;
}
.hours-card h4 { color: #fff; margin-bottom: 1rem; font-size: 1.125rem; }
.hours-row { display: flex; justify-content: space-between; padding: .375rem 0; font-size: .9375rem; opacity: .9; }

.support-card {
  background: var(--green-50);
  border-radius: 1rem;
  padding: 2rem;
}
.support-card h4 { margin-bottom: .75rem; font-size: 1.125rem; }
.support-card p { color: var(--gray-700); margin-bottom: 1rem; font-size: .9375rem; }
.support-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--green-600);
  font-weight: 600;
  transition: color .2s;
}
.support-link:hover { color: var(--green-700); }
.support-link svg { width: 1.25rem; height: 1.25rem; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: rgba(21, 128, 61, .88);
  color: #fff;
}

.footer-inner {
  padding-block: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { display: flex; align-items: center; gap: .75rem; }
.footer-logo img {
  width: 3rem; height: 3rem;
  object-fit: contain;
  background: #fff;
  border-radius: .5rem;
  padding: .25rem;
}
.footer-logo-name { font-size: 1.25rem; font-weight: 600; }
.footer-logo-tagline { font-size: .75rem; color: rgba(255,255,255,.6); }
.footer-brand p { font-size: .9375rem; color: rgba(255,255,255,.8); line-height: 1.7; }

.footer-contact { display: flex; flex-direction: column; gap: .625rem; }
.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.footer-col h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col li a,
.footer-col li button {
  font-size: .9375rem;
  color: rgba(255,255,255,.7);
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  transition: color .2s;
}
.footer-col li a:hover,
.footer-col li button:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom-left { display: flex; flex-direction: column; gap: .25rem; }
.footer-bottom p { font-size: .875rem; color: rgba(255,255,255,.7); }
.footer-credit { font-size: .8125rem; color: rgba(255,255,255,.5); }
.footer-credit a { color: rgba(255,255,255,.75); text-decoration: underline; transition: color .2s; }
.footer-credit a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-legal a { font-size: .875rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-legal a:hover { color: #fff; }

/* =============================================
   GUTENBERG — styles des blocs dans les pages
   ============================================= */
.entry-content {
  max-width: 52rem;
  margin-inline: auto;
  padding-block: 2rem;
}
.entry-content h2,
.entry-content h3 { margin-block: 1.5rem .75rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content img { border-radius: var(--radius); margin-block: 1.5rem; }
.entry-content blockquote {
  border-left: 4px solid var(--green-600);
  padding-left: 1.25rem;
  color: var(--gray-600);
  margin-block: 1.5rem;
  font-style: italic;
}
.entry-content a { color: var(--green-600); text-decoration: underline; }

/* Wide/full blocks override */
.alignwide  { max-width: 75rem; margin-inline: auto; }
.alignfull  { max-width: 100%; }

/* ===== Page generic ===== */
.page-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
  background: #fff;
  border-bottom: 1px solid var(--gray-200, #e5e7eb);
  text-align: center;
}
.page-header .badge { margin-bottom: 1rem; }
.page-header h1 { margin-bottom: .75rem; }
.page-header p { font-size: 1.125rem; color: var(--gray-600); max-width: 42rem; margin-inline: auto; }

/* =============================================
   PAGE DEVIS
   ============================================= */
.quote-section { background: var(--gray-50); }

/* Succès */
.dv-success-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 1rem 4rem;
}
.dv-success-box {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 36rem;
  width: 100%;
}
.dv-success-icon {
  width: 5rem; height: 5rem;
  background: var(--green-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-600);
  margin: 0 auto 1.5rem;
}
.dv-success-box h1 { font-size: 2.25rem; color: var(--gray-900); margin-bottom: 1rem; }
.dv-success-box > p { font-size: 1.125rem; color: var(--gray-600); margin-bottom: 2rem; }
.dv-success-info { background: var(--green-50); border-radius: .75rem; padding: 1.25rem 1.5rem; margin-bottom: 2rem; text-align: left; }
.dv-success-info p { color: var(--gray-700); margin-bottom: .5rem; }
.dv-success-info p:last-child { margin-bottom: 0; }
.dv-success-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Layout principal */
.dv-main { background: var(--gray-50); padding-bottom: 4rem; }
.dv-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
  margin-top: -2rem;
}

/* Header title avec icône */
.dv-header-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.dv-header-title h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }

/* Cartes étapes */
.dv-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  padding: 2rem;
  margin-bottom: 2rem;
}
.dv-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.dv-card-title { display: flex; align-items: center; gap: .75rem; font-size: 1.375rem; color: var(--gray-900); margin: 0 0 1.5rem; }
.dv-card-head .dv-card-title { margin-bottom: 0; }
.dv-step {
  width: 2rem; height: 2rem;
  background: var(--green-100);
  color: var(--green-600);
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9375rem;
  flex-shrink: 0;
}

/* Grille 2 colonnes */
.dv-grid-2 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dv-grid-2 { grid-template-columns: 1fr 1fr; } }
.dv-col-2 { grid-column: 1 / -1; }

/* Champs */
.dv-field label { display: block; font-size: .875rem; color: var(--gray-700); margin-bottom: .5rem; font-weight: 500; }
.dv-field input,
.dv-field select,
.dv-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--gray-300, #d1d5db);
  border-radius: .5rem;
  font-size: 1rem;
  color: var(--gray-900);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.dv-field input:focus,
.dv-field select:focus,
.dv-field textarea:focus {
  outline: none;
  border-color: var(--green-500, #22c55e);
  box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}
.dv-field textarea { resize: vertical; }

/* États validation */
.dv-field input.dv-invalid,
.dv-field select.dv-invalid,
.dv-field textarea.dv-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
.dv-field input.dv-valid,
.dv-field select.dv-valid,
.dv-field textarea.dv-valid {
  border-color: var(--green-500, #22c55e);
}
.dv-error-msg {
  display: block;
  color: #ef4444;
  font-size: .8125rem;
  margin-top: .375rem;
}

/* Checkbox CGV invalide */
.dv-cgv input.dv-invalid { outline: 2px solid #ef4444; outline-offset: 2px; border-radius: 2px; }
.dv-cgv .dv-error-msg { display: block; color: #ef4444; font-size: .8125rem; margin-top: .375rem; }

/* Radios */
.dv-radios { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.dv-radio { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: 1rem; color: var(--gray-700); }
.dv-radio input { accent-color: var(--green-600); width: 1.1rem; height: 1.1rem; }

/* Ligne produit */
.dv-product-row { display: grid; gap: 1rem; align-items: end; grid-template-columns: 1fr auto auto auto; margin-bottom: 1rem; }
@media (max-width: 639px) { .dv-product-row { grid-template-columns: 1fr 1fr; } }
.dv-field-product { grid-column: 1; }
@media (max-width: 639px) { .dv-field-product { grid-column: 1 / -1; } }

.dv-add-btn {
  display: inline-flex; align-items: center; gap: .375rem;
  color: var(--green-600); font-size: .9375rem; font-weight: 500;
  background: none; border: none; cursor: pointer; padding: 0;
  transition: color .2s;
}
.dv-add-btn:hover { color: var(--green-700); }

.dv-remove-btn {
  width: 2.75rem; height: 2.75rem;
  border-radius: .5rem;
  border: none;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.dv-remove-btn:hover:not(:disabled) { background: #fef2f2; }
.dv-remove-btn:disabled { color: var(--gray-300, #d1d5db); cursor: not-allowed; }

.dv-note {
  background: var(--green-50); border-radius: .5rem;
  padding: .875rem 1rem; font-size: .875rem; color: var(--gray-700);
  margin-top: 1rem;
}

/* CGV + submit */
.dv-cgv { display: flex; gap: .875rem; align-items: flex-start; margin-bottom: 1.5rem; }
.dv-cgv input { accent-color: var(--green-600); width: 1.25rem; height: 1.25rem; margin-top: .2rem; flex-shrink: 0; }
.dv-cgv label { font-size: .9375rem; color: var(--gray-700); line-height: 1.6; }

.dv-submit {
  width: 100%;
  background: var(--green-600);
  color: #fff;
  border: none;
  border-radius: .75rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  transition: background .2s;
}
.dv-submit:hover { background: var(--green-700); }
.dv-submit-note { text-align: center; color: var(--gray-600); font-size: .9375rem; margin-top: .75rem; }

/* Contact rapide */
.dv-contact-box {
  background: linear-gradient(to right, var(--green-600), var(--green-700));
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
}
.dv-contact-box h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.dv-contact-box p  { color: var(--green-100); margin-bottom: 1.5rem; }
.dv-contact-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.dv-contact-btn {
  background: #fff; color: var(--green-600);
  padding: .75rem 1.5rem;
  border-radius: .5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.dv-contact-btn:hover { background: var(--green-50); }

.quote-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .quote-grid { grid-template-columns: 2fr 1fr; } }

.quote-form-wrap {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.quote-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.quote-info-card {
  background: var(--green-600);
  border-radius: 1rem;
  padding: 1.75rem;
  color: #fff;
}
.quote-info-card h4 { color: #fff; margin-bottom: .75rem; }
.quote-info-card p { font-size: .9375rem; color: rgba(255,255,255,.85); }
.quote-steps { display: flex; flex-direction: column; gap: 1rem; }
.quote-step { display: flex; gap: .75rem; align-items: flex-start; }
.quote-step-num {
  width: 2rem; height: 2rem;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .875rem;
  flex-shrink: 0;
}
.quote-step-text { font-size: .9375rem; color: rgba(255,255,255,.85); padding-top: .25rem; }

/* =============================================
   RESPONSIVE utilities
   ============================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* SVG icons inline */
.icon { display: inline-block; vertical-align: middle; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  padding: .625rem 0 1.25rem;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .875rem;
}
.breadcrumb-item a {
  color: var(--green-600);
  transition: color .2s;
}
.breadcrumb-item a:hover { color: var(--green-700); text-decoration: underline; }
.breadcrumb-item span   { color: var(--gray-600); }
.breadcrumb-sep         { color: var(--gray-400); user-select: none; }

/* Rank Math override — même apparence */
.rm-breadcrumb .rank-math-breadcrumb p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  font-size: .875rem;
  margin: 0;
}
.rm-breadcrumb .rank-math-breadcrumb a   { color: var(--green-600); }
.rm-breadcrumb .rank-math-breadcrumb a:hover { color: var(--green-700); text-decoration: underline; }
.rm-breadcrumb .rank-math-breadcrumb .separator { color: var(--gray-400); }

/* =============================================
   FILTRE PAR CATÉGORIE (archive)
   ============================================= */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-bottom: 2.5rem;
}
.cat-filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 9999px;
  border: 1.5px solid var(--gray-300);
  background: #fff;
  color: var(--gray-700);
  font-size: .9375rem;
  font-weight: var(--font-weight-medium);
  transition: background .2s, border-color .2s, color .2s;
  text-decoration: none;
}
.cat-filter-btn:hover,
.cat-filter-btn.active {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #fff;
}

/* =============================================
   PRODUCT CARD — extras
   ============================================= */
.product-card-title { font-size: 1.25rem; margin-bottom: .5rem; }
.product-card-title a { color: var(--gray-900); transition: color .2s; }
.product-card-title a:hover { color: var(--green-600); }

.product-card-img-placeholder {
  aspect-ratio: 16/9;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
}
.product-card-img-placeholder svg { width: 4rem; height: 4rem; }

.product-applications {
  font-size: .875rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.product-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
}

.pagination { margin-top: 3rem; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  font-weight: var(--font-weight-medium);
  transition: background .2s, color .2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #fff;
}

.no-products { text-align: center; padding: 3rem 0; }
.no-products p { font-size: 1.125rem; color: var(--gray-600); margin-bottom: 1.5rem; }

/* =============================================
   SINGLE PRODUIT
   ============================================= */
.product-hero {
  position: relative;
  padding-top: 5rem; /* header height */
  min-height: 28rem;
  display: flex;
  align-items: flex-end;
  background: var(--green-800);
  overflow: hidden;
}
.product-hero-img {
  position: absolute;
  inset: 0;
}
.product-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
}
.product-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,101,52,.95) 0%, rgba(22,101,52,.3) 100%);
}
.product-hero-content {
  position: relative;
  z-index: 2;
  padding-block: 3rem;
  color: #fff;
}
.product-hero-content h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: .75rem; }
.product-hero-content .breadcrumb { padding-bottom: .75rem; }
.product-hero-content .breadcrumb-item a  { color: rgba(255,255,255,.7); }
.product-hero-content .breadcrumb-item span { color: rgba(255,255,255,.9); }
.product-hero-content .breadcrumb-sep    { color: rgba(255,255,255,.4); }
.product-hero-desc { font-size: 1.0625rem; color: rgba(255,255,255,.85); max-width: 42rem; line-height: 1.7; }

/* Rank Math breadcrumb inside hero */
.product-hero-content .rm-breadcrumb .rank-math-breadcrumb a { color: rgba(255,255,255,.7); }
.product-hero-content .rm-breadcrumb .rank-math-breadcrumb .separator { color: rgba(255,255,255,.4); }

.single-product-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 1rem;
}
@media (min-width: 1024px) {
  .single-product-grid { grid-template-columns: 1fr 22rem; }
}

.product-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius);
  padding: .5rem 1rem;
  font-size: .9375rem;
  color: var(--gray-700);
  margin-right: .75rem;
  margin-bottom: .75rem;
}

/* Sidebar */
.single-product-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-card {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}
.sidebar-cta { background: var(--green-50); border-color: var(--green-200); }
.sidebar-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-cta .sidebar-card-title { border-color: var(--green-200); }
.sidebar-cta p { font-size: .9375rem; color: var(--gray-700); margin-bottom: 1rem; }

/* Related products */
.related-products { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.related-products h3 { margin-bottom: 1.25rem; }
.related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}
.related-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  color: var(--gray-900);
}
.related-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.related-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.related-title {
  padding: .625rem .75rem;
  font-size: .875rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}
