:root {
  --color-brand: #1A1814;
  --color-cta: #7A1F2A;
  --brand-darker: #0D0B09;
  --cta-darker: #5C141F;
  --paper: #F4F1EB;
  --paper-darker: #E8E3D8;
  --paper-deep: #D9D2C2;
  --text-main: #1A1814;
  --muted: #6F6A60;
  --soft-line: #c9c2b3;
  --bg-page: #F4F1EB;
  --bg-alt: #ECE7DA;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Bahnschrift, "Arial Narrow", Tahoma, Verdana, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--bg-page);
}
a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--cta-darker); }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

.site-head {
  background: var(--paper);
  color: var(--text-main);
  padding: 22px 0;
  border-bottom: 1px solid var(--text-main);
  position: relative;
}
.head-inner {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.mark-logo {
  height: 36px;
  width: auto;
  display: block;
}

.section-image {
  margin: 40px 0 36px;
  max-width: 780px;
}
.section-image img { width: 100%; height: auto; display: block; }
.section-image figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  font-stretch: 95%;
  font-style: italic;
}

.hero-figure {
  max-width: 980px;
  margin: 56px auto 0;
  padding: 0 4%;
}
.hero-figure img { width: 100%; height: auto; display: block; }

@media (min-width: 920px) {
  .hero--home { position: relative; padding: 110px 0 88px; }
  .hero--home .hero-inner { max-width: 620px; margin: 0; padding-left: 6%; }
  .hero--home .hero-figure {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 38%;
    max-width: 460px;
    margin: 0;
    padding: 0;
  }
  .hero--home .hero-figure img { box-shadow: 0 14px 40px rgba(26, 24, 20, 0.18); }
}

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 26px; }
.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: opacity 0.18s ease;
  opacity: 0.78;
}
.main-nav a:hover { opacity: 1; color: var(--text-main); }

.cta-button {
  display: inline-block;
  background: var(--color-cta);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.18s ease, transform 0.18s ease;
  border: 0;
  cursor: pointer;
}
.cta-button:hover {
  background: var(--cta-darker);
  color: var(--paper);
  transform: translateY(-2px);
}
.cta-button--small {
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.menu-toggle { position: absolute; left: -9999px; }
.menu-burger {
  display: none;
  width: 28px; height: 22px;
  position: relative;
  cursor: pointer;
}
.menu-burger span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.menu-burger span:nth-child(1) { top: 0; }
.menu-burger span:nth-child(2) { top: 10px; }
.menu-burger span:nth-child(3) { top: 20px; }
.menu-toggle:checked ~ .menu-burger span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.menu-toggle:checked ~ .menu-burger span:nth-child(2) { opacity: 0; }
.menu-toggle:checked ~ .menu-burger span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.hero {
  background: var(--paper);
  color: var(--text-main);
  padding: 110px 0 88px;
  border-bottom: 1px solid var(--text-main);
}
.hero--inner { padding: 80px 0 56px; }
.hero-inner {
  width: 92%;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}
.hero-h1 {
  font-size: clamp(40px, 7.5vw, 88px);
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-main);
  line-height: 1.65;
  letter-spacing: 0;
  font-stretch: 85%;
}
.hero-deck {
  font-size: 21px;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.65;
  max-width: 760px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-anchor {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-meta {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

.band { padding: 84px 0; }
.band--alt { background: var(--bg-alt); }
.band--brief { background: var(--paper); }
.band--cta {
  background: var(--text-main);
  color: var(--paper);
  padding: 84px 0;
}
.band--cta h2 { color: var(--paper); margin-bottom: 16px; }
.band--cta p { color: var(--paper); opacity: 0.85; margin-bottom: 28px; }

.wrap { width: 92%; max-width: 1280px; margin: 0 auto; }
.wrap--read { max-width: 780px; }

h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 700;
  margin-bottom: 26px;
  color: var(--text-main);
  line-height: 1.65;
  font-stretch: 85%;
  letter-spacing: 0;
}
h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.65;
  font-stretch: 90%;
}
p { margin-bottom: 18px; line-height: 1.65; font-size: 17px; }

.dropcap::first-letter {
  font-size: 64px;
  font-weight: 700;
  float: left;
  line-height: 1;
  padding: 6px 14px 0 0;
  color: var(--color-cta);
  font-stretch: 80%;
}

blockquote {
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}
blockquote p {
  font-size: 21px;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 0;
  font-stretch: 90%;
}

.proto {
  list-style: none;
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--soft-line);
}
.proto li {
  padding: 22px 0;
  border-bottom: 1px solid var(--soft-line);
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 28px;
  align-items: baseline;
}
.proto-h {
  font-weight: 700;
  color: var(--text-main);
  font-size: 17px;
}
.proto li span:nth-child(2) {
  color: var(--text-main);
  font-size: 17px;
}

