/* ============================================================
   OVERSE — Reset, polices, conteneur
   ============================================================ */

/* ---------- Polices locales ---------- */
@font-face {
  font-family: 'Uncut Sans';
  src: url('../assets/fonts/UncutSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Uncut Sans';
  src: url('../assets/fonts/UncutSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Uncut Sans';
  src: url('../assets/fonts/UncutSans-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

button, input {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
}
button { padding: 0; cursor: pointer; }
input { outline: none; }

/* ---------- Conteneur ---------- */
.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
}

/* Section : pleine largeur, contenu paddé, conteneur centré à 1320 */
.section {
  padding-inline: var(--pad-x);
}

/* Grand panneau crème à coins 40 (hero, Feature 02, Feature 04, témoignages) */
.panel {
  width: min(var(--container), 100%);
  margin-inline: auto;
  background: var(--c-cream);
  border-radius: var(--r-panel);
  overflow: hidden;
}

/* ---------- Typographie de base ---------- */
.h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  color: var(--c-ink);
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: var(--c-ink);
}

.h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
  color: var(--c-ink);
}

.h4 {
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: var(--lh-h4);
  letter-spacing: var(--ls-h4);
  color: var(--c-ink);
}

.lead {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--c-text);
}

/* Eyebrow corail (Inter Bold) — bloc méthode */
.eyebrow {
  font-family: var(--f-inter);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  line-height: var(--lh-eyebrow);
  letter-spacing: normal;
  color: var(--c-coral);
}

/* Sous-titre gras centré (Inter Bold 18) — grille, bento */
.subhead {
  font-family: var(--f-inter);
  font-size: var(--fs-sub);
  font-weight: 700;
  line-height: var(--lh-sub);
  letter-spacing: normal;
  color: var(--c-title-alt);
  text-align: center;
}

/* ---------- Accessibilité ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* ---------- Breakpoints ---------- */
/* Tablette 768–991 */
@media (max-width: 991px) {
  :root {
    --fs-h1: 48px;     --lh-h1: 57.6px;  --ls-h1: -1px;
    --fs-h2: 40px;     --lh-h2: 52px;
    --fs-h1-cta: 48px; --lh-h1-cta: 57.6px;
  }
}

/* Mobile ≤ 767 */
@media (max-width: 767px) {
  :root {
    --fs-h1: 36px;     --lh-h1: 43.2px;  --ls-h1: -1px;
    --fs-h2: 36px;     --lh-h2: 46.8px;  --ls-h2: -1px;
    --fs-h1-cta: 36px; --lh-h1-cta: 43.2px;
    --fs-h3: 28px;     --lh-h3: 38px;
    --pad-x: var(--pad-x-mobile);
  }
}
