:root {
  --bg: #e8eddc;
  --card: #ffffff;
  --brand: #6a7749;
  --accent: #1d2433;
  --text: #1a1a1a;
  --muted: #4f5842;
  --line: #c7d0b5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: linear-gradient(180deg, #e3ead4 0%, #f3f7ea 100%);
  color: var(--text);
}

.site-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--brand);
}

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

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
}

.nav a {
  text-decoration: none;
  color: #4f5a35;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav a:hover {
  background: #d7e0c4;
  color: #3f4a2c;
}

.nav a.is-active {
  background: #d7e0c4;
  color: #3f4a2c;
}

.nav .nav-cta {
  margin-left: auto;
  border: 1px solid #5f6b43;
  background: linear-gradient(135deg, #5e6a41, #7f8d59);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(45, 53, 31, 0.25);
}

.nav .nav-cta:hover {
  background: linear-gradient(135deg, #566138, #768252);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(45, 53, 31, 0.32);
}

a:focus-visible,
.nav-toggle-label:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  background: linear-gradient(135deg, #4f5a35, #6a7749 58%, #7f8d59);
  color: white;
  padding: 1.5rem;
  border-radius: 18px;
  margin-bottom: 1.25rem;
  box-shadow: 0 14px 30px rgba(45, 53, 31, 0.28);
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-copy {
  flex: 1;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.hero p {
  margin: 0;
  max-width: 650px;
}

.hero-logo {
  width: 140px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem;
  margin-left: auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.content-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.content-card--adhesion {
  position: relative;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url("/images/maillot.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: min(420px, 70%) auto;
}

.content-card > h1,
.content-card > h2,
.content-card > h3,
.content-card > h4 {
  margin: 0.25rem 0 0.15rem;
}

.content-card > h1 {
  color: var(--brand);
}

.content-card > h2 {
  background: #e6edd7;
  border-left: 4px solid var(--brand);
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
}

.content-card > h3 {
  margin-top: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line);
}

.content-card > p,
.content-card > ul,
.content-card > ol {
  margin: 0;
}

.content-card > ul,
.content-card > ol {
  background: #f7f9f2;
  padding: 1rem 1.2rem 1rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.home-content {
  display: grid;
  gap: 0.75rem;
}

.home-content > h2 {
  margin: 0.25rem 0 0.15rem;
  color: var(--brand);
}

.home-content > h2:not(:first-child) {
  margin-top: 0.5rem;
}

.home-content > p {
  margin: 0;
}

.home-content > ul,
.home-content > ol {
  margin: 0;
  background: #f7f9f2;
  padding: 1rem 1.2rem 1rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.home-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.home-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  background: #f6f8f1;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  padding: 1rem;
  color: var(--text);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.home-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(56, 66, 40, 0.14);
}

.home-link strong {
  color: var(--brand);
}

.home-link span {
  color: var(--muted);
  font-size: 0.95rem;
}

.seasonal-cta {
  margin-top: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid #b8c49d;
  background: linear-gradient(135deg, #4f5a35, #6a7749 62%, #7f8d59);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(45, 53, 31, 0.25);
}

.seasonal-cta-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

.content-card .seasonal-cta h2 {
  margin: 0.35rem 0 0.45rem;
  color: #ffffff;
}

.seasonal-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.seasonal-cta-link {
  display: inline-flex;
  margin-top: 0.9rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: #ffffff;
  color: #475230;
  float: right;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(29, 36, 51, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.seasonal-cta-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(29, 36, 51, 0.28);
}

.content-cta-link {
  display: inline-flex;
  align-self: center;
  margin: 0.4rem 0;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #5f6b43;
  background: linear-gradient(135deg, #5e6a41, #7f8d59);
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(45, 53, 31, 0.25);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.18s ease;
}

.content-cta-link:hover {
  background: linear-gradient(135deg, #566138, #768252);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(45, 53, 31, 0.32);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.activity-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  background: linear-gradient(180deg, #ffffff, #f1f5e8);
  box-shadow: 0 10px 22px rgba(56, 66, 40, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.activity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(56, 66, 40, 0.18);
}

.activity-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.activity-card h2 a {
  text-decoration: none;
}

.activity-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.activity-summary {
  background: #f5f8ee;
  border: 1px solid #d7dfc6;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  line-height: 1.65;
  font-size: 0.97rem;
  flex: 1;
}

.activity-summary-heading {
  display: block;
  margin-bottom: 0.3rem;
  color: #3f4a2c;
  font-weight: 700;
}

.activity-summary-text {
  display: block;
}

.activity-card:hover .activity-summary {
  background: #f0f5e5;
  border-color: #c9d3b2;
}

.activity-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.activity-link {
  display: inline-flex;
  width: fit-content;
  margin-left: auto;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #617043, #8f9f68);
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(56, 66, 40, 0.26);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.activity-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(56, 66, 40, 0.3);
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.card h2,
.content-card h2,
.content-card h3 {
  margin-top: 0;
  color: var(--brand);
}

.badge {
  display: inline-block;
  background: #edf1e4;
  color: #3c4829;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.bureau-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.85rem;
}

.bureau-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  background: #f8faf4;
}

.bureau-photo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #cfd8bd;
  background: #ffffff;
  flex-shrink: 0;
}

.bureau-meta h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
}

.bureau-role {
  margin: 0.2rem 0 0;
  color: var(--brand);
  font-weight: 700;
}

.contact-map-block {
  margin-top: 1rem;
}

.contact-map {
  width: 100%;
  height: 360px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  overflow: hidden;
}

.contact-map-legend {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.contact-map-legend li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
}

.legend-pin {
  display: inline-block;
  width: 14px;
  height: 23px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}

.legend-pin-green { background-image: url("https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-green.png"); }
.legend-pin-blue { background-image: url("https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-blue.png"); }
.legend-pin-orange { background-image: url("https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-orange.png"); }

.content-figure {
  margin: 1rem 0;
}

.content-figure--compact {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.content-figure--compact img {
  width: 100%;
}

.content-card img:not(.bureau-photo) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f8faf8;
}

.content-figure figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 1rem;
  background: #f6f8f0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 260px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: var(--brand);
  line-height: 1.2;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.footer-contact-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-contact a {
  font-weight: 700;
  text-decoration: none;
}

a { color: var(--brand); }

ul { padding-left: 1.2rem; }

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    gap: 0.75rem;
  }
  .brand {
    flex: 1;
    min-width: 0;
  }
  .brand span {
    font-size: 0.95rem;
    line-height: 1.25;
  }
  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #f6f8f1;
    color: var(--brand);
    font-weight: 700;
    cursor: pointer;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.25rem;
  }
  .nav a {
    display: block;
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #f6f8f1;
    padding: 0.6rem 0.75rem;
  }
  .nav .nav-cta {
    margin-left: 0;
    text-align: center;
    border-color: #5f6b43;
  }
  .nav-toggle:checked + .nav-toggle-label + .nav {
    display: flex;
  }
}

@media (max-width: 640px) {
  .site-shell { padding: 0.75rem; }
  .hero { padding: 1.2rem; }
  .hero-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
  }
  .hero-logo {
    width: 82px;
    max-height: 82px;
    margin-left: 0;
    margin-top: 0.15rem;
    flex-shrink: 0;
  }
  .topbar { align-items: flex-start; }
  .content-card {
    padding: 1rem;
    gap: 0.75rem;
  }
  .content-card > h2 {
    padding: 0.65rem 0.8rem;
  }
  .home-links {
    grid-template-columns: 1fr;
  }
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .bureau-grid {
    grid-template-columns: 1fr;
  }
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact {
    align-items: flex-start;
  }
}
