:root {
  --burgundy: #901838;
  --burgundy-dark: #6b1028;
  --burgundy-deep: #4a0b1c;
  --gold: #f8b030;
  --gold-deep: #c48412;
  --ink: #1a1214;
  --text: #2c2426;
  --muted: #5c5154;
  --cream: #fbf7f4;
  --paper: #ffffff;
  --line: #eadfe3;
  --gold-soft: #fff6e4;
  --shadow: 0 14px 40px rgba(74, 11, 28, 0.08);
  --radius: 1.15rem;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-offset: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--burgundy-dark);
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-top: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 2000;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--burgundy) 0 68%, var(--gold) 68% 100%);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(26, 18, 20, 0.08);
}

.navbar {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.navbar-brand {
  padding: 0;
  margin-right: 1rem;
  line-height: 0;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--burgundy);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.navbar .nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.55rem 0.8rem;
  position: relative;
}

.navbar .nav-link[aria-current="page"] {
  color: var(--burgundy);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus-visible::after,
.navbar .nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(155deg, #4a0b1c 0%, #6b1028 48%, #901838 100%);
  padding: 4.25rem 0 4.5rem;
}

.hero-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 12px,
    rgba(255, 255, 255, 0.045) 12px 13px
  );
  pointer-events: none;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow,
.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: #fff6e4;
}

.kicker {
  color: var(--burgundy);
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  flex: 0 0 auto;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  margin: 0 0 1rem;
  max-width: 12em;
}

.hero .lead {
  color: #fff;
  font-size: 1.12rem;
  max-width: 38rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: #fff;
  border-radius: 1.6rem;
  padding: 1.4rem 1.2rem 1.2rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
  position: relative;
}

.hero-panel-stripes {
  height: 14px;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  background: repeating-linear-gradient(
    to bottom,
    var(--burgundy) 0 2px,
    transparent 2px 5px
  );
  background-color: var(--gold-soft);
}

.hero-panel img {
  display: block;
  width: min(100%, 440px);
  margin-inline: auto;
}

.hero-panel p {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-brand:hover,
.btn-brand:focus-visible {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: #e0a22a;
  color: var(--ink);
  border-color: #e0a22a;
}

.btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
}

.btn-line:hover,
.btn-line:focus-visible {
  background: #fff;
  color: var(--burgundy-deep);
  border-color: #fff;
}

.btn-solid {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--burgundy-dark);
  color: #fff;
  border-color: var(--burgundy-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--burgundy);
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-head h2,
.page-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.section-head p:last-child,
.page-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.repere {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1rem;
  height: 100%;
  box-shadow: 0 1px 0 rgba(144, 24, 56, 0.04);
}

.repere span {
  display: block;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.repere strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.35;
}

.repere small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

.domain-card,
.service-card,
.principle,
.person-card,
.org-step,
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.domain-card,
.service-card,
.principle,
.person-card,
.org-step {
  padding: 1.35rem 1.25rem 1.3rem;
}

.info-card {
  padding: 1.4rem 1.3rem;
}

.info-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
}

.info-card p {
  color: var(--muted);
}

.domain-card::before,
.service-card::before,
.principle::before,
.person-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--burgundy);
  transition: background 0.25s ease;
}

.domain-card:hover,
.service-card:hover,
.principle:hover,
.person-card:hover,
.org-step:hover,
.domain-card:focus-visible {
  transform: translateY(-4px);
  border-color: #f0d7a4;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.domain-card:hover::before,
.service-card:hover::before,
.principle:hover::before,
.person-card:hover::before {
  background: var(--gold);
}

.domain-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.domain-card h3,
.service-card h3,
.principle h3,
.person-card h3,
.org-step h3 {
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}

.domain-card p,
.service-card p,
.principle p,
.person-card p,
.org-step p {
  color: var(--muted);
  margin-bottom: 0;
}

.domain-card .more {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--burgundy);
  font-weight: 700;
  font-size: 0.92rem;
}

.icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--burgundy);
  margin-bottom: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.domain-card:hover .icon-wrap,
.service-card:hover .icon-wrap {
  background: var(--burgundy);
  color: var(--gold);
}

.icon-wrap svg {
  width: 1.4rem;
  height: 1.4rem;
}

.cta-band {
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 14px,
      rgba(248, 176, 48, 0.09) 14px 15px
    ),
    linear-gradient(135deg, #4a0b1c, #901838);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.cta-band p {
  margin: 0;
  max-width: 38rem;
}

.family-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.family-list li {
  position: relative;
  padding-left: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.family-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #4a0b1c 0%, #901838 72%);
  padding: 3rem 0 2.6rem;
}