.action-row {
  margin-top: 32px;
}

.faq-block details {
  background: transparent;
  border-bottom: 1px solid var(--soft-line);
  padding: 22px 0;
  margin-bottom: 0;
}
.faq-block details:last-of-type { border-bottom: 0; }
.faq-block summary {
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  color: var(--text-main);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0;
}
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after {
  content: '+';
  font-size: 22px;
  color: var(--color-cta);
  font-weight: 700;
  margin-left: 12px;
  line-height: 1;
}
.faq-block details[open] summary::after { content: '-'; }
.faq-block details p { margin-top: 14px; font-size: 16px; color: var(--text-main); margin-bottom: 0; }

.article { padding: 70px 0; }
.article h2 { margin-top: 36px; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 28px; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article ul li, .article ol li { margin-bottom: 6px; }
.article p:first-of-type::first-letter {
  font-size: 64px;
  font-weight: 700;
  float: left;
  line-height: 1;
  padding: 6px 14px 0 0;
  color: var(--color-cta);
}

.site-foot {
  background: var(--text-main);
  color: var(--paper-darker);
  padding: 64px 0 0;
  border-top: 1px solid var(--text-main);
}
.foot-inner {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 56px;
}
.foot-col { font-size: 14px; }
.foot-col--lead { max-width: 340px; }
.foot-mark {
  font-weight: 700;
  color: var(--paper);
  font-size: 22px;
  margin-bottom: 10px;
  font-stretch: 80%;
}
.foot-tag { color: var(--paper-deep); line-height: 1.65; opacity: 0.78; }
.foot-h {
  font-weight: 700;
  color: var(--paper);
  font-size: 15px;
  margin-bottom: 14px;
}
.foot-list { list-style: none; }
.foot-list li { margin-bottom: 6px; }
.foot-list a {
  color: var(--paper-darker);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.78;
  transition: opacity 0.18s ease;
}
.foot-list a:hover { opacity: 1; color: var(--paper); }
.foot-cta-wrap { margin-top: 6px; }
.foot-base {
  margin-top: 56px;
  padding: 26px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: var(--paper-deep);
  line-height: 1.65;
  text-align: center;
  opacity: 0.62;
}
.foot-base p { margin-bottom: 8px; }
.foot-base p:last-child { margin-bottom: 0; }

@media (max-width: 880px) {
  .hero { padding: 80px 0 64px; }
  .hero-h1 { font-size: clamp(34px, 9vw, 56px); }
  .hero-deck { font-size: 18px; }
  .proto li { grid-template-columns: 1fr; gap: 6px; }
  .foot-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .head-inner { flex-wrap: wrap; gap: 14px; }
  .menu-burger { display: block; margin-left: auto; }
  .main-nav {
    display: none;
    width: 100%;
    order: 99;
    margin-left: 0;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 14px;
    padding: 14px 0 6px;
  }
  .menu-toggle:checked ~ .main-nav { display: block; }
  .head-inner .cta-button--small { display: none; }
  .band { padding: 56px 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* === MAILLAGE INTERNE === */
.srm-maillage-block {
  margin: 48px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--soft-line, #d8d8d8);
}
.srm-maillage-block + .srm-maillage-block { margin-top: 36px; }
.srm-maillage-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--color-brand);
  line-height: 1.65;
}
.srm-maillage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 1;
  column-gap: 28px;
}
@media (min-width: 720px)  { .srm-maillage-list { column-count: 2; } }
@media (min-width: 1080px) { .srm-maillage-list { column-count: 3; } }
.srm-maillage-list li {
  break-inside: avoid;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.65;
}
.srm-maillage-list a {
  color: var(--color-brand);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease;
}
.srm-maillage-list a:hover { text-decoration: underline; }
.srm-maillage-meta { color: var(--muted, #777); font-weight: 400; font-size: 13px; }

/* ===============================================
 * Geo stat block (rendered in page.php from geous_stat_block()).
 * Lives outside the_content so it survives Gemini regen.
 * =============================================== */
.srm-stat-block {
  background: var(--bg-alt);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  padding: 22px 24px;
  margin: 0;
}
.srm-stat-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.srm-stat-item {
  display: flex;
  flex-direction: column;
  min-width: 140px;
}
.srm-stat-item dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 2px;
}
.srm-stat-item dd {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}
.srm-stat-extra {
  max-width: 1080px;
  margin: 14px auto 0;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.55;
}
@media (max-width: 640px) {
  .srm-stat-dl { gap: 14px 22px; }
  .srm-stat-item { min-width: 120px; }
}
