:root {
  --green: #d3ff9e;
  --green-dark: #b8e878;
  --menu-active: #60e3f8;
  --purple: #502b7b;
  --purple-dark: #3a3091;
  --brown: #4e3d1e;
  --text: #222;
  --muted: #555;
  --bg: #f4f4f0;
  --white: #fff;
  --max: 980px;
  --font-serif: enriqueta, georgia, serif;
  --font-sans: "Segoe UI", system-ui, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  z-index: -1;
}

a {
  color: #2623eb;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: linear-gradient(180deg, rgba(211, 255, 158, 0.95), rgba(211, 255, 158, 0.85));
  border-bottom: 2px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--purple-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  margin-right: auto;
}

.site-brand img {
  width: 72px;
  height: auto;
}

.site-nav-toggle {
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: var(--white);
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  background: var(--green);
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.site-nav li {
  flex: 1 1 auto;
  min-width: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.35);
}

.site-nav li:last-child {
  border-right: none;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.35rem;
  text-align: center;
  text-decoration: none;
  color: #111;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.25;
}

.site-nav a:hover {
  background: rgba(96, 227, 248, 0.45);
}

.site-nav a.is-active {
  background: var(--menu-active);
}

.site-main {
  max-width: var(--max);
  width: 100%;
  margin: 1.25rem auto 2.5rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.site-panel {
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  padding: 1.75rem 1.5rem 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-intro {
  margin: -0.35rem 0 1.25rem;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.5;
}

.site-panel h1 {
  font-family: var(--font-serif);
  color: var(--brown);
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.site-panel h2 {
  font-family: var(--font-serif);
  color: var(--purple-dark);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.65rem;
}

.site-panel h3 {
  font-family: var(--font-serif);
  color: var(--purple);
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.site-panel p {
  margin: 0 0 1rem;
}

.site-panel ul,
.site-panel ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.site-panel > img,
.site-panel p img {
  max-width: 100%;
  height: auto;
}

.hero-sub {
  text-align: center;
  color: var(--muted);
  font-family: var(--font-serif);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.home-lead {
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-links {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.home-links a {
  display: block;
  padding: 0.55rem 0.75rem;
  background: rgba(211, 255, 158, 0.35);
  border: 1px solid rgba(78, 61, 30, 0.2);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  color: var(--purple-dark);
}

.home-links a:hover {
  background: rgba(96, 227, 248, 0.35);
  text-decoration: none;
}

.home-contact-box {
  background: rgba(80, 43, 123, 0.06);
  border-left: 4px solid var(--purple);
  padding: 1rem 1.15rem;
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
}

.home-contact-box p:last-child {
  margin-bottom: 0;
}

.page-gallery {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  clear: both;
}

.page-gallery-item {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: #e8e8e4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 560px) {
  .page-gallery {
    grid-template-columns: 1fr;
  }

  .page-gallery-item {
    aspect-ratio: 16 / 10;
  }
}

.actu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.actu-list li {
  border-bottom: 1px solid rgba(78, 61, 30, 0.2);
  padding: 0.75rem 0.25rem;
}

.actu-list a {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: #2623eb;
}

.actu-list a:hover {
  text-decoration: underline;
}

.article-card {
  border-top: 1px solid rgba(78, 61, 30, 0.15);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.article-card:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0.5rem;
}

.article-card h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.article-card h2 a {
  color: var(--purple-dark);
  text-decoration: none;
}

.article-card h2 a:hover {
  text-decoration: underline;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: -0.35rem 0 0.75rem;
}

.article-source {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
}

.site-footer {
  background: #e8e8e8;
  border-top: 3px solid var(--purple);
  padding: 1.75rem 1rem 2rem;
  font-size: 0.95rem;
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}

.site-footer h2 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--purple-dark);
  margin: 0 0 0.5rem;
}

.site-footer p {
  margin: 0 0 0.35rem;
  line-height: 1.5;
}

.site-footer a {
  color: var(--purple);
  font-weight: 600;
}

.site-copy {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .site-nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav li {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }

  .site-nav a {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    white-space: normal;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}
