:root {
  color-scheme: light;
  --ink: #132324;
  --muted: #4e6264;
  --paper: #f4f7f5;
  --sheet: #ffffff;
  --blue: #263f83;
  --green: #72ad3e;
  --gold: #e2bd48;
  --line: #d7d0c1;
  --soft-blue: #e6edf7;
  --soft-green: #eaf3df;
  --shadow: 0 14px 34px rgba(31, 45, 48, 0.08);
  --radius: 8px;
  --max: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--gold);
  color: var(--ink);
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(226, 189, 72, 0.9);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(244, 247, 245, 0.94);
  border-bottom: 1px solid rgba(19, 35, 36, 0.13);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.brand span span {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: #273f42;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: var(--max);
  min-height: 680px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(18px, 4vw, 44px) 64px;
}

.hero-copy {
  max-width: 720px;
}

.grand-chasseral {
  display: block;
  width: min(330px, 66vw);
  height: auto;
  margin: 0 0 clamp(28px, 4vw, 44px);
  mix-blend-mode: multiply;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: 3.9rem;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 62ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 650;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.quick-panel {
  padding: 26px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-panel h2 {
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.quick-panel ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-panel li {
  padding: 0;
}

.quick-panel li:first-child {
  padding: 0;
}

.quick-panel span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.quick-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 92px) clamp(18px, 4vw, 44px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.6fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2,
.cotisations h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: 2.45rem;
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1rem;
}

.objective-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--sheet);
}

.objective-grid article {
  min-height: 240px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.objective-grid article:last-child {
  border-right: 0;
}

.objective-grid h3 {
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 700;
}

.objective-grid p,
.step p,
.note p,
.document-list span,
.rate-list span {
  color: var(--muted);
}

.adhesion-section {
  display: grid;
  gap: 26px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.step {
  min-height: 220px;
  padding: 22px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.step.is-current {
  border-color: rgba(114, 173, 62, 0.75);
  transform: translateY(-3px);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 54px;
  background: var(--soft-green);
  border: 1px solid rgba(114, 173, 62, 0.55);
  border-radius: 50%;
  color: #385f1e;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  font-weight: 700;
}

.step p {
  margin-bottom: 0;
}

.note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  background: var(--soft-blue);
  border: 1px solid rgba(38, 63, 131, 0.16);
  border-radius: var(--radius);
}

.note strong {
  color: var(--blue);
}

.note p {
  margin-bottom: 0;
}

.compact-section {
  padding-top: 24px;
  padding-bottom: 24px;
}

.cotisations {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
  padding: 40px;
  background: #102b2d;
  border-radius: var(--radius);
  color: #ffffff;
}

.rate-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rate-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 7px;
}

.rate-list span {
  color: rgba(255, 255, 255, 0.72);
}

.rate-list strong {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.document-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.document-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 118px;
  padding: 20px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.document-list a:hover {
  border-color: rgba(38, 63, 131, 0.45);
  transform: translateY(-2px);
}

.document-list strong {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--soft-green);
  color: #385f1e;
  font-size: 0.82rem;
  font-weight: 700;
}

.final-cta {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 44px);
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  max-width: 12ch;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 44px);
  color: rgba(255, 255, 255, 0.72);
  background: #132324;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: #ffffff;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section-heading,
  .cotisations {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    max-width: 15ch;
    font-size: 3.1rem;
  }

  .hero-copy p {
    font-size: 1.1rem;
  }

  .section-heading h2,
  .cotisations h2,
  .final-cta h2 {
    font-size: 2.15rem;
  }

  .objective-grid,
  .steps,
  .document-list {
    grid-template-columns: 1fr;
  }

  .objective-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .objective-grid article:last-child {
    border-bottom: 0;
  }

  .objective-grid h3,
  .step span {
    margin-bottom: 22px;
  }

  .step {
    min-height: auto;
  }

  .note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .site-nav {
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero-actions,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.35rem;
  }

  .section-heading h2,
  .cotisations h2,
  .final-cta h2 {
    font-size: 1.82rem;
  }

  .quick-panel {
    padding: 20px;
  }

  .cotisations {
    padding: 26px;
  }

  .rate-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

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

  .button,
  .step,
  .document-list a {
    transition-property: background-color, border-color, color;
  }

  .button:hover,
  .document-list a:hover,
  .step.is-current {
    transform: none;
  }
}
