:root {
  --bg: #fde9bd;
  --cream: #fff0cf;
  --cream-2: #fff7e6;
  --green: #008a3d;
  --green-dark: #006a2e;
  --red: #b01625;
  --red-dark: #8f101c;
  --orange: #f5a400;
  --text: #5f6169;
  --title: #3f4249;
  --white: #ffffff;
  --border: rgba(0, 0, 0, 0.12);
  --shadow: 0 10px 26px rgba(75, 47, 0, 0.13);
  --max: 1060px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-shell {
  width: min(var(--max), calc(100% - 22px));
  margin: 0 auto;
  background: var(--white);
  box-shadow: var(--shadow);
  min-height: 100vh;
}

.top-strip {
  min-height: 32px;
  padding: 5px 18px;
  background: linear-gradient(180deg, var(--red-dark), #ffffff 95%);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 0.82rem;
}

.socials,
.langs {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-header {
  background: var(--cream);
  padding: 18px 34px 20px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

/* LOGO OFFICIEL */
.logo-card {
  width: 170px;
  height: 110px;
  max-width: 170px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
}

.logo-img {
  width: 165px;
  max-width: 165px;
  max-height: 105px;
  height: auto;
  display: block;
  object-fit: contain;
}

.logo-mark {
  display: none;
}

.brand-text {
  flex: 1;
  text-align: right;
}

.brand-text h1 {
  margin: 0;
  color: #686b72;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
}

.brand-text p {
  margin: 10px 0 0;
  color: #8a745e;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.main-nav {
  background: var(--green);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0 22px;
}

.main-nav a {
  display: block;
  color: #fff;
  padding: 15px 16px;
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a:hover {
  background: var(--green-dark);
  color: var(--orange);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 100%;
  border: none;
  background: var(--green);
  color: #fff;
  padding: 13px 18px;
  font-weight: 800;
  text-align: left;
}

.breadcrumb {
  background: var(--cream);
  color: #8b7f6f;
  padding: 12px 34px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section-card,
.content-section {
  padding: 30px 34px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.hero-placeholder {
  min-height: 290px;
  background: linear-gradient(135deg, rgba(0, 138, 61, 0.9), rgba(176, 22, 37, 0.86));
  border: 8px solid #f7f7f7;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}

.hero-placeholder span {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-placeholder strong {
  display: block;
  font-size: 1.35rem;
}

h2 {
  color: var(--title);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
  font-weight: 500;
}

h3 {
  color: var(--red);
  margin: 0 0 7px;
}

.hero-copy p,
.lead {
  font-size: 1rem;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: 800;
  margin: 5px 8px 0 0;
}

.btn.primary {
  background: var(--green);
  color: #fff;
}

.btn.secondary {
  background: var(--orange);
  color: #4b2c00;
}

.partners {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partner-grid div {
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  font-weight: 800;
  color: #466;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.section-title span {
  display: inline-block;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cream-block {
  background: var(--cream-2);
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.news-thumb {
  min-height: 130px;
}

.accent-red {
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.accent-green {
  background: linear-gradient(135deg, var(--green), #93c85a);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cards-grid article {
  background: #fff;
  border-top: 4px solid var(--green);
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.marathon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.marathon-card {
  min-height: 120px;
  display: grid;
  place-items: end center;
  padding: 14px;
  background: linear-gradient(135deg, #d9d9d9, #ffffff);
  border: 2px solid var(--red);
  color: var(--orange);
  font-weight: 900;
  text-shadow: 0 1px 0 #fff;
}

.project-list {
  columns: 2;
  padding-left: 22px;
}

.project-list li {
  margin-bottom: 10px;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.values strong {
  padding: 14px;
  color: #fff;
  background: var(--green);
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.map-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8eef2, #fff);
  border: 1px solid var(--border);
  color: #687;
  font-weight: 900;
}

.site-footer {
  background: var(--red);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 28px 34px 18px;
  border-top: 5px solid var(--orange);
}

.site-footer h3 {
  color: #fff;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 6px;
}

.copyright {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.85rem;
  margin: 6px 0 0;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  border: none;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: #fff;
  border-radius: 4px;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  cursor: pointer;
}

/* DESKTOP */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
  }
}

/* TABLET / MOBILE */
@media (max-width: 760px) {
  .page-shell {
    width: 100%;
  }

  .brand {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .brand-text {
    text-align: center;
  }

  .site-header,
  .section-card,
  .content-section,
  .breadcrumb,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .logo-card {
    width: 190px;
    height: auto;
    max-width: 190px;
  }

  .logo-img {
    width: 185px;
    max-width: 185px;
    max-height: 120px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    padding: 0;
  }

  .main-nav.open ul {
    display: flex;
  }

  .main-nav a {
    padding: 12px 18px;
  }

  .news-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .partner-grid,
  .marathon-grid,
  .values,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .project-list {
    columns: 1;
  }

  .hero-placeholder {
    min-height: 210px;
  }
}