:root {
  --green: #008115;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #fff;
  color: #222;
}

header.hero {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 6rem 1.5rem calc(4vw + 5rem);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  height: 118%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  opacity: 0.35;
  pointer-events: none;
}

header.hero > *:not(.hero-bg) {
  position: relative;
}

.hero-title {
  margin: 0.5rem 0 3rem;
  font-family: 'Rubik Spray Paint', system-ui, cursive;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.hero-subtitle {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 3vw, 1.5rem);
  letter-spacing: 1px;
}

.hero-dates {
  margin-top: 1.25rem;
  font-size: clamp(1.1rem, 3.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.5;
}

.hero-lieu {
  margin-top: 0.5rem;
  font-size: clamp(1rem, 3vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.wrap {
  padding: 2rem 1.5rem 4rem;
  max-width: 60rem;
  margin: 0 auto;
}

html {
  scroll-behavior: smooth;
}

section {
  margin-top: 4rem;
  scroll-margin-top: 2rem;
}

section h2 {
  font-family: 'Rubik Spray Paint', system-ui, cursive;
  font-weight: 400;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

section h2::after {
  content: "";
  display: block;
  height: 6px;
  width: 4rem;
  margin-top: 0.5rem;
  background: var(--green);
  transform: skewX(-20deg);
}

section p {
  line-height: 1.6;
  font-size: 1.05rem;
}

#programme {
  background: var(--green);
  color: #fff;
  margin-top: 4rem;
  padding: calc(4vw + 2.5rem) 1.5rem calc(4vw + 3rem);
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
}

.prog-inner {
  max-width: 60rem;
  margin: 0 auto;
}

#programme h2 {
  color: #fff;
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

#programme h2::after {
  background: #fff;
  margin-left: auto;
  margin-right: auto;
}

.prog-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
  font-size: 1.15rem;
}

.prog-grid h3 {
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  font-size: 1.4rem;
}

.prog-grid dl > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

.prog-grid dt {
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.prog-grid dd {
  text-align: left;
}

@media (min-width: 700px) {
  .prog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.map {
  display: block;
  width: 100%;
  height: 22rem;
  margin-top: 1.5rem;
  border: 3px solid var(--green);
}

.map-link {
  margin-top: 0.75rem;
}

.map-link a {
  color: var(--green);
}

.logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
  margin-top: 1rem;
}

@media (max-width: 700px) {
  .logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

.logos li {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos img {
  max-height: 60px;
  max-width: 11rem;
  object-fit: contain;
}

.burger {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

#site-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 5rem 2rem 2rem;
  background: #fff;
  border-left: 3px solid var(--green);
  min-height: 100vh;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

#site-nav.open {
  transform: translateX(0);
}

#site-nav a {
  color: var(--green);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

footer {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 2rem 1.5rem;
  line-height: 1.6;
}
