:root {
  --bg: #f3f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --accent: #2563eb;
  --accent-dark: #1e40af;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* SUPPRESSION TOTALE DES SOULIGNEMENTS */
a,
a:hover,
a:visited,
a:active,
a:focus {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.logo a {
  font-weight: 700;
  font-size: 18px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

nav a {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--muted);
  transition: 0.2s ease;
}

nav a:hover {
  background: #eef2ff;
  color: var(--accent-dark);
}

nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

/* MAIN */
main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  gap: 40px;
}

section {
  background: var(--card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

h1, h2, h3 {
  margin-top: 0;
}

/* HERO */
.hero {
  text-align: center;
}

.hero-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* BOUTONS */
.btn {
  padding: 10px 18px;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

/* CARTES PROJETS */
.project-card {
  display: block;
  margin-top: 15px;
}

.project-card article {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: 0.2s ease;
}

.project-card:hover article {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: var(--accent);
}

/* LIEN ACTION */
.link-action {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 600;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  margin-top: 40px;
}
