:root {
  --ink: #14231b;
  --muted: #5f7066;
  --green: #2d8c43;
  --deep: #103f29;
  --lime: #5bb84c;
  --leaf: #e5f3e6;
  --field: #f5f8f1;
  --gold: #f3c64a;
  --line: #dce9d9;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--field);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(21, 35, 28, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--green);
}

.mobile-language {
  display: none;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #edf5ed;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.language-switch a {
  padding: 5px 7px;
  color: var(--muted);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.language-switch a:hover,
.language-switch .active {
  color: var(--white);
  background: var(--green);
}

.hero {
  position: relative;
  display: block;
  min-height: 96vh;
  align-items: center;
  padding: 150px clamp(20px, 6vw, 86px) 210px;
  overflow: hidden;
  color: var(--white);
  background: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(66vw, 980px);
  height: 78%;
  content: "";
  background: linear-gradient(135deg, #103f29 0%, #1a6138 100%);
  border-bottom-right-radius: 56% 42%;
}

.hero::after {
  position: absolute;
  inset: auto -6vw -150px -4vw;
  z-index: 1;
  height: 22vh;
  min-height: 150px;
  content: "";
  background: var(--field);
  border-top-left-radius: 55% 78%;
  border-top-right-radius: 52% 66%;
  transform: rotate(-3deg);
  transform-origin: 50% 100%;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(590px, 100%);
}

.hero-carousel {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: 2;
  width: 56vw;
  height: 78vh;
  min-height: 580px;
  overflow: hidden;
  background: #e5eadf;
  border: 0;
  border-bottom-left-radius: 52% 42%;
  box-shadow: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 55s infinite;
}

.slide-two {
  animation-delay: 5s;
}

.slide-three {
  animation-delay: 10s;
}

.slide-four {
  animation-delay: 15s;
}

.slide-five {
  animation-delay: 20s;
}

.slide-six {
  animation-delay: 25s;
}

.slide-seven {
  animation-delay: 30s;
}

.slide-eight {
  animation-delay: 35s;
}

.slide-nine {
  animation-delay: 40s;
}

.slide-ten {
  animation-delay: 45s;
}

.slide-eleven {
  animation-delay: 50s;
}

@keyframes heroFade {
  0%,
  7% {
    opacity: 1;
  }

  9%,
  96% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: clamp(44px, 5.8vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.hero-tags {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

html[lang="fr"] .hero::before {
  height: 84%;
}

.button,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary,
button {
  color: var(--white);
  background: var(--green);
}

.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.section {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 6vw, 86px);
}

.product-lines {
  position: relative;
  overflow: hidden;
  background: #fbfcf6;
}

.product-lines::after {
  position: absolute;
  inset: 120px -20vw auto auto;
  width: 54vw;
  height: 230px;
  content: "";
  background: rgba(18, 35, 27, 0.04);
  border-bottom-left-radius: 72% 100%;
  transform: rotate(-16deg);
}

.section-heading {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: 42px;
  text-align: center;
}

.section-heading p:last-child {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.line-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  padding: 34px 38px 26px;
  color: var(--white);
  background: linear-gradient(180deg, #65bf3f 0%, #3f9f35 100%);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 22px 44px rgba(20, 35, 27, 0.12);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.line-card:hover,
.line-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 28px 52px rgba(20, 35, 27, 0.18);
  filter: saturate(1.05);
  outline: none;
}

.line-card:focus-visible {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.85),
    0 0 0 7px rgba(17, 90, 51, 0.34),
    0 28px 52px rgba(20, 35, 27, 0.18);
}

.line-card:nth-child(2) {
  background: linear-gradient(180deg, #f2bf35 0%, #dda12a 100%);
}

.line-card:nth-child(3) {
  background: linear-gradient(180deg, #9b287e 0%, #7a2167 100%);
}

.line-card::after {
  position: absolute;
  inset: auto -12% -14% -12%;
  height: 44%;
  content: "";
  opacity: 0.22;
  background:
    repeating-linear-gradient(
      32deg,
      rgba(255, 255, 255, 0.28) 0 5px,
      transparent 5px 16px
    );
}

.line-card:nth-child(2)::after {
  background:
    repeating-radial-gradient(
      ellipse at 40% 30%,
      rgba(255, 255, 255, 0.35) 0 3px,
      transparent 4px 18px
    );
}

.line-card:nth-child(3)::after {
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.18) 0 4px, transparent 5px) 0 0 / 34px 34px;
}

.line-grid h3,
.line-grid p {
  position: relative;
  z-index: 1;
}

.line-grid img {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  display: block;
  width: min(190px, 48%);
  height: 230px;
  align-self: center;
  margin: auto auto 0;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(91, 184, 76, 0.42))
    drop-shadow(0 24px 26px rgba(0, 0, 0, 0.18));
}

.line-card:nth-child(2) img {
  filter:
    drop-shadow(0 0 12px rgba(242, 191, 53, 0.4))
    drop-shadow(0 24px 26px rgba(0, 0, 0, 0.18));
}

.line-card:nth-child(3) img {
  filter:
    drop-shadow(0 0 12px rgba(155, 40, 126, 0.45))
    drop-shadow(0 24px 26px rgba(0, 0, 0, 0.18));
}

.line-grid h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(30px, 2.6vw, 42px);
  line-height: 1;
}

.line-grid p {
  max-width: 90%;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.55;
}

.about-copy p,
.catalog span,
.solution-grid p,
.process-grid p,
.quality-grid p,
.resource-list p {
  color: var(--muted);
  line-height: 1.65;
}

.catalog {
  margin-top: 26px;
  padding: 30px;
  background: #edf5df;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.catalog-heading h3 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.12;
}

.compliance-note {
  max-width: 780px;
  margin: 14px 0 0;
  color: #617368;
  font-size: 14px;
  line-height: 1.6;
}

.text-link {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.crop-systems {
  background: #eef5e5;
}

.crop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.crop-grid article {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(145deg, var(--deep), #23633c);
  border-radius: 8px;
  font-weight: 800;
}

.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-grid article {
  min-height: 220px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
}

.solution-grid article:nth-child(2n) {
  background: linear-gradient(145deg, #184c32, #2a7048);
}

.solution-grid article:nth-child(3n) {
  background: linear-gradient(145deg, #594f34, #8a7a34);
}

.solution-grid span {
  font-size: 25px;
  line-height: 1.1;
}

.solution-grid p {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 500;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-grid span,
.product-grid article {
  min-height: 74px;
  padding: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
}

.product-grid article {
  display: grid;
  gap: 8px;
}

.product-grid strong {
  color: var(--ink);
  font-size: 15px;
}

.product-grid.detailed span {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.product-directory {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.product-directory article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  scroll-margin-top: 96px;
}

.extra-product {
  display: none;
}

.product-directory article.expanded .extra-product {
  display: table-row;
}

.more-button {
  min-height: 44px;
  margin: 16px 20px 20px;
  padding: 0 20px;
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.more-button:hover,
.more-button:focus-visible {
  background: var(--deep);
  border-color: var(--deep);
}

.directory-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: #f8faf3;
  border-bottom: 1px solid var(--line);
}

.directory-title span {
  min-height: 0;
  padding: 0;
  color: var(--green);
  background: transparent;
  border: 0;
  font-size: 20px;
  font-weight: 900;
}

.directory-title strong {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #fbfdf7;
  font-size: 12px;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  line-height: 1.45;
}

td:first-child {
  color: var(--ink);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: 54px;
  background: var(--white);
}

.company {
  background: #fbfcf6;
}

.about-copy {
  font-size: 17px;
}

.process-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(360px, 1.45fr);
  gap: 42px;
  background: #f9fbf2;
}

.process-grid,
.quality-grid,
.resource-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-grid {
  position: relative;
  gap: 22px;
}

.process-grid::before {
  position: absolute;
  top: 52px;
  right: 9%;
  left: 9%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, rgba(45, 140, 67, 0), rgba(45, 140, 67, 0.34), rgba(243, 198, 74, 0.42), rgba(45, 140, 67, 0));
}

.process-grid article,
.quality-grid article,
.resource-list article {
  position: relative;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-grid article {
  min-height: 240px;
  padding-top: 26px;
}

.process-grid article::after {
  position: absolute;
  top: 52px;
  right: -11px;
  z-index: 2;
  width: 12px;
  height: 12px;
  content: "";
  box-sizing: border-box;
  background: var(--green);
  border: 3px solid #f9fbf2;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(45, 140, 67, 0.28);
}

.process-grid article:last-child::after {
  display: none;
}

.process-grid strong {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 26px;
  color: var(--white);
  background: var(--green);
  border: 6px solid #eef7ee;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(16, 63, 41, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.process-grid article:nth-child(2) strong {
  background: #78a942;
}

.process-grid article:nth-child(3) strong {
  background: var(--gold);
  color: var(--ink);
}

.process-grid article:nth-child(4) strong {
  background: var(--deep);
}

.process-grid strong span {
  transform: translateY(1px);
}

.process-grid h3,
.quality-grid h3,
.resource-list h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
}

.process-grid p,
.quality-grid p,
.resource-list p {
  margin-bottom: 0;
  font-size: 14px;
}

.quality {
  background: #ffffff;
}

.quality-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quality-grid article {
  background: #f8faf3;
}

.strengths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: var(--deep);
}

.strength {
  padding: 28px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.strength strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1;
}

.resources {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1.3fr);
  gap: 42px;
  background: #eef5e5;
}

.resource-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-list article {
  overflow: hidden;
  min-height: 230px;
}

.resource-list article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: var(--green);
}

.resource-list article:nth-child(2)::before {
  background: var(--gold);
}

.resource-list article:nth-child(3)::before {
  background: #9b287e;
}

.resource-icon {
  display: inline-grid;
  min-width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 24px;
  padding: 0 10px;
  color: var(--green);
  background: #edf7ed;
  border: 1px solid #cfe5cf;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.resource-list article:nth-child(2) .resource-icon {
  color: #795b0a;
  background: #fff7dc;
  border-color: #f1df9c;
}

.resource-list article:nth-child(3) .resource-icon {
  color: #7a2167;
  background: #f8eaf5;
  border-color: #e8c9df;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: 24px;
  background: var(--leaf);
}

.contact-panel,
.contact-form {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

dl {
  margin: 28px 0 0;
}

dt {
  margin-top: 18px;
  color: var(--green);
  font-weight: 800;
}

dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.whatsapp-button {
  color: var(--white);
  background: #2faa55;
  border-color: #2faa55;
}

.whatsapp-button:hover {
  background: #248d47;
  border-color: #248d47;
}

.contact-mail-button {
  color: var(--green);
  background: var(--white);
  border-color: var(--line);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 22px;
  margin: -2px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfdfb;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

textarea {
  resize: vertical;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 86px);
  color: #dce9df;
  background: #10271a;
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    inset: auto;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 16px;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: flex-start;
    column-gap: 14px;
    row-gap: 9px;
    font-size: 10px;
  }

  .language-switch {
    display: none;
  }

  nav a {
    white-space: nowrap;
  }

  nav .mobile-language {
    display: inline;
    color: var(--green);
    font-weight: 900;
  }

  nav .mobile-language.active {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .hero {
    min-height: auto;
    padding: 80px 30px 90px;
    background: linear-gradient(135deg, #103f29 0%, #1a6138 100%);
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-carousel {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
    justify-self: stretch;
    margin-top: 34px;
    border-bottom-left-radius: 46% 24%;
    border-bottom-right-radius: 46% 24%;
    border-top-left-radius: 40% 16%;
    border-top-right-radius: 40% 16%;
  }

  .section-heading,
  .about,
  .contact,
  .process-band,
  .resources {
    grid-template-columns: 1fr;
  }

  .line-grid,
  .product-grid,
  .crop-grid,
  .strengths,
  .process-grid,
  .quality-grid,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .process-grid::before,
  .process-grid article::after {
    display: none;
  }

  .process-grid article,
  .resource-list article {
    min-height: 0;
  }

  .catalog-heading {
    display: grid;
  }

  .product-directory article {
    overflow-x: auto;
  }

  .directory-title {
    display: grid;
    gap: 8px;
  }

  table {
    min-width: 720px;
  }

  .line-card {
    width: calc(100vw - 40px);
    max-width: 100%;
    min-height: 410px;
    padding: 30px 28px 0;
  }

  .line-grid p {
    max-width: 82%;
    font-size: 14px;
  }

  .line-grid img {
    right: auto;
    bottom: auto;
    width: min(145px, 46%);
    height: 205px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  html[lang="fr"] h1 {
    max-width: 100%;
    font-size: 26px;
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 300px;
    font-size: 17px;
  }

  .product-lines {
    padding-right: 20px;
    padding-left: 20px;
  }

  .product-lines::after {
    display: none;
  }

  .section-heading p:last-child {
    max-width: 250px;
    font-size: 15px;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 30px;
  }

  footer {
    flex-direction: column;
  }
}
