* {
  box-sizing: border-box;
}

.rm-page {
  background: #ffffff;
  color: #1c1c1c;
}

.rm-layout {
  display: flex;
  flex-direction: column;
  padding-top: 68px;
}

.rm-header {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}

.rm-header-image {
  display: block;
  width: 100%;
  height: auto;
}

.intro-section {
  background: #ffffff;
  padding: 36px 24px 12px;
}

.intro {
  margin: 0 0 22px;
  font-weight: 700;
  font-size: 75px;
  line-height: 1.05;
}

.intro-white {
  color: #ffffff;
}

.corps {
  display: grid;
  gap: 18px;
  font-size: 25px;
  line-height: 1.4;
}

.corps-white {
  color: #ffffff;
}

.corps p {
  margin: 0;
}

.corps b,
.corps strong {
  font-weight: 700;
}

.body-section {
  min-height: 40px;
  position: relative;
  overflow: hidden;
}

.rm-overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
}

.rm-topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  padding: 12px 16px;
  z-index: 25;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.burger-menu {
  position: relative;
  z-index: 30;
}

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

.burger-button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.burger-button span {
  display: block;
  width: 22px;
  height: 3px;
  background: #1c1c1c;
  border-radius: 999px;
}

.burger-panel {
  position: absolute;
  top: 54px;
  left: 0;
  min-width: 220px;
  padding: 10px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.burger-toggle:checked ~ .burger-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.burger-panel a {
  color: #1c1c1c;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 15px;
}

.burger-panel a:hover {
  background: #f2f2f2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.body-section-content {
  padding: 36px 24px 60px;
}

.body-section > * {
  position: relative;
  z-index: 1;
}

.colour-assoc {
  background: #734783;
}

.colour-sports {
  background: #6e130b;
}

.colour-culture {
  background: #c429ed;
}

.colour-delinquance {
  background: #ea3323;
}

.colour-ecole {
  background: #f19ae1;
}

.colour-jeunesse {
  background: #3a83cc;
}

.colour-entreprises {
  background: #f5c845;
}

.colour-finances {
  background: #b3a84f;
}

.colour-proprete {
  background: #43972d;
}

.colour-solidarite {
  background: #59c3f9;
}

.colour-immo {
  background: #ef8532;
}

.colour-logement {
  background: #ef8532;
}

.colour-transports {
  background: #605cc0;
}

.colour-vigne {
  background: #336e1e;
}

.rm-footer {
  min-height: 40px;
  background: #ffffff;
}

.rm-footer-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .rm-header {
    padding: 0;
  }
}

@media (max-width: 600px) {
  .rm-header {
    padding: 0;
  }

  .intro {
    font-size: 50px;
  }
}

:root {
  --bg: #0b1020;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.16);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --focus: rgba(120, 160, 255, 0.9);
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 50% 0%, rgba(120, 160, 255, 0.25), transparent 55%),
    var(--bg);
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 16px 40px;
}

.title {
  margin: 10px 0 18px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.menu {
  display: grid;
  gap: 12px;
}

.menu-button {
  display: block;
  width: 100%;
  text-decoration: none;
  text-align: center;
  padding: 14px 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 650;
  line-height: 1.2;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.menu-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.26);
}

.menu-button:active {
  transform: translateY(0);
}

.menu-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.page-header {
  margin: 10px 0 10px;
}

.page-title {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.page-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.back-row {
  margin-top: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-top: 42px;
  }

  .title {
    font-size: 1.55rem;
  }

  .menu-button {
    padding: 16px 16px;
  }
}
