/* Gite Vacances Ardennes — forest trail-noticeboard */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

html {
  background: #1c2a22;
}

body {
  font-family: Karla, "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1a1612;
  background-color: #1c2a22;
  background-image:
    radial-gradient(ellipse at top, rgba(47, 74, 60, 0.65), transparent 55%),
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 27px,
      rgba(201, 205, 176, 0.06) 28px,
      transparent 29px
    );
  min-height: 100vh;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

img {
  object-fit: cover;
}

a {
  color: #8a3420;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #6c2718;
}

:focus-visible {
  outline: 2px solid #c45c32;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: #f3ead4;
  color: #1a1612;
  padding: 0.4rem 0.7rem;
  z-index: 20;
}

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

.wrap {
  width: min(68rem, calc(100% - 1.5rem));
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  background: #243028;
  color: #f3ead4;
  border-bottom: 4px solid #b85c38;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 0;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  color: #f3ead4;
}

.brand img,
.brand svg {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-family: Newsreader, Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.brand-text span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #c9cdb0;
  margin-top: 0.15rem;
}

.menu-toggle {
  appearance: none;
  border: 1px solid #c9cdb0;
  background: transparent;
  color: #f3ead4;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  flex: 0 0 auto;
}

.menu-toggle[aria-expanded="true"] {
  background: #2f4a3c;
  border-color: #b85c38;
}

#site-nav {
  display: none;
  border-top: 1px solid rgba(201, 205, 176, 0.25);
  padding: 0.4rem 0 1rem;
}

#site-nav.is-open {
  display: block;
}

#site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

#site-nav a {
  display: block;
  color: #f3ead4;
  text-decoration: none;
  padding: 0.45rem 0.15rem;
  border-bottom: 1px solid rgba(201, 205, 176, 0.15);
  min-width: 0;
}

#site-nav a[aria-current="page"] {
  color: #e8c4b0;
  box-shadow: inset 3px 0 0 #b85c38;
  padding-left: 0.7rem;
}

#site-nav a:hover,
#site-nav a:focus-visible {
  color: #fff;
}

main {
  padding: 1.25rem 0 3rem;
  min-width: 0;
}

.sheet {
  background: #f3ead4;
  color: #1a1612;
  padding: 1.25rem 1.1rem 1.6rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  position: relative;
  min-width: 0;
}

.sheet::before,
.sheet::after {
  content: "";
  position: absolute;
  top: 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #b85c38;
  box-shadow: 0 1px 0 #6c2718;
}

.sheet::before {
  left: 0.85rem;
}

.sheet::after {
  right: 0.85rem;
}

.kicker,
.crumb {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #5c4a3a;
  margin: 0.4rem 0 0.6rem;
}

.crumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #b85c38;
}

h1,
h2,
h3 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.7rem;
}

h1 {
  font-size: 1.85rem;
}

h2 {
  font-size: 1.35rem;
  margin-top: 1.6rem;
}

.lead {
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.45;
  color: #2f4a3c;
  margin: 0 0 1rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

figure {
  margin: 1rem 0 1.25rem;
  min-width: 0;
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2f4a3c;
}

figcaption {
  font-size: 0.88rem;
  color: #5c4a3a;
  margin-top: 0.45rem;
}

.hero-photo {
  margin: 0 0 1.25rem;
}

.notice {
  border-left: 3px solid #b85c38;
  padding: 0.7rem 0.9rem;
  background: #efe2c8;
  margin: 1rem 0 0;
}

.notice p {
  margin: 0;
  font-size: 0.98rem;
}

.more-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 600;
}

/* Vertical trail profile — not a card grid, not a horizontal route strip */
.sentier-intro {
  margin: 2rem 0 0.8rem;
}

.sentier {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.35rem;
  position: relative;
  min-width: 0;
}

.sentier::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: #2f4a3c;
}

.borne {
  position: relative;
  margin: 0 0 1rem;
  min-width: 0;
}

.borne::before {
  content: "";
  position: absolute;
  left: -1.22rem;
  top: 1.15rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #b85c38;
  box-shadow: 0 0 0 3px #f3ead4;
  z-index: 1;
}

.borne a {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: #efe6d0;
  border: 1px solid #d7ccb0;
  padding: 0.6rem;
  min-width: 0;
}

.borne a:hover,
.borne a:focus-visible {
  border-color: #b85c38;
  color: inherit;
}

.borne img {
  width: 6.5rem;
  height: 4.2rem;
  object-fit: cover;
}

.borne h2 {
  font-size: 1.15rem;
  margin: 0 0 0.2rem;
}

.borne .kicker {
  margin: 0 0 0.15rem;
}

.borne p {
  margin: 0;
  font-size: 0.95rem;
  color: #3a322a;
}

.site-footer {
  background: #243028;
  color: #f3ead4;
  border-top: 4px solid #b85c38;
  padding: 1.4rem 0 2rem;
}

.site-footer p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: #c9cdb0;
  max-width: 42rem;
}

.site-footer a {
  color: #f3ead4;
}

.site-footer nav a {
  font-weight: 600;
}

.notfound h1 {
  margin-top: 0.4rem;
}

@media (min-width: 700px) {
  .wrap {
    width: min(68rem, calc(100% - 2.5rem));
  }

  .sheet {
    padding: 1.8rem 2rem 2.1rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .brand-text strong {
    font-size: 1.25rem;
  }

  .sentier {
    padding-left: 0;
    display: grid;
    gap: 1.1rem;
  }

  .sentier::before {
    left: 50%;
    transform: translateX(-1px);
  }

  .borne {
    width: calc(50% - 1.2rem);
    margin: 0;
  }

  .borne:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
  }

  .borne:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
  }

  .borne::before {
    top: 1.4rem;
  }

  .borne:nth-child(odd)::before {
    left: auto;
    right: -1.55rem;
  }

  .borne:nth-child(even)::before {
    left: -1.55rem;
    right: auto;
  }

  .borne a {
    grid-template-columns: 8.5rem minmax(0, 1fr);
  }

  .borne img {
    width: 8.5rem;
    height: 5.4rem;
  }
}

@media (min-width: 960px) {
  .header-inner {
    padding: 1rem 0;
  }

  .brand img,
  .brand svg {
    width: 3.5rem;
    height: 3.5rem;
    flex-basis: 3.5rem;
  }
}
