/* ===== Reset & Variables ===== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
:root {
    --purple: #b228e9;
    --accent-light: #f78cff;
    --pink: hsl(0, 59%, 94%);
    --light-bg: hsl(204, 37%, 92%);
    --light-gray-bg: hsl(0, 0%, 94%);
    --white: hsl(0, 0%, 100%);
    --dark: hsl(0, 0%, 7%);
    --text-gray: hsl(0, 0%, 30%);
  }
  
  /* ===== Base styles ===== */
  body {
    background: white;
    font-family: "Space Grotesk", sans-serif;
    color: var(--dark);
  }
  
  .projet_page {
    display: grid;
    padding: 2rem 0;
  }

  h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: #000;
    transition: color 0.3s ease;
  }
  
  p {
    font-size: 1em;
    line-height: 1.7;
    font-weight: 300;
    color: #000;
  }
  
  .description {
    white-space: normal;
    color: #000;
    margin: 0.8rem 0;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* ===== Layout ===== */
  .wrap {
    display: flex;
    justify-content: space-between; /* corrigé */
    align-items: stretch;
    width: 100%;
    gap: 24px;
    padding: 24px;
    flex-wrap: wrap;
  }
  
  .box {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(178, 40, 233, 0.05) 0%, rgba(247, 140, 255, 0.02) 100%);
    border: 1.5px solid rgba(178, 40, 233, 0.15);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
  }

  .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .box:hover {
    border-color: rgba(178, 40, 233, 0.35);
    background: linear-gradient(135deg, rgba(178, 40, 233, 0.08) 0%, rgba(247, 140, 255, 0.04) 100%);
    box-shadow: 0 20px 60px rgba(178, 40, 233, 0.15);
    transform: translateY(-8px);
  }

  .box:hover::before {
    opacity: 1;
  }

  .box:hover h3 {
    color: var(--purple);
  }
  
  .box-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
  }
  
  .box-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 12px;
    transition: transform 0.4s ease;
  }

  .box:hover .box-image {
    transform: scale(1.05);
  }

  
  .title-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  
  .box-title {
    border-left: 3px solid var(--purple);
    padding-left: 12px;
    margin: 0;
  }
  
  .user-follow-info {
    color: var(--purple);
    margin-top: 0;
    font-weight: 600;
    font-size: 0.9rem;
  }

  .button_box {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 2;
  }
  
  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1;
    margin-top: auto;
    padding: 14px;
    color: #fff;
    background: #b228e9;
    border: 1px solid #b228e9;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
  }
  
  .button:hover {
    background: #a11ecf;
    border-color: #a11ecf;
    box-shadow: 0 10px 25px rgba(178, 40, 233, 0.3);
    transform: translateY(-2px);
  }
  
  .fill-one {
    background: var(--light-bg);
  }
  
  .fill-two {
    background: var(--pink);
  }
  
  /* ===== Responsive Boxes ===== */
  @media (min-width: 320px) {
    .title-flex {
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
    }
  }
  
  @media (min-width: 460px) {
    .title-flex {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
    }
  }
  
  @media (min-width: 640px) {
    .box {
      flex-basis: calc(50% - 12px);
    }
    .title-flex {
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
    }
  }
  
  @media (min-width: 840px) {
    .title-flex {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
    }
  }
  
  @media (min-width: 1024px) {
    .box {
      flex-basis: calc(33.3% - 16px);
    }
    .title-flex {
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
    }
  }
  
  @media (min-width: 1100px) {
    .box {
      flex-basis: calc(25% - 18px);
    }
  }

  .card--features {
    background: linear-gradient(135deg, rgba(178, 40, 233, 0.07) 0%, rgba(247, 140, 255, 0.03) 100%);
    border: 1.5px solid rgba(178, 40, 233, 0.16);
  }

  .feature-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .feature-list li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(178, 40, 233, 0.14);
  }

  .feature-list__icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(178, 40, 233, 0.12);
    font-size: 1rem;
    line-height: 1;
  }

  .contact-showcase__lead {
    margin-bottom: 1rem;
  }

  .contact-showcase-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .contact-showcase__card h3 {
    margin-bottom: 0.35rem;
  }

  .contact-showcase__card p {
    margin-bottom: 0.85rem;
  }

  .contact-showcase-grid .card {
    height: 100%;
  }

  .project-overview-stack {
    grid-template-columns: 1fr;
  }

  @media (min-width: 900px) {
    .contact-showcase-grid {
      grid-template-columns: 1fr 1fr;
      align-items: start;
    }
  }

  .project-overview-stack.contact-showcase-grid {
    grid-template-columns: 1fr;
  }
  