/* base.css — Reset et styles de base Outillée */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-corps);
  font-size: var(--size-base);
  line-height: 1.7;
  color: var(--color-texte);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titre);
  line-height: 1.2;
  color: var(--color-fonce);
}

h1 { font-size: var(--size-4xl); }
h2 { font-size: var(--size-3xl); }
h3 { font-size: var(--size-2xl); }
h4 { font-size: var(--size-xl); }

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

a {
  color: var(--color-corail);
  text-decoration: underline;
}
a:hover { opacity: 0.8; }

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

ul, ol { padding-left: var(--space-lg); }

/* Conteneur principal */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
  h1 { font-size: var(--size-2xl); }
  h2 { font-size: var(--size-xl); }
  .container { padding: 0 var(--space-md); }
}

