* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
body {
  font-family: Georgia, serif;
  background: #f9f9f7;
  color: #222;
  line-height: 1.6;
}
 
a {
  color: #2a6dd9;
  text-decoration: none;
}
 
a:hover {
  text-decoration: underline;
}
 
/* ── Header ── */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
}
 
header h1 {
  font-size: 1.2rem;
  font-weight: normal;
  letter-spacing: 0.05em;
}
 
nav {
  display: flex;
  gap: 1.5rem;
}
 
nav a {
  font-size: 0.9rem;
  color: #555;
}
 
nav a:hover {
  color: #222;
  text-decoration: none;
}
 
/* ── Main ── */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
 
section {
  margin-bottom: 4rem;
}
 
section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #222;
}
 
/* ── Hero ── */
.hero {
  padding: 3rem 0;
  border-bottom: none;
}
 
.hero h2 {
  font-size: 2.2rem;
  border: none;
  margin-bottom: 1rem;
}
 
.hero h2 span {
  color: #2a6dd9;
}
 
.hero p {
  font-size: 1.05rem;
  color: #555;
  max-width: 500px;
}
 
/* ── Grille de projets ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}
 
/* ── Carte projet ── */
.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: box-shadow 0.2s;
}
 
.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
 
.card h3 {
  font-size: 1.1rem;
}
 
.card p {
  font-size: 0.88rem;
  color: #666;
  flex: 1;
}
 
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
 
.tags span {
  font-size: 0.72rem;
  background: #f0f0f0;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  color: #444;
}
 
.card a {
  font-size: 0.85rem;
  margin-top: 0.3rem;
}
 
/* ── Contact ── */
#contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
 
#contact p {
  color: #555;
  margin-bottom: 0.8rem;
}
 
/* ── Footer ── */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: #aaa;
  border-top: 1px solid #e0e0e0;
}
