/* ============================================================
   AGRO AFRICA INDUSTRIES — style.css
   Pure CSS3, no framework, no build
   ============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand colors */
  --clr-green:       #0F5132;
  --clr-green-mid:   #1a7a4a;
  --clr-green-light: #e8f4ee;
  --clr-green-dark:  #0a3d24;
  --clr-gold:        #D4AF37;
  --clr-gold-light:  #e8cb5c;
  --clr-gold-dark:   #b8941f;

  /* Neutrals */
  --clr-dark:        #12201a;
  --clr-dark-alt:    #1e2e26;
  --clr-body:        #374151;
  --clr-muted:       #6B7280;
  --clr-border:      #E5E7EB;
  --clr-cream:       #F9F6F0;
  --clr-white:       #ffffff;

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-py:  100px;
  --container:   1200px;

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(15,81,50,.08);
  --shadow-md:  0 8px 30px rgba(15,81,50,.12);
  --shadow-lg:  0 20px 60px rgba(15,81,50,.18);
  --shadow-xl:  0 32px 80px rgba(0,0,0,.22);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--clr-body);
  background: var(--clr-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

address { font-style: normal; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 3px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--clr-dark);
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 0; }

.text-gold { color: var(--clr-gold); font-style: italic; }

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

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

.bg-cream { background: var(--clr-cream); }

/* Section header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-gold-dark);
  margin-bottom: 12px;
  position: relative;
  padding-inline: 40px;
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 1px;
  background: var(--clr-gold);
}

.section-label::before { left: 0; }
.section-label::after  { right: 0; }

.section-title {
  color: var(--clr-dark);
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--clr-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all .3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-gold {
  background: var(--clr-gold);
  color: var(--clr-green-dark);
  border-color: var(--clr-gold);
}
.btn-gold:hover {
  background: var(--clr-gold-dark);
  border-color: var(--clr-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,.4);
}

.btn-primary {
  background: var(--clr-green);
  color: var(--clr-white);
  border-color: var(--clr-green);
}
.btn-primary:hover {
  background: var(--clr-green-mid);
  border-color: var(--clr-green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary-full {
  width: 100%;
  background: var(--clr-green);
  color: var(--clr-white);
  border-color: var(--clr-green);
  padding: 16px 32px;
  font-size: 1rem;
}
.btn-primary-full:hover {
  background: var(--clr-green-mid);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  font-size: .875rem;
  font-weight: 600;
  background: var(--clr-gold);
  color: var(--clr-green-dark);
  border-radius: 4px;
  border: 2px solid var(--clr-gold);
  transition: all .3s var(--ease);
  text-decoration: none;
}
.btn-gold-sm:hover {
  background: var(--clr-gold-dark);
  border-color: var(--clr-gold-dark);
  transform: translateY(-2px);
}

.btn-white-sm {
  display: inline-flex;
  padding: 10px 22px;
  font-size: .875rem;
  font-weight: 600;
  background: var(--clr-white);
  color: var(--clr-green);
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all .3s var(--ease);
  text-decoration: none;
}
.btn-white-sm:hover {
  background: var(--clr-gold);
  color: var(--clr-green-dark);
}

/* ============================================================
   6. SCROLL ANIMATIONS
   ============================================================ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity .75s var(--ease-out),
    transform .75s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal-up    { transform: translateY(48px); }
.reveal-left  { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }

.reveal-up.animated,
.reveal-left.animated,
.reveal-right.animated {
  opacity: 1;
  transform: translate(0);
}

/* ============================================================
   7. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-block: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}

.navbar.scrolled {
  background: var(--clr-dark);
  padding-block: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-dark);
  border-radius: 4px;
  transition: color .25s, background .25s;
  letter-spacing: .02em;
}

.nav-link:hover {
  color: var(--clr-green);
}

.nav-link.active {
  color: var(--clr-green);
  font-weight: 600;
}

/* Liens blancs quand la nav est sombre (après scroll) */
.navbar.scrolled .nav-link {
  color: rgba(255,255,255,.85);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--clr-gold);
}

.nav-cta {
  background: var(--clr-green);
  color: var(--clr-white) !important;
  font-weight: 700;
  padding: 9px 22px;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--clr-green-mid);
  color: var(--clr-white) !important;
}

.navbar.scrolled .nav-cta {
  background: var(--clr-gold);
  color: var(--clr-green-dark) !important;
}

.navbar.scrolled .nav-cta:hover {
  background: var(--clr-gold-dark);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 4px;
  transition: background .2s;
}

