/* ===== Poppins (charte DA officielle) — auto-hébergé, sous-ensemble latin ===== */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Poppins Regular'), local('Poppins-Regular'),
       url('/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Poppins Medium'), local('Poppins-Medium'),
       url('/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Poppins SemiBold'), local('Poppins-SemiBold'),
       url('/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Poppins Bold'), local('Poppins-Bold'),
       url('/fonts/poppins-700.woff2') format('woff2');
}

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

html {
  /* Base scalable : ~13px mobile, ~14px laptop 1366p, ~15px en 1080p,
     ~16-17px sur Mac 4K/5K. Pente vw plus prononcée pour donner plus
     d'air aux grands écrans (la cliente est sur 16" Retina). */
  font-size: clamp(13px, 11px + 0.22vw, 17.5px);
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse at top left, rgba(var(--rgb-ocre), 0.05), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(var(--rgb-sage), 0.06), transparent 60%);
  pointer-events: none;
  z-index: var(--z-bg);
}

h1, h2 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  color: var(--color-sage);
  font-weight: var(--weight-regular);
}

h3, h4, h5, h6 {
  font-family: var(--font-ui);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  color: var(--color-sage);
  font-weight: var(--weight-medium);
}

.script {
  font-family: var(--font-script);
  font-weight: var(--weight-medium);
  font-style: italic;
  letter-spacing: 0.01em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-ocre);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

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

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

.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;
}
