* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fdfdfd;
  color: #1a1e24;
  line-height: 1.5;
  scroll-behavior: smooth;
}

/* Header */
header {
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff, #b0b3c0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

/* Boutons */
.btn, .btn-outline {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
  font-size: 0.9rem;
}

.btn {
  background: #1e293b;
  color: white;
  border: 1px solid #334155;
}

.btn:hover {
  background: #0f172a;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid #1e293b;
  color: #1e293b;
  background: transparent;
}

.btn-outline:hover {
  background: #1e293b;
  color: white;
}

/* Hero */
.hero-container {
  padding: 3rem 0 1rem 0;
}

.intro-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  justify-content: space-between;
}

.profile-photo img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
  border: 3px solid white;
}

.intro-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.intro-text p {
  font-size: 1.05rem;
  color: #2d3a4b;
  margin-bottom: 1.8rem;
}

/* Sections */
section {
  padding: 2rem 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
}

/* Cartes */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

.card {
  background: white;
  padding: 1.8rem;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #eef2f6;
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #cdd9ed;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* Badge projet */
.project-badge {
  background: #eef2ff;
  padding: 0.25rem 0.75rem;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: #1e40af;
}

.project-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.project-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  color: #1e293b;
}

.project-links a:hover {
  text-decoration: underline;
}

/* CTA section */
.cta-section {
  background: #f8fafc;
  border-radius: 32px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-section h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.cta-section p {
  margin-bottom: 1.2rem;
}

/* Disclaimer */
.disclaimer {
  background: #fef9e6;
  border-left: 4px solid #e6b12e;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  margin: 2rem 0;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: #0a0a0f;
  color: #9ca3af;
  text-align: center;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

.version {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  .intro-block {
    flex-direction: column;
    text-align: center;
  }
  .nav-links {
    gap: 1rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Pages supplémentaires */
.page-header {
  text-align: center;
  margin: 2rem 0;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-block {
  text-align: center;
  margin: 2rem 0;
}

.contact-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

.contact-links a {
  font-size: 1.8rem;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  transition: 0.2s;
  text-decoration: none;
}

/* Couleurs officielles par réseau */
.contact-links a.facebook {
  background: #1877f2;
  color: white;
}
.contact-links a.instagram {
  background: #e4405f;
  color: white;
}
.contact-links a.x {
  background: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-links a.x .x-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.contact-links a.linkedin {
  background: #0a66c2;
  color: white;
}
.contact-links a.github {
  background: #181717;
  color: white;
}
.contact-links a.whatsappbusiness {
  background: #25d366;
  color: white;
}
.contact-links a.email {
  background: #ea4335;
  color: white;
}

.contact-links a:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}
.styled-list {
  list-style: none;
  padding-left: 0;
}

.styled-list li {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.styled-list li i {
  width: 1.4rem;
  color: #1e293b;
}

.info-block {
  background: #f1f5f9;
  padding: 1.2rem 1.8rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.info-block i {
  font-size: 1.6rem;
  color: #1e293b;
}

/* Page projets spécifique */
.project-main-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid #eef2f6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.project-main-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.project-main-icon {
  font-size: 3rem;
  background: #f1f5f9;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  color: #1e293b;
}

.version-badge {
  background: #eef2ff;
  color: #1e40af;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 40px;
  margin-left: 0.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.5rem 0;
}

.tag {
  background: #f1f5f9;
  padding: 0.25rem 0.8rem;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.project-description {
  font-size: 1.05rem;
  margin: 1.5rem 0;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.8rem;
  margin: 1rem 0 1.5rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.feature-item i {
  width: 1.5rem;
  color: #1e293b;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.project-note {
  background: #fef9e6;
  padding: 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.text-muted {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Logo projet */
.project-logo-container {
  flex-shrink: 0;
}

.project-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}