@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;600&display=swap');

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

:root {
  --vert: #2d5a27;
  --vert-clair: #4a7c42;
  --vert-pale: #eef4ec;
  --terre: #7a5c3a;
  --terre-pale: #f5f0ea;
  --pierre: #5a5a52;
  --beige: #f8f5ef;
  --blanc: #ffffff;
  --noir: #1a1a16;
  --gris: #6b6b62;
  --gris-clair: #e8e6e0;
  --font-titre: 'Libre Baskerville', Georgia, serif;
  --font-corps: 'Source Sans 3', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-corps);
  font-size: 17px;
  line-height: 1.7;
  color: var(--noir);
  background: var(--blanc);
}

/* NAV */
nav {
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-clair);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-titre);
  font-size: 15px;
  color: var(--vert);
  text-decoration: none;
  line-height: 1.3;
  font-weight: 700;
}

.nav-logo span {
  display: block;
  font-size: 11px;
  font-family: var(--font-corps);
  font-weight: 300;
  color: var(--gris);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 1rem;
  font-family: var(--font-corps);
  font-size: 14px;
  font-weight: 400;
  color: var(--pierre);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--vert);
  background: var(--vert-pale);
}

/* NAV MOBILE */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--pierre);
}

.nav-toggle svg { display: block; }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--blanc);
    border-bottom: 1px solid var(--gris-clair);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
}

/* HERO */
.hero {
  background: var(--vert);
  color: var(--blanc);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-corps);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero p {
  font-size: 18px;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: var(--font-corps);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-blanc {
  background: var(--blanc);
  color: var(--vert);
}

.btn-blanc:hover { background: var(--vert-pale); }

.btn-outline-blanc {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255,255,255,0.5);
}

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

.btn-vert {
  background: var(--vert);
  color: var(--blanc);
}

.btn-vert:hover { background: var(--vert-clair); }

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

.btn-outline-vert:hover { background: var(--vert-pale); }

/* CONTENT */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 4rem 0; }

section + section { border-top: 1px solid var(--gris-clair); }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vert-clair);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--noir);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

h3 {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 0.6rem;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* CARD */
.card {
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  border-radius: 8px;
  padding: 1.75rem;
}

.card-vert {
  background: var(--vert-pale);
  border-color: #c4dac0;
}

.card-terre {
  background: var(--terre-pale);
  border-color: #d9c9b5;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--vert);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg { color: var(--blanc); }

/* INFO ROW */
.info-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.info-row-text { flex: 1; min-width: 280px; }
.info-row-aside {
  flex: 0 0 320px;
  background: var(--beige);
  border-radius: 8px;
  padding: 1.75rem;
}

/* RNA BADGE */
.rna-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vert-pale);
  border: 1px solid #c4dac0;
  border-radius: 4px;
  padding: 0.4rem 0.9rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--vert);
}

/* FACT */
.fact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 15px;
}

.fact-list li::before {
  content: '—';
  color: var(--vert-clair);
  font-weight: 700;
  flex-shrink: 0;
}

/* QUOTE */
blockquote {
  border-left: 3px solid var(--vert);
  padding: 1rem 1.5rem;
  background: var(--vert-pale);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--pierre);
  margin: 1.5rem 0;
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th {
  text-align: left;
  padding: 0.6rem 1rem;
  background: var(--vert-pale);
  color: var(--vert);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--gris-clair);
  color: var(--pierre);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--beige); }

/* CONTACT BOX */
.contact-box {
  background: var(--vert);
  color: var(--blanc);
  border-radius: 8px;
  padding: 2.5rem;
}

.contact-box h3 {
  font-family: var(--font-titre);
  color: var(--blanc);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-size: 15px;
  margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.85);
}

.contact-detail strong {
  color: var(--blanc);
  min-width: 90px;
}

.contact-detail a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}

/* PAGE HEADER */
.page-header {
  background: var(--beige);
  padding: 3.5rem 2rem 3rem;
  border-bottom: 1px solid var(--gris-clair);
}

.page-header .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vert-clair);
  margin-bottom: 0.5rem;
}

.page-header h1 {
  font-family: var(--font-titre);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 0.75rem;
}

.page-header p {
  font-size: 17px;
  color: var(--gris);
  max-width: 620px;
}

/* FOOTER */
footer {
  background: var(--noir);
  color: rgba(255,255,255,0.65);
  padding: 3rem 2rem;
  font-size: 14px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

footer h4 {
  font-family: var(--font-corps);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

footer a:hover { color: var(--blanc); }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* FORM */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pierre);
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gris-clair);
  border-radius: 4px;
  font-family: var(--font-corps);
  font-size: 16px;
  color: var(--noir);
  background: var(--blanc);
  transition: border-color 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--vert);
}

textarea { resize: vertical; min-height: 140px; }

/* UTIL */
.mt1 { margin-top: 1rem; }
.mt2 { margin-top: 2rem; }
.mt3 { margin-top: 3rem; }
.mb1 { margin-bottom: 1rem; }
.mb2 { margin-bottom: 2rem; }
.text-gris { color: var(--gris); }
.text-vert { color: var(--vert); }
.small { font-size: 14px; }

/* BREADCRUMB */
.breadcrumb {
  font-size: 13px;
  color: var(--gris);
  margin-bottom: 0.5rem;
}

.breadcrumb a { color: var(--vert-clair); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; }
