/* === Font face for Inconsolata === */
@font-face {
  font-family: 'Inconsolata';
  src: url('fonts/Inconsolata-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inconsolata';
  src: url('fonts/Inconsolata-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === Global styles === */
body {
  font-family: 'Inconsolata', monospace;
  font-size: 16px;
  line-height: 1.5;
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1rem;
  background: #fefefe;
  color: #111;
}

/* === Header navigation ===
header nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

header nav a {
  color: #111;
  text-decoration: none;
}

header nav a:hover,
header nav a:focus {
  text-decoration: underline;
} */



/* === Section styles === */

h1 {
  margin-bottom: 0.3rem;
}

section {
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  border: none;
  background: none;
}

h1, h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

h2 {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

/* === Paragraphs & lists === */
p {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  text-align: justify;
}

.title-block p {
  margin-top: 0.2rem;
  margin-bottom: 0;
}

ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

/* === Home section: flex layout for name/email and photo === */
.home-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.title-block {
  flex-grow: 1;
}

/* === Portrait image === */
.portrait {
  width: 120px;
  height: auto;
  object-fit: cover;
  /* Pas de border-radius = pas de rondeur */
}

/* === Links === */
a {
  color: #0055aa;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* === Title block styles === */

.title-block p {
  margin: 0.1rem 0;
  line-height: 1.3;
  color: #888;
}

.title-block a {
  color: #0088ff;
  text-decoration: none;
}

/* === Logos styles === */
.logos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.logos a {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Quote styles === */
quote {
  display: block;
  margin: 1.5em 2em;
  padding: 1em 1.5em;
  background: #f5f7fa;
  border-left: 4px solid #0077cc;
  font-style: italic;
  color: #333;
  border-radius: 6px;
  font-size: 1.08em;
}

.footnotes {
  font-size: 0.95em;
  color: #555;
  margin-top: 2em;
  border-top: 1px solid #eee;
  padding-top: 1em;
}
.footnotes li {
  margin-bottom: 0.5em;
}
sup a {
  text-decoration: none;
  font-size: 0.85em;
}