/* ==============================================
   SIDONIE CRÉA — Base & Reset
   ============================================== */

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

html {
  font-size: 16px;
}

body {
  background-color: var(--color-cream);
  color: var(--color-brown-dark);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typographie ────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-brown);
  line-height: 1.2;
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-md); }
h5, h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-md);
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-brown);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-ochre);
}

strong { font-weight: 700; }
em     { font-style: italic; }

ul, ol { list-style: none; }

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

address { font-style: normal; }

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-xl) 0;
}

/* ── Utilitaires layout ─────────────────────── */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: var(--color-sand);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__title {
  font-size: var(--text-xl);
  color: var(--color-brown);
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-gray-soft);
}

.section__footer {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ── Accessibilité ──────────────────────────── */

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

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