/* Reset léger */


:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  /* 050509 */
  background: #000000;
  color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

/* Grain / bruit léger en fond (optionnel) */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: -1;
}

/* Layout principal */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  font-size: 14px;
  color: #b3b3c2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #ffffff;
}

/* Hero */
.hero {
  margin-bottom: 72px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b8ba0;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.subtitle {
  max-width: 540px;
  color: #b8b8c8;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.1s ease;
}

.btn.primary {
  background: #f5f5f5;
  color: #050509;
}

.btn.primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: #f5f5f5;
  border-color: #3a3a4a;
}

.btn.ghost:hover {
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* Sections */
.section {
  margin-bottom: 56px;
}

.section h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.section p {
  color: #b8b8c8;
  font-size: 15px;
  line-height: 1.6;
}

/* Projets */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.project-card {
  border-radius: 16px;
  border: 1px solid #262636;
  padding: 16px 16px 14px;
  background: radial-gradient(circle at top left, #141424, #050509);
  transition: transform 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.project-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.project-card p {
  font-size: 14px;
  color: #b8b8c8;
  margin-bottom: 10px;
}

.project-card .tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a3a3c0;
  border-radius: 999px;
  border: 1px solid #34344a;
  padding: 3px 8px;
  margin-right: 6px;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: #ffffff33;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

/* Liens contact */
.links {
  list-style: none;
  margin-top: 10px;
}

.links li + li {
  margin-top: 4px;
}

.links a {
  color: #d0d0ff;
  text-decoration: none;
  font-size: 14px;
}

.links a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid #1b1b26;
  font-size: 12px;
  color: #7f7f96;
}

/* Responsive */
@media (max-width: 640px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav {
    gap: 14px;
  }

  .hero {
    margin-bottom: 56px;
  }
}
