:root {
  --green-900: #13291c;
  --green-800: #1d3a28;
  --green-700: #285236;
  --green-100: #e7efe6;
  --orange: #9e680c;
  --orange-dark: #7f5309;
  --cream: #faf7f1;
  --sand: #f1ebdf;
  --ink: #1c211d;
  --muted: #5d665f;
  --line: #ddd6c8;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 41, 28, 0.10);
  --max: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* Language switching: hide whichever language is not active */
html[data-lang="en"] [lang="fr"]:not(html),
html[data-lang="fr"] [lang="en"]:not(html) { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section-head { margin-bottom: 48px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.brand img { width: 44px; height: 44px; flex: none; object-fit: contain; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; }
.brand-sub { display: block; font-family: var(--sans); font-size: .66rem; font-weight: 500; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--orange); }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white);
}
.lang-toggle button {
  border: 0; background: none; padding: 6px 12px; font: 600 .78rem var(--sans); color: var(--muted); cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: var(--green-800); color: var(--white); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--green-900); }

/* Hero */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  padding: 140px 0 80px; color: var(--white);
  background: var(--green-900) url("../img/plant-silos.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,41,28,.35) 0%, rgba(19,41,28,.55) 45%, rgba(19,41,28,.92) 100%);
}
.hero .wrap { position: relative; }
.hero h1 { color: var(--white); max-width: 880px; }
.hero h1 em { font-style: normal; color: #f2c35e; }
.hero p { font-size: 1.2rem; max-width: 680px; color: rgba(255,255,255,.88); }
.hero .eyebrow { color: #f2c35e; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .95rem; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Figures */
.figures { background: var(--green-800); color: var(--white); padding: 56px 0; }
.fig-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.fig strong { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 600; color: #f2c35e; line-height: 1.1; }
.fig span { font-size: .9rem; color: rgba(255,255,255,.8); }

/* About */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23285236' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.ticks strong { color: var(--green-900); }

/* Group */
.group { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
}
.card .tag { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin-top: 6px; font-size: 1.1rem; }
.card p { color: var(--muted); font-size: .86rem; line-height: 1.55; margin: 0; }
.card.parent { grid-column: 1 / -1; background: var(--green-800); border-color: var(--green-800); color: var(--white); padding: 26px 28px; }
.card.parent h3 { color: var(--white); font-size: 1.3rem; }
.card.parent p { font-size: .96rem; max-width: 900px; }
.card.parent p, .card.parent .tag { color: rgba(255,255,255,.8); }

/* Capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cap { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.cap .ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; margin-bottom: 16px;
}
.cap .ic svg { width: 24px; height: 24px; }
.cap p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Advisory & sectors */
.advisory { background: var(--white); }
.adv-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-bottom: 64px; }
.adv-list div { border-top: 3px solid var(--orange); padding-top: 16px; }
.adv-list h3 { font-size: 1.08rem; }
.adv-list p { font-size: .93rem; color: var(--muted); margin: 0; }
.sectors-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.sectors-head h3 { font-size: 1.5rem; margin: 0; }
.sectors-head p { color: var(--muted); margin: 0; max-width: 520px; font-size: .95rem; }
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--green-800); }
.sector img { width: 100%; height: 100%; object-fit: cover; }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,41,28,0) 40%, rgba(19,41,28,.85) 100%); }
.sector span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: var(--white); font-family: var(--serif); font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
.sector small { display: block; font-family: var(--sans); font-weight: 400; font-size: .78rem; color: rgba(255,255,255,.78); margin-top: 3px; }

/* Approach */
.approach { background: var(--green-900); color: var(--white); }
.approach h2, .approach h3 { color: var(--white); }
.approach .lead { color: rgba(255,255,255,.78); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.principles div { border-left: 2px solid var(--orange); padding-left: 16px; }
.principles h3 { font-size: 1.05rem; margin-bottom: 4px; }
.principles p { font-size: .93rem; color: rgba(255,255,255,.75); margin: 0; }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.phase { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.phase .num { font: 700 .76rem var(--sans); letter-spacing: .12em; color: #f2c35e; text-transform: uppercase; }
.phase h3 { font-size: 1.12rem; margin: 6px 0 4px; }
.phase .dur { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.phase p { font-size: .92rem; color: rgba(255,255,255,.78); margin: 0; }
.phases-title { margin: 72px 0 0; font-size: 1.4rem; }
.phases-title + .phases { margin-top: 22px; }

/* Track record */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.tl { position: relative; padding: 0 0 36px 32px; }
.tl::before {
  content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--orange);
}
.tl .when { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.tl h3 { margin: 4px 0 6px; }
.tl p { color: var(--muted); margin: 0; max-width: 760px; }
.record-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; }
.stat-stack { display: grid; gap: 16px; align-content: start; }
.stat-stack div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.stat-stack strong { font-family: var(--serif); font-size: 2rem; color: var(--green-700); display: block; line-height: 1.1; }
.stat-stack span { font-size: .9rem; color: var(--muted); }

/* Gallery */
.work { background: var(--sand); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button {
  border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px;
  padding: 8px 18px; font: 500 .9rem var(--sans); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; border-radius: 12px; overflow: hidden; background: var(--white); cursor: zoom-in; position: relative; }
.gallery figure.hidden { display: none; }
.gallery img { width: 100%; height: auto; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px 12px; font-size: .84rem; color: var(--muted); }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 18, 13, .94);
  display: none; align-items: center; justify-content: center; padding: 24px; flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 8px; }
.lightbox p { color: rgba(255,255,255,.85); margin-top: 14px; text-align: center; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: var(--white); border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; }
.lb-next { right: 20px; top: 50%; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { border-top: 3px solid var(--green-700); padding-top: 18px; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Contact */
.contact { background: var(--green-800); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .lead { color: rgba(255,255,255,.8); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px; }
.contact-card dt { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f2c35e; margin-top: 18px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; }
.contact-card a { color: var(--white); }

/* Footer */
footer { background: var(--green-900); color: rgba(255,255,255,.65); padding: 48px 0 40px; font-size: .86rem; }
.foot-logo { width: 150px; height: auto; margin-bottom: 28px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer a { color: rgba(255,255,255,.85); }
.privacy { max-width: 760px; margin-top: 18px; font-size: .8rem; color: rgba(255,255,255,.5); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1020px) {
  .fig-grid { grid-template-columns: repeat(3, 1fr); }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .adv-list { grid-template-columns: repeat(3, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .phases, .values-grid, .principles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--cream); padding: 18px 24px 24px; gap: 16px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 860px) {
  .split, .record-split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .adv-list, .sectors, .cards { grid-template-columns: 1fr 1fr; }
  .sectors-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .fig-grid { grid-template-columns: 1fr 1fr; }
  .cards, .cap-grid, .phases, .values-grid, .principles { grid-template-columns: 1fr; }
  .adv-list { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; }
}
