
:root {
  --fond: #f4f0e8;
  --texte: #28251f;
  --largeur: 1200px;
  --gouttiere: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

/* Structure générale */

header,
main,
footer {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding: 2rem var(--gouttiere);
}

header {
  padding-bottom: 0;
}

/* Typographie */

h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
}

/* Sections */

.intro,
.derniers-numeros,
.archives {
  margin: 4rem 0;
}

/* Grille des bulletins */

.grille-bulletins {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gouttiere);
  margin: 2rem 0;
}

.bulletin {
  grid-column: span 4;
}

.bulletin img {
  display: block;
  width: 100%;
  height: auto;
}

.bulletin h3 {
  margin: 0.75rem 0 0;
  font-size: 1rem;
}

.bulletin p {
  margin: 0.25rem 0;
}

/* Mobile */

@media (max-width: 700px) {
  :root {
    --gouttiere: 16px;
  }

  header,
  main,
  footer {
    padding: 1.5rem var(--gouttiere);
  }

  header {
    padding-bottom: 0;
  }

  .intro {
    margin: 1rem 0 2.5rem;
  }

  .derniers-numeros,
  .archives {
    margin: 2.5rem 0;
  }

  .grille-bulletins {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bulletin {
    grid-column: auto;
  }
}
