* { box-sizing: border-box; }
    body { margin: 0; color: #234b39; background: #faf6ec; font: 1.1rem/1.65 Arial, sans-serif; }
    h1, h2, p { margin: 0; }
    h1 img { display: block; width: 100%; height: auto; }
    .lieu { color: #faf6ec; background: #234b39; text-align: center; }
    .lieu { font-size: clamp(1.35rem, 3vw, 2.5rem); line-height: 1.3; padding: .85em 5%; text-wrap: balance; }
    #ferme, .pasture-inner { width: min(90%, 88rem); margin: auto; padding-block: clamp(2rem, 5vw, 5rem); }
    #ferme { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 6rem); }
    .gallery { position: relative; overflow: hidden; border-radius: 1.25rem; background: #234b39; }
    .gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
    .gallery [hidden] { display: none; }
    .controls { width: fit-content; margin: .75rem auto 0; display: flex; background: #19382c; border-radius: 2rem; }
    .controls button { color: white; background: transparent; border: 0; min-width: 44px; min-height: 44px; cursor: pointer; font: inherit; }
    .controls button:focus-visible { outline: 2px solid white; outline-offset: -4px; border-radius: 1rem; }
    #paturage { background: #e8eddf; }
    .pasture-inner p { max-width: 68ch; }
    .pasture-inner p + p { margin-top: .9em; }
    @media(max-width: 760px) { #ferme { grid-template-columns: 1fr; } nav { font-size: .9rem; } }
    h2 { font: normal clamp(2.2rem, 4vw, 3.7rem)/1.1 Georgia, serif; margin-bottom: .4em; }
    nav { background: #e8eddf; display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 4vw, 3rem); padding: 1.2rem .5rem; }
    nav a { color: inherit; padding: .5em 0; text-underline-offset: .25em; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.gallery { aspect-ratio: 3 / 2; min-width: 0; }
.gallery img { position: absolute; inset: 0; height: 100%; }
.controls[hidden] { display: none; }
.pasture-inner h3 { max-width: 36ch; margin: 1.6em 0 .5em; font: normal clamp(1.6rem, 3vw, 2.4rem)/1.2 Georgia, serif; }

body { border-bottom: 1.5rem solid #234b39; }
.pasture-inner ul { max-width: 68ch; padding-left: 1.4em; }
.pasture-inner li + li { margin-top: .55em; }

.pasture-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 5vw, 6rem); }
.pasture-diagram { display: block; width: 100%; height: auto; border-radius: 1.25rem; }
@media (max-width: 850px) {
  .pasture-inner { grid-template-columns: 1fr; }
}