.nav-hamburger:hover { background: rgba(0,0,0,.06); }

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .35s;
  transform-origin: center;
}

.navbar.scrolled .nav-hamburger span {
  background: var(--clr-white);
}

.navbar.scrolled .nav-hamburger:hover { background: rgba(255,255,255,.1); }

.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20%;
  background-image: url('https://images.unsplash.com/photo-1500382134874-3507e683b3b7?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  will-change: transform;
  /* Fallback gradient if image fails */
  background-color: var(--clr-green-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 61, 36, .88) 0%,
    rgba(15, 81, 50, .70) 50%,
    rgba(10, 61, 36, .82) 100%
  );
}

/* Gold accent stripe left */
.hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--clr-gold), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
}

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  padding: 6px 16px;
  border: 1px solid rgba(212,175,55,.4);
  border-radius: 20px;
  margin-bottom: 24px;
  background: rgba(212,175,55,.08);
}

.hero-title {
  color: var(--clr-white);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-title em {
  display: block;
  font-style: italic;
  color: var(--clr-gold);
}

.hero-subtitle {
  color: rgba(255,255,255,.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

/* Hero KPIs */
.hero-kpis {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 16px;
  padding: 24px 28px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  max-width: 520px;
}

.hero-kpi {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.hero-kpi strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-kpi span {
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-kpi-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
  margin-inline: 8px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s;
}

.hero-scroll:hover { color: var(--clr-gold); }

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .6; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   9. TICKER BAND
   ============================================================ */
.ticker-band {
  background: var(--clr-green-dark);
  padding-block: 13px;
  overflow: hidden;
  border-top: 2px solid var(--clr-gold);
  border-bottom: 2px solid var(--clr-gold);
  position: relative;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  will-change: transform;
}

.ticker-band:hover .ticker-track { animation-play-state: paused; }

.ticker-track span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  flex-shrink: 0;
}

.ticker-dot {
  color: var(--clr-gold) !important;
  font-size: .5rem !important;
  letter-spacing: 0 !important;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   10. ABOUT
   ============================================================ */
.about .container { max-width: 1240px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Images */
.about-images {
  position: relative;
}

.about-img-main-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.about-img-main {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform .6s var(--ease);
}

.about-img-main-wrap:hover .about-img-main {
  transform: scale(1.04);
}

/* Green line accent */
.about-img-main-wrap::before {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 60%;
  height: 60%;
  border-right: 4px solid var(--clr-green);
  border-bottom: 4px solid var(--clr-green);
  z-index: -1;
  border-radius: 0 0 6px 0;
}

/* Gold top-left accent */
.about-img-main-wrap::after {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  width: 40%;
  height: 40%;
  border-left: 4px solid var(--clr-gold);
  border-top: 4px solid var(--clr-gold);
  z-index: -1;
  border-radius: 6px 0 0 0;
}

.about-img-float {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 150px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--clr-white);
  z-index: 1;
}

.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.about-img-float:hover img { transform: scale(1.08); }

.about-badge {
  position: absolute;
  top: 28px;
  left: -28px;
  background: var(--clr-gold);
  border-radius: 6px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.about-badge-year {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-green-dark);
  line-height: 1;
}

.about-badge-text {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-green-dark);
  margin-top: 4px;
}

/* Text */
.about-text .section-label { text-align: left; padding-left: 0; }
.about-text .section-label::before { display: none; }

.about-lead {
  font-size: 1.15rem;
  color: var(--clr-dark);
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-text p {
  color: var(--clr-muted);
  margin-bottom: 16px;
}

/* Mission/Vision */
.about-mv {
  margin-block: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-mv-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--clr-cream);
  border-radius: 8px;
  border-left: 3px solid var(--clr-gold);
  transition: box-shadow .3s;
}

.about-mv-item:hover { box-shadow: var(--shadow-sm); }

.about-mv-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--clr-green);
  color: var(--clr-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-mv-item h4 {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.about-mv-item p {
  font-size: .9rem;
  color: var(--clr-muted);
  margin: 0;
}

/* ============================================================
   11. STATS
   ============================================================ */
.section-stats {
  position: relative;
  padding-block: 90px;
  overflow: hidden;
}

.stats-parallax-bg {
  position: absolute;
  inset: -20%;
  background-image: url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-color: var(--clr-green-dark);
  will-change: transform;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,61,36,.94) 0%, rgba(15,81,50,.88) 100%);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 48px 24px;
  background: rgba(0,0,0,.15);
  position: relative;
  transition: background .3s;
}

.stat-item:hover { background: rgba(212,175,55,.08); }

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--clr-gold);
  opacity: 0;
  transition: opacity .3s;
}

