/* ==========================================================================
   Plainchamp — Base reset & typography
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/montserrat-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/montserrat-semibold.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/montserrat-black.woff2") format("woff2");
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-weight: var(--w-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-family);
  font-weight: var(--w-display);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Focus visibility: accent ring, never removed */
:focus-visible {
  outline: 2px solid var(--plc-jaune);
  outline-offset: 3px;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -48px;
  background: var(--plc-jaune);
  color: var(--plc-carbone);
  font-weight: var(--w-label);
  padding: var(--space-2xs) var(--space-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus {
  top: var(--space-sm);
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.eyebrow {
  font-weight: var(--w-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: var(--text-2xs);
  color: var(--plc-jaune);
}

.label {
  font-weight: var(--w-label);
}

.text-secondary {
  color: var(--text-secondary);
}

.section {
  padding-block: var(--space-3xl);
  position: relative;
}

@media (max-width: 760px) {
  .section {
    padding-block: var(--space-2xl);
  }
}

.section-head {
  max-width: 46ch;
  margin-bottom: var(--space-xl);
}

.section-head-center {
  max-width: none;
  text-align: center;
  margin-inline: auto;
}
.section-head-center h2 {
  max-width: 560px;
  margin-inline: auto;
}
.section-head-center p {
  max-width: 46ch;
  margin-inline: auto;
}

.section-head h2 {
  font-size: var(--text-3xl);
  text-transform: uppercase;
}

.section-head p {
  margin-top: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--text-md);
  max-width: 56ch;
}
