/* ============================================================
   Beepings — Base : reset, typographie, utilitaires de mise en page
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }

/* ---- Typographie ------------------------------------------------ */
.display-1 { font-size: var(--fs-display-1-fluid); font-weight: var(--fw-light); line-height: var(--lh-tight); }
.display-2 { font-size: var(--fs-display-2-fluid); font-weight: var(--fw-light); line-height: var(--lh-snug); }
.display-3 { font-size: var(--fs-display-3-fluid); font-weight: var(--fw-light); line-height: var(--lh-snug); }
.h1 { font-size: var(--fs-h1-fluid); font-weight: var(--fw-light); line-height: 1.15; }
.h2 { font-size: var(--fs-h2-fluid); font-weight: var(--fw-light); line-height: 1.2; }
.h3 { font-size: var(--fs-h3); font-weight: var(--fw-light); line-height: 1.2; }
.h4 { font-size: var(--fs-h4); font-weight: var(--fw-regular); line-height: 1.3; }
.lead { font-size: var(--fs-lead-fluid); font-weight: var(--fw-light); line-height: var(--lh-normal); }
.text-xl { font-size: var(--fs-xl); }
.text-lg { font-size: var(--fs-lg); }
.text-md { font-size: var(--fs-md); }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.light { font-weight: var(--fw-light); }
.medium { font-weight: var(--fw-medium); }
.bold { font-weight: var(--fw-bold); }
.uppercase { text-transform: uppercase; }
.price { font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: 1; }

/* Libellé de section (« NOS PRODUITS », « AVIS CLIENTS »…) */
.eyebrow {
  display: block;
  font-size: var(--fs-lg);
  font-weight: var(--fw-regular);
  text-transform: uppercase;
  color: var(--c-primary);
}
.eyebrow--sm { font-size: var(--fs-md); }
.eyebrow--white { color: var(--c-white); }
.eyebrow--muted { color: var(--c-text); }

.c-primary { color: var(--c-primary); }
.c-white { color: var(--c-white); }
.c-text { color: var(--c-text); }
.ta-center { text-align: center; }

/* En-tête de section : eyebrow + titre + intro */
.section-head { display: grid; gap: var(--sp-3); max-width: 1060px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .h2 + p, .section-head .h1 + p { font-size: var(--fs-lg); }

/* ---- Mise en page ---------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter-fluid), var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter-fluid), 1736px); }
.container--narrow { width: min(100% - 2 * var(--gutter-fluid), 1200px); }
.section { padding-block: var(--section-gap); }
.section--sm { padding-block: calc(var(--section-gap) * 0.6); }

.bg-sand { background: var(--c-sand); }
.bg-mist { background: var(--c-mist); }
.bg-sky { background: var(--c-primary-100); }
.bg-primary { background: var(--c-primary); color: var(--c-white); }
.bg-gradient { background: var(--g-primary); color: var(--c-white); }
.bg-dark { background: var(--c-text); color: var(--c-white); }

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }
.flex { display: flex; gap: var(--sp-5); align-items: center; }
.flex--wrap { flex-wrap: wrap; }
.stack { display: grid; gap: var(--sp-5); }
.stack--sm { gap: var(--sp-3); }
.stack--lg { gap: var(--sp-6); }

.hr { height: 1px; background: var(--c-text); border: 0; margin: 0; }
.hr--light { background: var(--c-grey); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .eyebrow { font-size: var(--fs-md); }
}