.page-hero-stripes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 13px,
    rgba(248, 176, 48, 0.13) 13px 14px
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  max-width: 40rem;
  margin-bottom: 0;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
}

.crumbs a {
  color: #fff6e4;
  text-decoration: none;
  font-weight: 600;
}

.crumbs a:hover {
  text-decoration: underline;
}

.crumbs span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero-mark {
  position: absolute;
  right: 3%;
  bottom: -28px;
  width: 170px;
  opacity: 0.16;
  pointer-events: none;
}

.source-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2.2rem;
  font-size: 1.55rem;
}

.split-note {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: 0.8rem;
  padding: 1rem 1.1rem;
  color: var(--ink);
}

.org-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.org-step .step-index {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.person-card .role {
  color: var(--burgundy);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.mono {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--burgundy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 2px var(--burgundy);
}

.facts {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts th,
.facts td {
  text-align: left;
  vertical-align: top;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
}

.facts tr:last-child th,
.facts tr:last-child td {
  border-bottom: 0;
}

.facts th {
  width: 34%;
  color: var(--burgundy-dark);
  font-weight: 700;
  background: #fffafb;
}

.contact-card,
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.4rem 1.25rem;
  height: 100%;
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 1rem;
}

.contact-list .icon-wrap {
  margin: 0;
  width: 2.5rem;
  height: 2.5rem;
}

address {
  font-style: normal;
}

.field {
  margin-bottom: 0.95rem;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.req {
  color: var(--burgundy);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d9ced1;
  border-radius: 0.8rem;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(144, 24, 56, 0.15);
  outline: none;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #8a1c14;
}

.field-error {
  min-height: 1.25rem;
  margin: 0.3rem 0 0;
  color: #8a1c14;
  font-size: 0.9rem;
}

.form-note,
.form-status {
  border-radius: 0.8rem;
  padding: 0.85rem 0.95rem;
  margin-bottom: 1rem;
}

.form-note {
  background: var(--gold-soft);
  color: var(--ink);
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  background: #fdecea;
  color: #6d1610;
}

.form-status.is-info {
  background: #f4f7f4;
  color: #1d3b28;
  border: 1px solid #cfe0d2;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: #2a1218;
  color: #f6eef1;
  padding: 3rem 0 1.25rem;
}

.site-footer a {
  color: #fff6e4;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-brand p {
  margin: 0.9rem 0 0;
  max-width: 28rem;
  color: #f0e4e8;
}

.footer-logo {
  height: 46px;
  width: auto;
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.35rem 0.55rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
  color: #eadfe3;
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.empty-state {
  text-align: center;
  padding: 2rem 0 1rem;
}

@media (max-width: 991.98px) {
  .navbar-expand-lg .nav-toggle {
    display: inline-flex;
  }

  .hero-copy,
  .hero-panel {
    min-width: 0;
  }

  #navMain.collapse:not(.show) {
    display: none;
  }

  #navMain.collapse.show {
    display: block;
    padding-bottom: 0.6rem;
    animation: rise 0.35s both;
  }

  .navbar .nav-link {
    padding: 0.85rem 0.2rem;
  }

  .navbar .nav-link::after {
    left: 0;
    right: auto;
    width: 2rem;
  }

  .page-hero-mark {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .nav-link {
    padding-right: 0.45rem;
    padding-left: 0.45rem;
    font-size: 0.92rem;
  }
}

@media (min-width: 992px) {
  .org-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .org-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.25rem;
    right: -0.85rem;
    width: 1.15rem;
    height: 2px;
    background: var(--gold);
  }
}

@media (max-width: 720px) {
  .facts,
  .facts tbody,
  .facts tr,
  .facts th,
  .facts td {
    display: block;
    width: 100%;
  }

  .facts th {
    padding-bottom: 0.15rem;
    border-bottom: 0;
  }

  .facts td {
    padding-top: 0.2rem;
  }

  .hero {
    padding: 2.2rem 0 2.4rem;
  }

  .hero-panel {
    display: none;
  }

  .section {
    padding: 3.2rem 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.7s both;
  }

  .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.23s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.32s; }

  .hero-panel {
    animation: rise 0.8s 0.18s both;
  }

  .hero-stripes,
  .page-hero-stripes {
    animation: stripe 18s linear infinite;
    background-size: 100% 48px;
  }

  .page-hero .container > * {
    animation: rise 0.65s both;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stripe {
  from { background-position: 0 0; }
  to { background-position: 0 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .skip-link,
  .hero-actions,
  .cta-band,
  .form-card,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .site-footer {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
  }
}
