:root {
  color-scheme: light;
  --green: #16352b;
  --green-deep: #102b23;
  --accent: #dbe998;
  --ink: #182822;
  --secondary: #46584e;
  --paper: #f5f7ef;
  --stroke: #d9e2d4;
  font: 100%/1.62 system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a16c25; outline-offset: 4px; }
h1, h2, h3, p { margin: 0 0 .8rem; }
h1, h2, h3 { line-height: 1.13; text-wrap: balance; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(2.6rem, 6.7vw, 5.8rem); letter-spacing: -.055em; max-width: 16ch; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3.1rem); letter-spacing: -.04em; }
h3 { font-size: 1.15rem; }
p, li { max-width: 66ch; }
[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 2.5rem, 75rem); margin-inline: auto; }
.section { padding-block: clamp(2.8rem, 7vw, 6rem); }
.skip { position: fixed; z-index: 1; inset: .6rem auto auto .6rem; padding: .6rem 1rem; color: var(--green); background: #fff; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--stroke); }
.head, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.head { min-height: 5rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.15rem; }
.nav a { text-decoration: none; padding-block: .3rem; font-weight: 600; font-size: .92rem; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; text-decoration-color: #5c773d; text-decoration-thickness: .13em; }
.hero { color: #f4f8e9; background-color: var(--green-deep); background-image: repeating-radial-gradient(ellipse at 93% 85%, #9bb87821 0 1px, transparent 2px 23px), linear-gradient(120deg, #102b23 22%, #23483a 80%); }
.hero-content { padding-block: clamp(4rem, 11vw, 8rem); }
.place { color: var(--accent); font-size: .91rem; font-weight: 700; letter-spacing: .08em; }
.hero-lead { max-width: 48ch; font-size: clamp(1.1rem, 2.4vw, 1.34rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button { display: inline-block; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .35rem; background: var(--accent); color: var(--green-deep); text-decoration: none; font-weight: 720; }
.button:hover { background: #eef5c4; }
.button.outline { background: transparent; border-color: #dbe998a0; color: #fff; }
.button.outline:hover { background: #ffffff16; }
.button.dark { color: white; background: var(--green); }
.button.dark:hover { background: #2c5645; }
.cards, .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.card, .panel { display: block; border: 1px solid var(--stroke); border-radius: .45rem; padding: clamp(1.2rem, 3vw, 2rem); background: #fff; }
.card { border-top: 4px solid #6e8c52; text-decoration: none; }
.card:hover { background: var(--paper); }
.card p, .panel p { color: var(--secondary); margin-bottom: 0; }
.soft, .page-hero { background: var(--paper); }
.split > div { padding-right: clamp(0rem, 3vw, 2rem); }
.soft .split, .practices { margin-top: 0; }
.text-link, .topics a { color: var(--green); font-weight: 700; text-underline-offset: .2em; }
.page-hero .wrap { padding-block: clamp(2.2rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.45rem, 6vw, 4.5rem); max-width: 22ch; }
.page-hero p { margin-bottom: 0; font-size: 1.12rem; color: var(--secondary); }
.crumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; font-size: .91rem; color: var(--secondary); }
.content-grid { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 3.2fr); gap: clamp(1.3rem, 4vw, 3.2rem); align-items: start; }
.side { display: flex; flex-direction: column; border: 1px solid var(--stroke); border-radius: .45rem; overflow: hidden; }
.side a { display: block; padding: .65rem .9rem; text-decoration: none; font-weight: 650; }
.side a + a { border-top: 1px solid var(--stroke); }
.side a:hover { background: var(--paper); }
.side a:focus-visible { outline-offset: -4px; }
.stack { display: grid; gap: 1rem; min-width: 0; }
.topics { margin: 1.2rem 0 0; padding-left: 1.2rem; }
.example-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .85rem; margin-top: 1.1rem; }
.example { background: var(--paper); padding: 1rem; border-radius: .3rem; }
.example ul { padding-left: 1.2rem; margin: 0; }
.panel:target, .example:target { outline: 2px solid #698547; outline-offset: 3px; }
.location { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.7fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: start; }
address { font-style: normal; margin-block: 1rem; }
.map { width: 100%; height: clamp(19rem, 48vw, 29rem); border: 1px solid var(--stroke); border-radius: .45rem; background: var(--paper); }
.footer { padding-block: 1.8rem; background: var(--green-deep); color: #f4f8e9; }
@media (max-width: 46rem) {
  .head { gap: .55rem; }
  .nav { width: 100%; }
  .content-grid, .location, .split { grid-template-columns: 1fr; }
}
@media (max-width: 26rem) {
  .wrap { width: calc(100% - 1.6rem); }
  .nav { gap: .25rem .75rem; }
  .hero h1 { font-size: 2.35rem; }
}

.foot-links { display: flex; flex-wrap: wrap; column-gap: 1.1rem; row-gap: .35rem; }
.foot-links a { text-underline-offset: .2em; }
.company-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); margin: 0; }
.company-details dt, .company-details dd { margin: 0; padding-block: .5rem; border-bottom: 1px solid var(--stroke); }
.company-details dt { padding-right: 1rem; font-weight: 650; }
@media (max-width: 34rem) {
  .company-details { grid-template-columns: minmax(0, 1fr); }
  .company-details dt { padding-bottom: 0; border-bottom: 0; }
  .company-details dd { padding-top: .1rem; }
}


.hero {
  background-image: linear-gradient(90deg, #102b23f2 0%, #102b23d9 35%, #102b2380 68%, #102b2340 100%), url("images/banniere-foret.jpg");
  background-position: center, center 54%;
  background-size: cover;
}
.card { overflow: hidden; padding: 0; }
.card-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card-content { display: block; padding: clamp(1.2rem, 3vw, 2rem); }
.image-credit { margin: .85rem 0 0; color: var(--secondary); font-size: .86rem; }
@media (max-width: 46rem) {
  .hero { background-image: linear-gradient(90deg, #102b23e8, #102b23b8), url("images/banniere-foret.jpg"); }
}

.brand-logo { display: block; width: clamp(11rem, 22vw, 15rem); height: auto; }
.location address a { overflow-wrap: anywhere; }


.page-hero--competences { --page-hero-image: url("images/banniere-competences.jpg"); }
.page-hero--demarche { --page-hero-image: url("images/banniere-demarche.jpg"); }
.page-hero--realisations { --page-hero-image: url("images/banniere-realisations.jpg"); }
.page-hero--contact { --page-hero-image: url("images/banniere-contact.jpg"); }

.page-hero--forest {
  color: white;
  background: linear-gradient(90deg, rgba(9, 24, 16, .92), rgba(9, 24, 16, .76) 58%, rgba(9, 24, 16, .24)),
    var(--page-hero-image) center / cover no-repeat, #16352b;
}

.page-hero--forest .wrap {
  padding-block: clamp(1.75rem, 4vw, 3rem);
}

.page-hero--forest h1 {
  max-width: 28ch;
  font-size: clamp(2rem, 4.3vw, 3.5rem);
}

.page-hero--forest .crumb,
.page-hero--forest p {
  color: #f1f5ef;
}

@media (max-width: 40rem) {
  .page-hero--forest {
    background-image: linear-gradient(rgba(9, 24, 16, .78), rgba(9, 24, 16, .78)), var(--page-hero-image);
    background-position: center, 60% center;
  }
}