.stat-item:hover::after { opacity: 1; }

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ============================================================
   12. ACTIVITIES
   ============================================================ */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.act-card {
  padding: 40px 32px;
  background: var(--clr-white);
  border-radius: 8px;
  border: 1px solid var(--clr-border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
  overflow: hidden;
}

.act-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.act-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.act-card:hover::before { transform: scaleX(1); }

.act-icon {
  margin-bottom: 24px;
}

.act-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--clr-dark);
}

.act-card p {
  font-size: .92rem;
  color: var(--clr-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.act-link {
  font-size: .875rem;
  font-weight: 700;
  color: var(--clr-green);
  letter-spacing: .03em;
  transition: color .25s, gap .25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.act-link:hover { color: var(--clr-gold-dark); gap: 10px; }

/* CTA card */
.act-card--cta {
  background: linear-gradient(135deg, var(--clr-green-dark) 0%, var(--clr-green) 100%);
  border-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.act-card--cta::before { background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light)); }

.act-cta-inner { text-align: center; position: relative; z-index: 1; }

.act-cta-leaf {
  position: absolute;
  top: -20px; right: -20px;
  pointer-events: none;
}

.act-card--cta h3 {
  color: var(--clr-white);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.act-card--cta p {
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
}

/* ============================================================
   13. PRODUCTS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.prod-card {
  background: var(--clr-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.prod-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.prod-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--fallback-bg, var(--clr-cream));
}

.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.prod-card:hover .prod-img-wrap img { transform: scale(1.08); }

.prod-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,61,36,.85) 0%, rgba(10,61,36,.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.prod-card:hover .prod-overlay { opacity: 1; }

.prod-info {
  padding: 20px 20px 24px;
}

.prod-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.prod-tags span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-green);
  background: var(--clr-green-light);
  padding: 3px 9px;
  border-radius: 20px;
}

.prod-info h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--clr-dark);
}

.prod-info p {
  font-size: .875rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

.products-cta {
  text-align: center;
  margin-top: 56px;
  padding: 48px;
  background: var(--clr-green-light);
  border-radius: 8px;
  border: 1px solid rgba(15,81,50,.15);
}

.products-cta p {
  font-size: 1.1rem;
  color: var(--clr-dark);
  margin-bottom: 24px;
}

/* ============================================================
   14. VIDEO PROMO
   ============================================================ */
.video-promo {
  background: var(--clr-green-dark);
  padding-block: var(--section-py);
  overflow: hidden;
}

.video-promo .section-label { color: var(--clr-gold); }

.video-promo .section-title,
.video-promo .section-subtitle {
  color: var(--clr-white);
}

.video-promo .section-subtitle { opacity: .75; }

.video-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #000;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

/* Poster */
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}

.video-wrap.playing .video-poster { opacity: 0; pointer-events: none; }

/* Vidéo native — remplace le poster au lancement */
#promoVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrap.playing #promoVideo { opacity: 1; }

/* Dark overlay on poster */
.video-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,61,36,.25) 0%,
    rgba(10,61,36,.55) 100%
  );
  transition: opacity .4s;
}

.video-wrap.playing .video-poster-overlay { opacity: 0; pointer-events: none; }

/* Play button */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: none;
  background: var(--clr-gold);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s, transform .3s var(--ease), box-shadow .3s;
  box-shadow: 0 0 0 10px rgba(212,175,55,.25), 0 8px 32px rgba(0,0,0,.4);
  z-index: 2;
}

.video-play-btn svg { margin-left: 5px; }

.video-play-btn:hover {
  background: var(--clr-gold-light);
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 0 16px rgba(212,175,55,.15), 0 12px 40px rgba(0,0,0,.45);
}

.video-wrap.playing .video-play-btn { opacity: 0; pointer-events: none; transition: opacity .3s; }

/* Caption under video */
.video-caption {
  max-width: 900px;
  margin: 20px auto 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  font-family: var(--font-sans);
  letter-spacing: .03em;
}

/* Iframe (injected by JS) */
.video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity .5s .1s;
}

.video-wrap.playing .video-iframe { opacity: 1; }

/* ============================================================
   15. WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.why-item {
  padding: 48px 36px;
  border-right: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  transition: background .3s;
  position: relative;
}

.why-item:hover { background: var(--clr-cream); }

/* Remove right border for col 3 */
.why-item:nth-child(3n) { border-right: none; }
/* Remove bottom border for last row */
.why-item:nth-child(n+4) { border-bottom: none; }

