
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Poppins", Arial, sans-serif;
      background: #0f172a;
      color: #e5e7eb;
      line-height: 1.6;
    }

    p {
      font-size: 1.05rem;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .container {
      width: 90%;
      max-width: 1100px;
      margin: 0 auto;
    }

    /* --------- HEADER / NAV --------- */
    header {
      border-bottom: 1px solid #1f2937;
      background: rgba(15, 23, 42, 0.9);
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(10px);
    }

    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 0;
    }

    .nav-logo {
      font-weight: 700;
      font-size: 1.2rem;
    }

    .nav-links {
      display: flex;
      gap: 1.5rem;
      font-size: 0.95rem;
    }

    .nav-links a {
      position: relative;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -3px;
      width: 0;
      height: 2px;
      background: #38bdf8;
      transition: width 0.2s ease;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    /* --------- SECTION HERO --------- */
    .hero {
      padding: 4rem 0 3rem;
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
      gap: 3rem;
      align-items: center;
    }

    .hero-title {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .hero-highlight {
      color: #38bdf8;
    }

    .hero-subtitle {
      color: #9ca3af;
      margin-bottom: 1.5rem;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.7rem 1.3rem;
      border-radius: 999px;
      font-size: 0.95rem;
      border: 1px solid transparent;
      cursor: pointer;
      transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, #38bdf8, #0ea5e9);
      color: #0b1120;
      font-weight: 600;
      box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 16px 35px rgba(56, 189, 248, 0.45);
    }

    .btn-secondary {
      border-color: #38bdf8;
      color: #e5e7eb;
      background: transparent;
    }

    .btn-secondary:hover {
      background: rgba(15, 23, 42, 0.8);
      transform: translateY(-1px);
    }

    .hero-photo-wrapper {
      justify-self: center;
    }

    .hero-photo {
      width: 220px;
      height: 220px;
      border-radius: 999px;
      border: 3px solid #38bdf8;
      overflow: hidden;
      position: relative;
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
    }

    .hero-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-badge {
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: rgba(15, 23, 42, 0.9);
      border-radius: 999px;
      padding: 0.2rem 0.7rem;
      font-size: 0.75rem;
      border: 1px solid #38bdf8;
    }

    /* --------- SECTION A PROPOS --------- */
    section {
      padding: 2rem 0;
    }

    h2 {
      font-size: 1.6rem;
      margin-bottom: 1rem;
    }

    .section-subtitle {
      color: #9ca3af;
      margin-bottom: 1.5rem;
      font-size: 1.1rem;
    }

    .about-grid {
      display: grid;
      gap: 1.5rem;
    }

    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }

    .tag {
      font-size: 0.75rem;
      padding: 0.25rem 0.6rem;
      border-radius: 999px;
      background: #111827;
      border: 1px solid #1f2937;
      color: #9ca3af;
    }

    /* --------- SECTION PROJETS --------- */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
    }

    .project-card {
      background: #020617;
      border-radius: 1rem;
      padding: 1.2rem;
      border: 1px solid #1f2937;
      box-shadow: 0 15px 30px rgba(15, 23, 42, 0.8);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.8rem;
      transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    }

    .project-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
      border-color: #38bdf8;
    }

    .project-title {
      font-weight: 600;
      margin-bottom: 0.3rem;
    }

    .project-tech {
      font-size: 0.8rem;
      color: #9ca3af;
    }

    .project-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }

    .project-links a {
      font-size: 0.8rem;
      padding: 0.3rem 0.7rem;
      border-radius: 999px;
      border: 1px solid #374151;
    }

    .project-links a:hover {
      border-color: #38bdf8;
      background: #020617;
    }

    /* --------- SECTION CONTACT --------- */
    .contact-box {
      background: #020617;
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid #1f2937;
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .contact-line {
      font-size: 0.95rem;
    }

    .contact-line span {
      color: #9ca3af;
    }

    /* --------- FOOTER --------- */
    footer {
      border-top: 1px solid #1f2937;
      padding: 1rem 0 1.5rem;
      text-align: center;
      font-size: 0.8rem;
      color: #6b7280;
      margin-top: 1rem;
    }

    /* --------- RESPONSIVE --------- */
    @media (max-width: 768px) {
      .hero {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .hero-photo-wrapper {
        order: -1;
      }

      .hero-buttons {
        justify-content: center;
      }

      .nav-links {
        display: none; /* tu peux ajouter un menu burger plus tard si tu veux */
      }

      .about-grid {
        gap: 1rem;
      }
    }