/* ======================================================================
   BASE — couleurs, polices, remise à zéro et éléments communs à toute la page
   ====================================================================== */

:root {
  /* Original preferred 3-color palette (Seal Blue / Navy Blue / Crimson Pink) */
  --sky-light: #E2F2FE;
  --sky-soft: #ECF7FF;
  --sky-mid: #D4ECFB;
  --periwinkle: #5F9AC9;
  --orchid: #9BC7E7;
  --peach: #FC708A;
  --peach-hover: #FA5F7D;
  --navy-dark: #093162;
  --navy-bottom: #082C5C;
  --navy-abyss: #062247;
  --ink-dark: #060D22;
  --ink-body: #18304E;
  --ink-muted: #415F80;
  --font-sans: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
  }
}

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

html {
  scroll-behavior: smooth;
  /* Canvas colour = hero sky at the top of the page, navy once the hero is left
     (overscroll areas follow the page instead of clashing). */
  background-color: #cee8fb;
  /* No page scrollbar: the film sits flush against the window edge.
     Wheel, trackpad, touch and keyboard scrolling are unchanged. */
  scrollbar-width: none;
  color: var(--ink-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html::-webkit-scrollbar { display: none; }

html.is-deep {
  background-color: var(--navy-abyss);
}

body {
  min-height: 100svh;
  background-color: var(--sky-light);
  color: var(--ink-body);
  line-height: 1.55;
  overflow-x: clip;
}

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

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

:focus-visible {
  outline: 2px solid var(--navy-dark);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(24px, 6.5vw, 94px);
}