/* Gold top accent on hover */
.why-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.why-item:hover::before { transform: scaleX(1); }

.why-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--clr-green-light);
  line-height: 1;
  margin-bottom: 16px;
  transition: color .3s;
}

.why-item:hover .why-num { color: rgba(212,175,55,.2); }

.why-item h3 {
  font-size: 1.1rem;
  color: var(--clr-dark);
  margin-bottom: 12px;
}

.why-item p {
  font-size: .9rem;
  color: var(--clr-muted);
  line-height: 1.7;
}

/* ============================================================
   16. CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding-block: 110px;
  overflow: hidden;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: -20%;
  background-image: url('https://images.unsplash.com/photo-1504472478235-9bc48ba4d60f?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-color: var(--clr-green);
  will-change: transform;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,61,36,.92), rgba(15,81,50,.85));
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-inline: auto;
}

.cta-banner-content .section-label {
  color: var(--clr-gold);
}

.cta-banner-content h2 {
  color: var(--clr-white);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin-block: 20px;
}

.cta-banner-content p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   16. CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

/* Info */
.contact-info-block {
  margin-bottom: 36px;
}

.contact-info-block h3 {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--clr-green);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--clr-gold);
  display: inline-block;
}

.contact-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: .9rem;
  color: var(--clr-body);
}

.contact-icon {
  color: var(--clr-gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail a {
  color: var(--clr-green);
  transition: color .2s;
}

.contact-detail a:hover { color: var(--clr-gold-dark); }

.contact-certifs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-certifs span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-green);
  border: 2px solid var(--clr-green);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Form */
.contact-form-wrap {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-dark);
  letter-spacing: .03em;
}

.form-group label span { color: var(--clr-gold-dark); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--clr-cream);
  border: 1.5px solid var(--clr-border);
  border-radius: 6px;
  color: var(--clr-dark);
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-green);
  box-shadow: 0 0 0 3px rgba(15,81,50,.12);
  background: var(--clr-white);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc2626;
}

.form-error {
  font-size: .8rem;
  color: #dc2626;
  min-height: 1em;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-note {
  font-size: .78rem;
  color: var(--clr-muted);
  text-align: center;
  margin-top: -4px;
}

/* Submit states */
#submitBtn {
  transition: all .3s var(--ease);
}

#submitBtn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

#submitBtn.loading .btn-text::after {
  content: '…';
  animation: dotPulse 1s infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer { background: var(--clr-dark); }

.footer-main {
  padding-block: 80px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand img {
  height: 54px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background .25s, color .25s, border-color .25s;
}

.social-btn:hover {
  background: var(--clr-gold);
  color: var(--clr-green-dark);
  border-color: var(--clr-gold);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--clr-gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212,175,55,.25);
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color .2s, padding-left .2s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--clr-gold);
  padding-left: 6px;
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
}

.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--clr-gold);
}

.footer-contact-list a {
  color: rgba(255,255,255,.55);
  transition: color .2s;
}

.footer-contact-list a:hover { color: var(--clr-gold); }

.footer-certifs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-certifs span {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(212,175,55,.8);
  border: 1px solid rgba(212,175,55,.3);
  padding: 3px 9px;
  border-radius: 20px;
}

/* Footer bottom */
.footer-bottom {
  padding-block: 22px;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom nav { display: flex; gap: 24px; }

.footer-bottom a {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  transition: color .2s;
}

.footer-bottom a:hover { color: var(--clr-gold); }

/* ============================================================
   18. LANGUAGE TOGGLE
   ============================================================ */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--clr-border);
  flex-shrink: 0;
}

.navbar.scrolled .lang-toggle {
  border-color: rgba(255,255,255,.18);
}

.lang-btn {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--clr-muted);
  padding: 5px 9px;
  border-radius: 4px;
  background: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--clr-green);
  background: var(--clr-green-light);
}

.lang-btn.active {
  color: var(--clr-green);
  background: var(--clr-green-light);
  border-color: rgba(15,81,50,.2);
}

.navbar.scrolled .lang-btn {
  color: rgba(255,255,255,.45);
}

.navbar.scrolled .lang-btn:hover {
  color: var(--clr-gold);
  background: rgba(212,175,55,.12);
}

.navbar.scrolled .lang-btn.active {
  color: var(--clr-gold);
  background: rgba(212,175,55,.12);
  border-color: rgba(212,175,55,.3);
}

.lang-sep {
  font-size: .75rem;
  color: var(--clr-border);
  user-select: none;
  pointer-events: none;
  padding-inline: 2px;
}

.navbar.scrolled .lang-sep { color: rgba(255,255,255,.18); }

