:root {
  color-scheme: light;
  --ink: #171827;
  --muted: #656c7f;
  --primary: #272262;
  --primary-dark: #17143e;
  --primary-soft: #efeff8;
  --accent: #5cc7cf;
  --accent-dark: #168d99;
  --accent-soft: #e8f8fa;
  --line: #e2e5ec;
  --surface: #ffffff;
  --background: #f6f7fa;
  --success: #138a61;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 229, 236, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.nav-links a:hover {
  color: var(--primary);
}

.nav-support {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 106px));
  overflow: hidden;
  background: var(--primary-dark) url("assets/reseau-cec.jpg") center 42% / cover no-repeat;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 20, 62, 0.97) 0%, rgba(23, 20, 62, 0.88) 45%, rgba(23, 20, 62, 0.32) 100%);
}

.hero-content {
  position: relative;
  min-height: inherit;
  padding-block: 76px 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--accent);
}

.hero h1 {
  margin-bottom: 15px;
  font-size: clamp(54px, 9vw, 104px);
  font-weight: 880;
}

.hero-lead {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.22;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

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

.button {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--accent);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: white;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: white;
}

.button.secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

.hero-proof {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
}

.hero-proof span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.intro-band,
.feature-band,
.trust-band {
  padding-block: 92px;
}

.intro-band {
  background: var(--surface);
}

.intro-layout,
.trust-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 8vw, 108px);
  align-items: start;
}

.section-heading {
  max-width: 620px;
}

.section-heading.wide {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2,
.legal-page h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 54px);
}

.section-heading p,
.legal-page .lead {
  color: var(--muted);
  font-size: 17px;
}

.experience-list {
  border-top: 1px solid var(--line);
}

.experience-item {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
}

.experience-item strong,
.feature > span {
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.experience-item h3,
.feature h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.experience-item p,
.feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-band {
  background: var(--background);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  min-height: 208px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.feature h3 {
  margin-top: 38px;
}

.membership-band {
  padding-block: 82px;
  background: var(--primary-dark);
  color: white;
}

.membership-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 8vw, 108px);
  align-items: start;
}

.membership-band h2 {
  max-width: 540px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 52px);
}

.membership-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.membership-columns > div {
  padding-top: 18px;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
}

.membership-columns > div:last-child {
  border-color: var(--accent);
}

.membership-columns p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.access-label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-label.accent {
  color: var(--accent);
}

.trust-band {
  background: var(--accent-soft);
}

.trust-actions {
  border-top: 1px solid rgba(22, 141, 153, 0.28);
}

.text-link {
  padding-block: 20px;
  border-bottom: 1px solid rgba(22, 141, 153, 0.28);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--primary);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-dark);
}

.site-footer {
  padding-block: 44px;
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 14px;
}

.site-footer strong {
  color: var(--primary);
}

.site-footer p {
  margin: 7px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 34px;
}

.footer-links {
  max-width: 520px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 10px 20px;
}

.footer-links a:hover {
  color: var(--primary);
}

.legal-page {
  max-width: 880px;
  padding-block: 72px 94px;
}

.legal-page section {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 10px;
  font-size: 21px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
}

.legal-page a {
  color: var(--accent-dark);
}

.legal-page .notice {
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: white;
}

.legal-page .button {
  margin-top: 10px;
  background: var(--primary);
  color: white;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 32px, 680px);
  }

  .nav {
    min-height: 66px;
  }

  .nav-links a:not(.nav-support) {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 38px;
  }

  .hero {
    min-height: calc(100svh - 92px);
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(23, 20, 62, 0.96) 0%, rgba(23, 20, 62, 0.82) 72%, rgba(23, 20, 62, 0.62) 100%);
  }

  .hero-content {
    padding-block: 52px 42px;
  }

  .hero h1 {
    font-size: clamp(50px, 18vw, 74px);
  }

  .hero-lead {
    font-size: 24px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-proof {
    margin-top: 34px;
    flex-direction: column;
  }

  .intro-band,
  .feature-band,
  .trust-band,
  .membership-band {
    padding-block: 66px;
  }

  .intro-layout,
  .trust-layout,
  .membership-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .feature {
    min-height: 0;
  }

  .feature h3 {
    margin-top: 22px;
  }

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

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-page {
    padding-block: 50px 72px;
  }
}

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