/* ==========================================================================
   Veolia Agriculture France — Stylesheet
   ========================================================================== */

:root {
  --green-900: #0a3d24;
  --green-800: #0e4f2f;
  --green-700: #12653b;
  --green-600: #187a46;
  --green-500: #229a56;
  --green-400: #3cb56e;
  --green-100: #e6f5ea;
  --green-50: #f2faf4;
  --lime: #8bc34a;
  --ink: #16241a;
  --ink-soft: #47564c;
  --muted: #6c7a70;
  --line: #dfe9e2;
  --white: #ffffff;
  --off-white: #f7faf8;
  --shadow: 0 10px 30px rgba(10, 61, 36, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 61, 36, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --ff-head: "Poppins", "Segoe UI", sans-serif;
  --ff-body: "Inter", "Segoe UI", sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--green-900);
}
p { margin: 0 0 1em; color: var(--ink-soft); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-off { background: var(--off-white); }
.bg-green { background: var(--green-900); color: var(--white); }
.bg-green h1, .bg-green h2, .bg-green h3 { color: var(--white); }
.bg-green p { color: rgba(255,255,255,.82); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green-500);
  display: inline-block;
}
.bg-green .eyebrow { color: var(--lime); }
.bg-green .eyebrow::before { background: var(--lime); }

.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2.section-title { font-size: clamp(28px, 3.4vw, 40px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-600); color: var(--white); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--green-800); border-color: var(--white); }
.btn-outline-dark { border-color: var(--green-600); color: var(--green-700); background: transparent; }
.btn-outline-dark:hover { background: var(--green-600); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ==== Header ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--green-900);
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: var(--lime); }
.topbar-links svg { width: 14px; height: 14px; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--green-900);
  letter-spacing: -.01em;
}
.logo .mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--green-500), var(--green-800));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo .mark svg { width: 22px; height: 22px; color: #fff; }
.logo small { display: block; font-family: var(--ff-body); font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .03em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  transition: all .2s ease;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--green-100);
  color: var(--green-700);
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--green-900); border-radius: 2px; }