/* Hide lang toggle inside mobile menu, show standalone */
@media (max-width: 768px) {
  .lang-toggle {
    margin-left: 8px;
    padding-left: 10px;
  }
}

/* ============================================================
   19. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: var(--clr-gold);
  color: var(--clr-green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212,175,55,.4);
  transition: transform .3s var(--ease), box-shadow .3s, opacity .3s;
  opacity: 0;
  pointer-events: none;
}

.back-to-top:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212,175,55,.55);
}

/* ============================================================
   19. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .about-grid { grid-template-columns: 1fr; gap: 80px; }
  .about-images { max-width: 560px; margin-inline: auto; }

  .about-badge { left: -14px; }

  .activities-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   20. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-py: 64px; }

  /* Navbar */
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100svh;
    width: min(360px, 88vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 100px 28px 48px;
    background: var(--clr-dark);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.4);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.open { transform: translateX(0); }

  /* Liens visibles sur fond sombre du tiroir */
  .nav-link {
    padding: 20px 8px;
    border-bottom: 1px solid rgba(255,255,255,.09);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: rgba(255,255,255,.88);
    line-height: 1.4;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--clr-gold);
    background: transparent;
  }

  .nav-cta {
    margin: 32px 0 0;
    text-align: center;
    border-radius: 8px;
    padding: 18px 24px;
    font-size: 1rem;
    color: var(--clr-white) !important;
    display: block;
  }

  /* Lang toggle dans le tiroir mobile */
  .nav-links .lang-toggle { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-links .lang-btn { color: rgba(255,255,255,.6); }
  .nav-links .lang-btn.active,
  .nav-links .lang-btn:hover { color: var(--clr-gold); }
  .nav-links .lang-sep { color: rgba(255,255,255,.2); }

  /* Hero */
  .hero-content {
    padding-inline: 24px;
    text-align: center;
  }

  .hero::before { display: none; }

  .hero-actions { justify-content: center; }

  .hero-kpis {
    justify-content: center;
    max-width: 100%;
  }

  .hero-kpi-sep { display: none; }

  .hero-kpis { flex-wrap: wrap; gap: 20px; row-gap: 16px; justify-content: space-around; }

  .hero-kpi { flex: 0 0 calc(33% - 16px); }

  /* About */
  .about-img-float {
    bottom: -24px;
    right: -16px;
    width: 140px;
    height: 100px;
  }

  .about-badge { left: -8px; padding: 12px 14px; }
  .about-badge-year { font-size: 1.6rem; }

  .about-mv { gap: 14px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Activities */
  .activities-grid { grid-template-columns: 1fr; }

  /* Products — 1 colonne sur mobile étroit */
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Video promo */
  .video-promo { padding-block: 56px; }
  .video-wrap { border-radius: 10px; }
  .video-play-btn { width: 64px; height: 64px; }
  .video-play-btn svg { width: 22px; height: 22px; }

  /* Why Us */
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none; }
  .why-item:nth-child(n+4) { border-bottom: 1px solid var(--clr-border); }
  .why-item:last-child { border-bottom: none; }
  .why-num { font-size: 3rem; }

  /* CTA Banner */
  .cta-banner-actions { flex-direction: column; align-items: stretch; }
  .cta-banner-actions .btn { text-align: center; justify-content: center; }

  /* Contact form */
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* Back to top */
  .back-to-top { bottom: 24px; right: 20px; width: 42px; height: 42px; }
}

/* ============================================================
   21. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-kpi { flex: 0 0 calc(50% - 12px); }
  .hero-kpi-sep { display: none; }

  .activities-grid { grid-template-columns: 1fr; }

  /* Titres hero plus petits sur très petit écran */
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-subtitle { font-size: .95rem; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }

  /* About badge ne déborde pas */
  .about-badge { left: 0; right: 0; margin-inline: auto; width: fit-content; }

  /* Footer crédit sur mobile */
  .footer-bottom nav { flex-direction: column; gap: 12px; align-items: center; }

  .contact-certifs,
  .footer-certifs { justify-content: center; }
}

/* ============================================================
   22. PRINT
   ============================================================ */
@media print {
  .navbar, .ticker-band, .back-to-top, .hero-scroll { display: none; }
  .hero { height: auto; padding-block: 40px; }
  .hero-bg, .hero-overlay,
  .stats-parallax-bg, .stats-overlay,
  .cta-banner-bg, .cta-banner-overlay { display: none; }
  .section-stats, .cta-banner { background: var(--clr-green); }
}

/* ============================================================
   23. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}
