
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Arial', sans-serif;
    }

    body {
      background: var(--color-project-bg);
      color: var(--color-white);
      line-height: 1.6;
      padding: 20px;
    }

    section {
      background: rgba(255, 255, 255, 0.05);
      margin: 20px 0;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 1s ease-out forwards;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    h1, h2, h3 {
      color: var(--color-accent);
    }

    abbr[data-title] {
      text-decoration: underline dotted;
      cursor: help;
      color: var(--color-accent-dark);
      border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
    }

    .abbr-tooltip {
      position: absolute;
      z-index: 100;
      max-width: 300px;
      padding: 10px;
      background: rgba(0, 0, 0, 0.9);
      border: 1px solid var(--color-accent);
      border-radius: 5px;
      color: var(--color-white);
      font-size: 0.9em;
      line-height: 1.4;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.2s;
      display: none;
    }

    .image-frame {
      margin-top: 15px;
      border: 2px solid var(--color-accent);
      border-radius: 10px;
      overflow: hidden;
      max-width: 100%;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 15px;
      margin-top: 15px;
    }

    .gallery img {
      width: 100%;
      height: auto;
      border-radius: 10px;
      border: 2px solid var(--color-accent);
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .gallery img:hover {
      transform: scale(1.03);
    }

    .gallery-caption {
      text-align: center;
      font-size: 0.85rem;
      color: var(--color-text-soft);
      margin-top: 4px;
      margin-bottom: 15px;
    }

    #fullscreen-viewer {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0,0,0,0.95);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .project-card {
      background: rgba(255, 255, 255, 0.08);
      border-left: 3px solid var(--color-accent);
      padding: 15px;
      margin-bottom: 20px;
      border-radius: 5px;
    }

    .back-arrow {
      position: fixed;
      bottom: 25px;
      left: 20px;
      width: 52px;
      height: 52px;
      background-color: var(--color-accent);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      box-shadow: 0 0 10px rgba(212, 63, 82, 0.5);
      transition: transform 0.3s ease, background-color 0.3s ease;
      z-index: 999;
    }

    .back-arrow:hover {
      transform: scale(1.15);
      background-color: var(--color-accent-light);
    }

    .back-arrow svg {
      width: 22px;
      height: 22px;
      fill: white;
    }

    .back-arrow::after {
      content: none;
      position: absolute;
      top: -25px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.75rem;
      color: var(--color-white);
      background-color: var(--color-accent);
      padding: 3px 8px;
      border-radius: 5px;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }

    .back-arrow:hover::after {
      opacity: 1;
    }

    .footer {
      text-align: center;
      font-size: 0.9em;
      color: #888;
      margin-top: 40px;
      padding: 20px 0;
    }

    @media (max-width: 600px) {
      section {
        padding: 15px;
      }
    }

    li {
      margin-left: 30px;
    }
  ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
  }

  .custom-checklist {
    list-style: none;
    padding-left: 0;
  }

  .custom-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
  }

  .custom-checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
  }

body {
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
  padding: 34px 0 42px;
  font-family: Arial, sans-serif;
}

section {
  margin: 0;
  padding: 34px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#intro {
  padding: 42px 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4vw, 3rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 2.5vw, 2.1rem);
  line-height: 1.15;
}

h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p,
li {
  font-size: 1.02rem;
  line-height: 1.75;
}

.gallery {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}

.gallery-caption {
  min-height: 2.4em;
}

@media (max-width: 700px) {
  body {
    width: min(100% - 22px, 560px);
    padding-top: 18px;
  }

  section,
  #intro {
    margin: 0;
    padding: 26px 0;
    border-radius: 0;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(1.55rem, 6vw, 2.1rem);
  }

  h3 {
    font-size: 1.35rem;
  }

  p,
  li {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  li {
    margin-left: 0;
  }

  .custom-checklist li {
    padding-left: 24px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .back-arrow {
    width: 46px;
    height: 46px;
  }
}

/* Copyright RZU Informatique */
