:root {
  --color-brand: #0E2A47;
  --color-cta: #00C7B7;
  --color-brand-darker: #081C32;
  --color-cta-darker: #00b3a4;
  --text-on-brand: #ffffff;
  --text-on-light: #1a1c22;
  --muted: #777777;
  --soft-line: #d8d8d8;
  --soft-line-light: #e3e6ea;
  --bg-page: #ffffff;
  --bg-alt: #f2f4f7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-on-light);
  background: var(--bg-page);
}
a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-brand-darker); }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

.site-head {
  background: var(--color-brand);
  color: var(--text-on-brand);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 14px 0;
}
.head-inner {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.mark-logo {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.site-foot .mark-logo { filter: brightness(0) invert(1); }

.section-image {
  margin: 32px auto 36px;
  max-width: 880px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(14, 42, 71, 0.1);
}
.section-image img { width: 100%; height: auto; display: block; }
.section-image--narrow { max-width: 720px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 28px; }
.main-nav a {
  color: var(--text-on-brand);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
  transition: opacity 0.18s ease;
}
.main-nav a:hover { opacity: 1; color: var(--text-on-brand); }

.cta-button {
  display: inline-block;
  background: var(--color-cta);
  color: var(--text-on-brand);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 18px rgba(0, 199, 183, 0.28);
  border: 0;
  cursor: pointer;
}
.cta-button:hover {
  background: var(--color-cta-darker);
  color: var(--text-on-brand);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 199, 183, 0.35);
}
.cta-button--small {
  padding: 9px 18px;
  font-size: 12px;
  box-shadow: 0 3px 10px rgba(0, 199, 183, 0.22);
}

.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-on-brand);
  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 {
  position: relative;
  color: var(--text-on-brand);
  overflow: hidden;
  background: var(--color-brand);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('hero.png?v=2');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-brand);
  opacity: 0.88;
  z-index: 1;
}
.hero--home { min-height: 580px; }
.hero--inner { min-height: 360px; }
.hero-content {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 0 80px;
}
.hero-h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--text-on-brand);
  line-height: 1.65;
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--text-on-brand);
  line-height: 1.65;
}
.hero-meta {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-on-brand);
  opacity: 0.7;
}
.hero--inner .hero-content { padding: 70px 0 60px; }

.band { padding: 72px 0; }
.band--alt { background: var(--bg-alt); }
.band--cta {
  background: var(--color-brand);
  color: var(--text-on-brand);
  padding: 60px 0;
  text-align: center;
}
.band--cta h2 { color: var(--text-on-brand); }
.band--cta p {
  color: var(--text-on-brand);
  opacity: 0.85;
  margin-bottom: 24px;
}
.wrap { width: 92%; max-width: 1180px; margin: 0 auto; }
.wrap--narrow { max-width: 760px; }

h2 {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-brand);
  line-height: 1.65;
}
h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-brand);
  line-height: 1.65;
}
p { margin-bottom: 16px; line-height: 1.65; }

.band--intro .wrap { max-width: 820px; }
.band--intro p { font-size: 17px; }

.steps {
  list-style: none;
  counter-reset: stepc;
  display: grid;
  gap: 18px;
  margin-top: 12px;
}
.steps li {
  counter-increment: stepc;
  padding: 24px 26px 24px 88px;
  background: var(--bg-page);
  border-radius: 8px;
  position: relative;
  border: 1px solid var(--soft-line-light);
  box-shadow: 0 2px 10px rgba(14, 42, 71, 0.06);
}
.steps li::before {
  content: counter(stepc);
  position: absolute;
  left: 24px;
  top: 22px;
  font-size: 34px;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.65;
}
.steps li strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-on-light);
}
.steps li span { color: var(--text-on-light); display: block; }

.reasons {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 22px 0 26px;
}
.reasons li {
  padding: 18px 20px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  font-size: 15px;
  background: var(--bg-page);
}

.faq-block details {
  background: var(--bg-page);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: box-shadow 0.18s ease;
}
.faq-block details[open] { box-shadow: 0 4px 14px rgba(14, 42, 71, 0.08); }
.faq-block summary {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  color: var(--color-brand);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after {
  content: '+';
  font-size: 22px;
  color: var(--color-brand);
  font-weight: 700;
  margin-left: 12px;
  line-height: 1;
}
.faq-block details[open] summary::after { content: '-'; }
.faq-block details p { margin-top: 12px; font-size: 15px; }

.article { padding: 64px 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; }

.site-foot {
  background: var(--color-brand-darker);
  color: #c4cdda;
  padding: 56px 0 0;
}
.foot-inner {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}
.foot-col { font-size: 14px; }
.foot-mark { font-weight: 700; color: #ffffff; font-size: 16px; margin-bottom: 8px; }
.foot-tag { color: #98a5b8; line-height: 1.65; }
.foot-h { font-weight: 700; color: #ffffff; margin-bottom: 12px; }
.foot-list { list-style: none; }
.foot-list li { margin-bottom: 6px; }
.foot-list a {
  color: #98a5b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s ease;
}
.foot-list a:hover { color: #ffffff; }
.foot-cta-wrap { margin-top: 6px; }
.foot-base {
  margin-top: 48px;
  padding: 24px 0 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: #8392a8;
  text-align: center;
  line-height: 1.65;
}
.foot-base p { margin-bottom: 8px; }
.foot-base p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .head-inner { flex-wrap: wrap; gap: 14px; }
  .menu-burger { display: block; }
  .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; }
  .hero-content { padding: 70px 0 60px; }
  .hero--home { min-height: 520px; }
  .band { padding: 56px 0; }
  .foot-inner { gap: 28px; }
  .steps li { padding: 22px 22px 22px 76px; }
  .steps li::before { left: 22px; top: 20px; font-size: 30px; }
}

/* === 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-on-light);
  margin: 0;
}
.srm-stat-extra {
  max-width: 1080px;
  margin: 14px auto 0;
  font-size: 14px;
  color: var(--text-on-light);
  line-height: 1.55;
}
@media (max-width: 640px) {
  .srm-stat-dl { gap: 14px 22px; }
  .srm-stat-item { min-width: 120px; }
}