/* ==== Hero ==== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(9,42,25,.94) 0%, rgba(10,61,36,.82) 42%, rgba(10,61,36,.5) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero .eyebrow { color: var(--lime); }
.hero .eyebrow::before { background: var(--lime); }
.hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 56px); }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.86); max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.page-hero {
  min-height: 320px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--lime); }

/* ==== Stats ==== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: var(--white);
  padding: 36px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 36px;
  color: var(--green-700);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ==== Cards / grids ==== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img, .split .img-wrap { border-radius: var(--radius); }
.img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,.94);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.img-badge .num { font-family: var(--ff-head); font-weight: 700; font-size: 22px; color: var(--green-700); }
.img-badge .txt { font-size: 12.5px; color: var(--muted); line-height: 1.3; }

.value-list { margin-top: 24px; }
.value-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
}
.value-list .ico {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-list .ico svg { width: 16px; height: 16px; }
.value-list strong { display: block; color: var(--ink); font-family: var(--ff-head); font-size: 15px; }
.value-list span { font-size: 14px; color: var(--muted); }

/* Pillar / focus cards */
.pillar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar-card .pic { height: 190px; overflow: hidden; }
.pillar-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pillar-card:hover .pic img { transform: scale(1.06); }
.pillar-card .body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.pillar-card .num { font-family: var(--ff-head); font-weight: 700; color: var(--green-300, var(--green-400)); opacity: .5; font-size: 13px; margin-bottom: 10px; letter-spacing: .08em; }
.pillar-card h3 { font-size: 19px; margin-bottom: 10px; }
.pillar-card p { font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.pillar-card .more { font-family: var(--ff-head); font-weight: 600; font-size: 14px; color: var(--green-600); display: inline-flex; align-items: center; gap: 6px; }
.pillar-card .more svg { width: 14px; height: 14px; transition: transform .2s ease; }
.pillar-card:hover .more svg { transform: translateX(4px); }

/* Category / product preview cards */
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,42,25,.92) 0%, rgba(9,42,25,.35) 55%, rgba(9,42,25,.05) 100%);
}
.cat-card .content { position: relative; z-index: 2; padding: 28px; color: #fff; width: 100%; }
.cat-card .tag { font-family: var(--ff-head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.cat-card h3 { color: #fff; margin: 8px 0 6px; font-size: 22px; }
.cat-card p { color: rgba(255,255,255,.82); font-size: 14px; margin-bottom: 14px; }
.cat-card .link-row { display: flex; justify-content: space-between; align-items: center; }
.cat-card .count { font-size: 13px; color: rgba(255,255,255,.7); }
.cat-card .arrow { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.cat-card:hover .arrow { background: var(--green-500); }
.cat-card .arrow svg { width: 16px; height: 16px; color: #fff; }

/* News */
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s ease; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card .pic { height: 170px; overflow: hidden; }
.news-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 22px 24px 26px; }
.news-date { font-size: 12.5px; color: var(--green-600); font-weight: 600; font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .06em; }
.news-card h3 { font-size: 17px; margin: 10px 0 8px; }
.news-card p { font-size: 14px; margin-bottom: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--green-800), var(--green-600));
  border-radius: 22px;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: 28px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Icon cards (values, etc.) */
.icon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: left;
  transition: all .22s ease;
}
.icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.icon-card .ico-circle {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-card .ico-circle svg { width: 24px; height: 24px; }
.icon-card h3 { font-size: 17px; margin-bottom: 8px; }
.icon-card p { font-size: 14.5px; margin-bottom: 0; }

/* ==== Products page ==== */
.tab-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.tab-btn {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tab-btn .count { font-size: 12px; background: var(--green-100); color: var(--green-700); padding: 2px 8px; border-radius: 999px; }
.tab-btn.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.tab-btn.active .count { background: rgba(255,255,255,.2); color: #fff; }
.tab-btn:hover:not(.active) { border-color: var(--green-500); color: var(--green-700); }

.cat-intro { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 36px; display: none; }
.cat-intro.active { display: block; }
.cat-intro h3 { font-size: 18px; margin-bottom: 6px; }
.cat-intro p { margin-bottom: 0; font-size: 14.5px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; width: 100%; }
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .22s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.product-card .pic { height: 190px; background: var(--green-50); display: flex; align-items: center; justify-content: center; padding: 18px; }
.product-card .pic img { width: 100%; height: 100%; object-fit: contain; }
.product-card .body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card .badge {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.product-card h4 { font-size: 15px; margin-bottom: 0; color: var(--ink); flex: 1; }
.product-card .quote-link {
  margin-top: 14px;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==== Timeline / engagements detail ==== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row:not(:last-child) { margin-bottom: 90px; }
.feature-row.reverse .img-col { order: 2; }
.feature-row .kicker-num {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--green-500);
  letter-spacing: .1em;
  margin-bottom: 10px;
}

/* ==== Forms ==== */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--ff-head); font-weight: 600; font-size: 13.5px; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--off-white);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.checkbox-row input { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; }
.checkbox-row label { font-size: 13.5px; color: var(--muted); font-weight: 400; font-family: var(--ff-body); }
.hidden-field { position: absolute; left: -9999px; }

.contact-info-card { background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 40px; }
.contact-info-card h3 { color: #fff; font-size: 20px; }
.contact-info-card .item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-info-card .item:first-of-type { border-top: none; padding-top: 22px; }
.contact-info-card .item .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card .item .ico svg { width: 18px; height: 18px; color: var(--lime); }
.contact-info-card .item strong { display: block; font-family: var(--ff-head); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.contact-info-card .item span, .contact-info-card .item a { font-size: 15.5px; }
.contact-info-card .socials { display: flex; gap: 10px; margin-top: 26px; }
.contact-info-card .socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.contact-info-card .socials a:hover { background: var(--green-500); }
.contact-info-card .socials svg { width: 16px; height: 16px; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ==== Footer ==== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.72); padding-top: 76px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.62); font-size: 14.5px; margin: 18px 0 22px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a:hover { color: var(--lime); }
.footer-col .item { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.footer-col .item svg { width: 16px; height: 16px; color: var(--lime); flex-shrink: 0; margin-top: 3px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-socials a:hover { background: var(--green-500); }
.footer-socials svg { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--lime); }
.footer-legal { display: flex; gap: 22px; }

/* ==== Utilities ==== */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
  .reveal { opacity: 1 !important; transform: translateY(0) !important; }
}

/* ==== Responsive ==== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split, .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .img-col { order: 0; }
}
@media (max-width: 780px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .topbar-links span.only-lg { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .product-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 16px; width: 100%; }
  .product-card { display: flex !important; flex-direction: column; min-width: 0; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow);
    gap: 4px;
  }
  .nav-links.open a { width: 100%; }
}
@media (max-width: 560px) {
  .product-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px; width: 100%; }
  .product-card { display: flex !important; min-width: 0; }
  .product-card .pic { height: 140px; }
  .product-card h4 { font-size: 13px; }
  .footer-top { grid-template-columns: 1fr; }
}
