/* Neptunocar */

:root {
  --fond: #0b1020;
  --fond-degrade: #131b33;
  --texte: #dfe4f2;
  --texte-doux: #9aa6c4;
  --accent: #7fb2ff;
  --trait: rgba(159, 178, 224, 0.18);
  --colonne: 40rem;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 1.5rem 4rem;
  background-color: var(--fond);
  background-image: radial-gradient(ellipse at 50% -20%, var(--fond-degrade), var(--fond) 70%);
  color: var(--texte);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---- En-tête ---- */

.hero {
  max-width: var(--colonne);
  margin: 0 auto;
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--trait);
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.lede {
  margin: 1.25rem auto 0;
  max-width: 28rem;
  color: var(--texte-doux);
  font-size: 1.125rem;
  font-style: italic;
}

/* ---- Contenu ---- */

main {
  max-width: var(--colonne);
  margin: 0 auto;
}

h2 {
  margin: 3.5rem 0 1.5rem;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--accent);
}

p {
  margin: 0 0 1.5rem;
  text-align: left;
  hyphens: auto;
}

article p:first-of-type {
  font-size: 1.125rem;
  color: #eef1fa;
}

/* ---- Pied de page ---- */

footer {
  max-width: var(--colonne);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--trait);
  color: var(--texte-doux);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8125rem;
  text-align: center;
}

footer p {
  margin: 0;
  text-align: center;
}

/* ---- Petits écrans ---- */

@media (max-width: 30rem) {
  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  body {
    font-size: 1rem;
  }
}
