/* Identité commune aux pages institutionnelles, aux services et au journal. */
:root {
  --paper: #fff;
  --white: #fff;
  --ink: #102536;
  --text: #334654;
  --muted: #586974;
  --line: #d9e0e4;
  --green: #142d40;
  --soft: #eff3f5;
  --rust: #a44429;
  --rust-hover: #82351f;
  --serif: 'DM Serif Display', Georgia, serif;
}

.site-header { background: #fff; }
.footer { background: #102536; color: #e5ebee; }
.button, .site-header .button { border-radius: 5px; }
main h2, main h3, main h4 { font-family: var(--sans); font-weight: 700; letter-spacing: -.034em; }
main :is(.hero-copy, .inner-hero, .corporate-hero, .contact-intro, .journal-header, .legal-hero, .editorial-intro, .ep-hero) h1,
main.editorial-intro h1, main h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 3.75vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
main .entrepreneur-hero .hero-copy h1 { font-size: clamp(2.25rem, 3.75vw, 3.75rem); }
.ep-hero h1 { max-width: 20ch; }
main .eyebrow { color: var(--rust); }
.section-tint, .office-section, .journey, .lifestyle, .entrepreneur-case,
.premises-section, .content-section:nth-child(even), .reading-body blockquote,
.article-toc, .related-reading, .article-sources, .table-scroll thead { background: var(--soft); }
.service-card.featured, .closing-box, .method-row aside, .person-monogram, .card-symbol {
  background: #eef3f6;
  border-color: var(--line);
}
.directory-card, .info-card, .service-card, .office-card, .person-card, .scope-summary,
.identity-panel, .inner-photo, .corporate-photo, .closing-box { border-radius: 8px; }
.identity-panel, .fiscal-band { background: var(--green); color: #eff4f7; }
.identity-panel .eyebrow, .fiscal-band .eyebrow { color: #ffd1ac; }
.journal-pagination [aria-current] { background: var(--green); }
.article-byline { color: var(--muted); }
.epona-estimateur { --estimate-border: var(--line); --estimate-soft: var(--soft); --estimate-muted: var(--muted); background: white; }
::selection { color: #102536; background: #dbe7ef; }

.footer .footer-bottom {
  display: flex;
  flex-flow: row wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: .65rem 1.4rem;
  padding-block: 1rem;
  color: #c5d2da;
  font-size: .78rem;
  line-height: 1.5;
}
.footer-signature {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem 1rem;
  margin-inline-end: auto;
}
.footer .footer-signature a, .footer .legal-links a {
  color: inherit;
  font-size: inherit;
  text-underline-offset: .2em;
}
.footer .footer-signature a { text-decoration: none; }
.footer .footer-signature a:is(:hover,:focus-visible) { color: white; text-decoration: underline; }
.footer .legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
@media (max-width: 740px) {
  .footer .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-signature { flex-direction: column; }
  .footer .photo-credits { text-align: left; }
}
