:root {
  --vert: #1f8a5a;
  --vert-fonce: #176b45;
  --vert-clair: #2aa56c;
  --texte: #222;
  --texte-soft: #444;
  --fond: #f5f5f5;
  --blanc: #fff;
  --lien: #1a5c2e;
  --max: 1100px;
  --sidebar: 340px;
  --gap: 1.5rem;
  --font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--texte);
  background: var(--fond);
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--vert-clair);
}

.site-header {
  background: var(--vert);
  color: var(--blanc);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand__logo {
  width: 88px;
  height: auto;
  background: var(--blanc);
  border-radius: 4px;
  padding: 0.25rem;
  flex-shrink: 0;
}

.brand__text h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand__text p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.header-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1877f2;
  color: var(--blanc);
  text-decoration: none;
  flex-shrink: 0;
}

.header-fb:hover {
  color: var(--blanc);
  filter: brightness(1.08);
}

.header-fb svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.banner {
  width: 100%;
  background: var(--vert-fonce);
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}

.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

@media (min-width: 900px) {
  .layout {
    grid-template-columns: 1fr var(--sidebar);
    align-items: start;
  }
}

.content {
  background: var(--blanc);
  padding: 1.5rem 1.35rem 2rem;
  border-radius: 2px;
}

.content section + section {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e2e2e2;
}

.content h2 {
  margin: 0 0 1rem;
  color: var(--vert);
  font-size: 1.55rem;
}

.content h3 {
  margin: 1.35rem 0 0.55rem;
  color: var(--vert-fonce);
  font-size: 1.15rem;
}

.content h4 {
  margin: 0.85rem 0 0.35rem;
  font-size: 1rem;
  color: var(--texte);
}

.content p {
  margin: 0 0 0.9rem;
}

.content ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.25rem;
}

.content li {
  margin-bottom: 0.35rem;
}

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

.content-figure img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.content-figure--narrow {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.content-figure figcaption {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  color: var(--texte-soft);
  text-align: center;
}

.club-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0 1.35rem;
}

@media (min-width: 640px) {
  .club-gallery {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.cours-bloc {
  margin-bottom: 1.75rem;
}

.map-figure iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 2px;
}

.cours-meta {
  margin: 0.4rem 0;
  color: var(--texte-soft);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin: 0 0 0.85rem;
  padding-left: 0;
}

.contact-list strong {
  display: block;
  color: var(--vert-fonce);
  margin-bottom: 0.15rem;
}

.sidebar {
  background: var(--blanc);
  padding: 1rem;
  border-radius: 2px;
}

.sidebar-block + .sidebar-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e2e2;
}

.sidebar h2 {
  margin: 0 0 0.85rem;
  color: var(--vert);
  font-size: 1.2rem;
}

.fb-embed {
  width: 100%;
  min-height: 520px;
  overflow: hidden;
}

.fb-embed iframe {
  width: 100%;
  border: none;
  overflow: hidden;
}

.fb-fallback {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.site-footer {
  background: var(--blanc);
  border-top: 3px solid var(--vert);
  padding: 1.75rem 1.25rem 2rem;
}

.site-footer h2 {
  margin: 0 0 1.1rem;
  text-align: center;
  color: var(--vert);
  font-size: 1.25rem;
}

.partenaires {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.partenaires a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
}

.partenaires img {
  max-height: 64px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.footer-note {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

@media (max-width: 600px) {
  .brand__logo {
    width: 68px;
  }

  .brand__text h1 {
    font-size: 1.1rem;
  }

  .brand__text p {
    font-size: 0.8rem;
  }

  .banner img {
    max-height: 180px;
  }

  .content {
    padding: 1.15rem 1rem 1.5rem;
  }
}
