:root {
  --green-950: #0e2116;
  --green-900: #14301f;
  --green-800: #1a3f29;
  --green-700: #1f5136;
  --green-500: #2f7a4f;
  --green-100: #e3eee6;
  --ochre: #d9ab3f;
  --ochre-dark: #8a6416;
  --sand: #f5f2ea;
  --ink: #17221b;
  --muted: #4a5a50;
  --line: #d9dfd9;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 33, 22, 0.08);
  --max: 1160px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--green-700);
}

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--ochre);
  color: var(--green-950);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

main:focus {
  outline: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 33, 22, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
}

.brand-name {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.brand-sub {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  color: var(--ochre);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: #e9efe9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.site-nav a.nav-cta {
  background: var(--ochre);
  color: var(--green-950);
  margin-left: 0.4rem;
}

.site-nav a.nav-cta:hover {
  background: #e6bb55;
  color: var(--green-950);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s, background-color 0.2s;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ochre);
  color: var(--green-950);
}

.btn-primary:hover {
  background: #e6bb55;
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline {
  color: var(--green-700);
  border-color: var(--green-700);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green-700);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 122, 79, 0.55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(217, 171, 63, 0.18), transparent 40%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-950) 100%);
  padding: 6.5rem 0 7rem;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  font-weight: 800;
  max-width: 16ch;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #d8e4db;
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
}

.eyebrow-dark {
  color: var(--ochre-dark);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  display: block;
}

.shape-1 {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -160px;
  border-radius: 50%;
  border: 2px solid rgba(217, 171, 63, 0.35);
}

.shape-2 {
  width: 260px;
  height: 260px;
  right: 8%;
  top: 14%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  transform: rotate(45deg);
}

.shape-3 {
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--ochre) 0 14px,
    var(--green-950) 14px 28px
  );
  opacity: 0.85;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--sand);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.75rem;
}

.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--green-900);
}

.section-intro {
  color: var(--muted);
  font-size: 1.08rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--green-500);
}

.card h3 {
  font-size: 1.25rem;
  color: var(--green-900);
}

.card p {
  color: var(--muted);
  margin: 0;
}

.card-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-100);
  margin-bottom: 1.4rem;
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
}

/* Coordination: stacked blocks */
.icon-coord::before {
  left: 13px;
  bottom: 13px;
  width: 26px;
  height: 10px;
  background: var(--green-700);
  border-radius: 2px;
}

.icon-coord::after {
  left: 19px;
  bottom: 25px;
  width: 14px;
  height: 12px;
  background: var(--ochre);
  border-radius: 2px;
}

/* Suivi: checklist */
.icon-suivi::before {
  left: 15px;
  top: 12px;
  width: 22px;
  height: 28px;
  border: 3px solid var(--green-700);
  border-radius: 4px;
}

.icon-suivi::after {
  left: 21px;
  top: 19px;
  width: 7px;
  height: 12px;
  border-right: 3px solid var(--ochre-dark);
  border-bottom: 3px solid var(--ochre-dark);
  transform: rotate(45deg);
}

/* Paysage: leaf */
.icon-paysage::before {
  left: 14px;
  top: 12px;
  width: 24px;
  height: 24px;
  background: var(--green-500);
  border-radius: 0 60% 0 60%;
}

.icon-paysage::after {
  left: 13px;
  width: 22px;
  height: 3px;
  background: var(--green-900);
  transform: rotate(-45deg);
  transform-origin: left center;
  top: 37px;
}

.other-activities {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.other-activities h3 {
  font-size: 1.05rem;
  color: var(--green-900);
  margin-bottom: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag-list li {
  padding: 0.45rem 0.9rem;
  background: var(--green-100);
  color: var(--green-900);
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text p {
  color: var(--muted);
}

.facts {
  margin: 0;
  display: grid;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 5px solid var(--ochre);
  box-shadow: var(--shadow);
}

.fact {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.fact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre-dark);
}

.fact dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
  color: var(--green-900);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-card {
  background: linear-gradient(160deg, var(--white) 0%, var(--sand) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 1.15rem;
  color: var(--green-900);
}

.contact-card address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.contact-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--green-950);
  color: #cfdbd2;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 0.8rem;
  max-width: 40ch;
}

.footer-legal p {
  margin: 0 0 0.35rem;
}

.footer-legal strong {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.25rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: #aebdb2;
}

/* Responsive */
@media (max-width: 960px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.25rem;
  }
  .site-nav a {
    padding: 0.85rem 1rem;
  }
  .site-nav a.nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }
  .hero {
    padding: 4.5rem 0 5rem;
  }
  .section {
    padding: 4rem 0;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .shape-2 {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn {
    width: 100%;
  }
  .contact-card {
    padding: 1.75rem 1.25rem;
  }
}
