/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #09090d;
  color: #ededf2;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 80px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.nav-logo {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 3px;
  color: #ededf2;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #595466;
}

.nav-links a:hover {
  color: #807a8c;
  transition: color 0.2s;
}

/* ── Section Label ── */
.section-label {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 4px;
  color: #8c59f2;
  text-transform: lowercase;
}

.section-label--muted {
  color: #595466;
  letter-spacing: 3px;
}

/* ── Divider ── */
.divider {
  border: none;
  height: 1px;
  background-color: #1f1c29;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 80px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 200px;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(115, 71, 204, 0.15) 0%, rgba(115, 71, 204, 0.05) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.hero-title {
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -2px;
  line-height: 1.2;
  color: #ededf2;
}

.hero-subtitle {
  font-weight: 200;
  font-size: 15px;
  letter-spacing: 3px;
  color: #807a8c;
}

.hero-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: #595466;
  max-width: 400px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
  position: relative;
}

.domain-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.domain-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #a6a1b2;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background-color: #7347cc;
  flex-shrink: 0;
}

/* ── About ── */
.about {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 80px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.about-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.about-title {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 40px;
  color: #ededf2;
  max-width: 360px;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

.about-body p {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: #807a8c;
}

/* ── Blog ── */
.blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 72px 80px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.blog-heading {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.blog-title {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -1px;
  color: #ededf2;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 984px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0 20px;
  border-bottom: 1px solid #1f1c29;
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-tag {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1px;
  color: #7347cc;
}

.blog-year {
  font-weight: 400;
  font-size: 12px;
  color: #595466;
}

.blog-card-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.3px;
  color: #ededf2;
}

.blog-card-desc {
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: #807a8c;
}

.blog-card--link {
  display: flex;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.blog-card--link:hover {
  border-bottom-color: #7347cc;
}

/* ── Projets ── */
.projets {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 80px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.projets-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.projets-title {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -1px;
  color: #ededf2;
}

.projets-list {
  display: flex;
  flex-direction: column;
}

.projet-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #1f1c29;
}

.projet-name {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.3px;
  color: #ededf2;
  width: 120px;
  flex-shrink: 0;
}

.projet-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #807a8c;
  max-width: 440px;
}

/* ── Footer ── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 80px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  font-size: 12px;
  color: #595466;
}

.footer-copy {
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  gap: 28px;
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: #807a8c;
  transition: color 0.2s;
}

/* ── Responsive ── */

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
}

/* Tablet */
@media (max-width: 1024px) {
  .nav,
  .hero,
  .about,
  .blog,
  .projets,
  .footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero {
    gap: 40px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .about {
    gap: 48px;
  }

  .about-body {
    max-width: none;
  }

  .about-title {
    max-width: none;
  }

  .hero-desc {
    max-width: none;
  }

  .projet-desc {
    max-width: none;
  }

  .projets {
    gap: 48px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav,
  .hero,
  .about,
  .blog,
  .projets,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Nav */
  .nav {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav-links {
    gap: 20px;
    font-size: 12px;
    letter-spacing: 1px;
  }

  /* Hero */
  .hero {
    flex-direction: column;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-glow {
    left: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .hero-desc {
    font-size: 13px;
    line-height: 22px;
    max-width: none;
  }

  /* About */
  .about {
    flex-direction: column;
    gap: 24px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .about-title {
    font-size: 22px;
    line-height: 30px;
    max-width: none;
  }

  .about-body {
    max-width: none;
  }

  .about-body p {
    font-size: 13px;
    line-height: 22px;
  }

  /* Blog */
  .blog {
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .blog-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .blog-title {
    font-size: 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .blog-card-title {
    font-size: 15px;
  }

  .blog-card-desc {
    font-size: 12px;
    line-height: 18px;
  }

  /* Certifications */
  .projets {
    flex-direction: column;
    gap: 24px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .projets-title {
    font-size: 24px;
  }

  .projet-item {
    flex-direction: column;
    gap: 6px;
  }

  .projet-name {
    width: auto;
    font-size: 15px;
  }

  .projet-desc {
    font-size: 13px;
    line-height: 20px;
    max-width: none;
  }

  /* Footer */
  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .footer-links {
    gap: 20px;
  }
}

/* Small mobile */
@media (max-width: 420px) {
  .nav,
  .hero,
  .about,
  .blog,
  .projets,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-logo {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .nav-links {
    gap: 14px;
    font-size: 11px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 12px;
  }

  .about-title {
    font-size: 20px;
    line-height: 28px;
  }

  .blog-title {
    font-size: 20px;
  }

  .projets-title {
    font-size: 20px;
  }
}
