/* ==========================================================================
   Reset & base — mobile-first
   ========================================================================== */

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

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

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* ==========================================================================
   Hiérarchie typographique
   ========================================================================== */

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(36px, 4vw, 60px);
}

h2 {
  font-size: clamp(28px, 3vw, 44px);
}

h3 {
  font-size: clamp(22px, 2.5vw, 32px);
}

h4 {
  font-size: 18px;
  font-weight: 500;
}

p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);
}

/* ==========================================================================
   Conteneur principal
   ========================================================================== */

.lpc-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--container-px-mobile);
}

@media (min-width: 901px) {
  .lpc-container {
    padding-inline: var(--container-px-desktop);
  }
}

/* ==========================================================================
   Utilitaires de base
   ========================================================================== */

.lpc-main {
  min-height: 60vh;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
