
/*realisations*/
 /* =========================================================
       REALISATIONS
       ========================================================= */

    .sycow-projects-section{
      padding: 34px 18px 80px;
    }

    .sycow-projects-wrap{
      width: min(100%, 1320px);
      margin-inline: auto;
    }

    .sycow-projects-grid{
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }

    .sycow-project-card{
      display: flex;
      flex-direction: column;
      height: 100%;
      overflow: hidden;
      border-radius: 24px;
      border: 1px solid var(--border);
      background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 100%);
      box-shadow: 0 16px 34px rgba(15,23,42,.06);
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

    .sycow-project-card:hover{
      transform: translateY(-4px);
      box-shadow: 0 22px 40px rgba(15,23,42,.09);
      border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
    }

    html[data-theme="dark"] .sycow-project-card{
      background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 34%),
        linear-gradient(
          180deg,
          color-mix(in srgb, var(--surface) 82%, transparent),
          color-mix(in srgb, var(--surface) 70%, transparent)
        );
      box-shadow: 0 16px 34px rgba(0,0,0,.28);
    }

    .sycow-project-card__media{
      aspect-ratio: 16 / 10;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(245,247,250,.98) 100%);
      border-bottom: 1px solid var(--border);
    }

    html[data-theme="dark"] .sycow-project-card__media{
      background:
        linear-gradient(
          180deg,
          color-mix(in srgb, var(--surface) 86%, #ffffff 4%) 0%,
          color-mix(in srgb, var(--surface) 96%, #000000 4%) 100%
        );
    }

    .sycow-project-card__media img{
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
      border-radius: 14px;
    }

    .sycow-project-card__body{
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex: 1;
    }

    .sycow-project-card__activity{
      margin: 0;
      color: var(--accent);
      font-size: .78rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .1em;
    }

    .sycow-project-card__category{
      margin: -4px 0 0;
      color: var(--muted);
      font-size: .92rem;
      font-weight: 700;
    }

    .sycow-project-card__title{
      margin: 0;
      color: var(--text);
      font-size: 1.3rem;
      line-height: 1.15;
      font-weight: 900;
    }

    .sycow-project-card__rating-wrap{
      min-height: 24px;
      display: flex;
      align-items: center;
    }

    .sycow-project-card__rating{
      display: inline-flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .sycow-project-card__stars{
      color: #fbbc05;
      letter-spacing: .08em;
      font-size: 1rem;
    }

    .sycow-project-card__note{
      color: var(--text);
      font-weight: 800;
      font-size: .92rem;
    }

    .sycow-project-card__no-rating{
      margin: 0;
      font-size: .92rem;
      color: var(--muted);
      font-style: italic;
    }

    .sycow-project-card__btn{
      margin-top: auto;
      min-height: 48px;
      border: 0;
      border-radius: 999px;
      padding: 0 18px;
      background: var(--accent);
      color: #fff;
      font-size: .84rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
      cursor: pointer;
      transition: transform .14s ease, background .14s ease, box-shadow .14s ease;
      box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 28%, transparent);
    }

    .sycow-project-card__btn:hover{
      transform: translateY(-2px);
      background: var(--accent-dark);
    }

    .sycow-projects-empty{
      margin-top: 20px;
      padding: 30px 22px;
      text-align: center;
      border: 1px dashed var(--border);
      border-radius: 24px;
      color: var(--muted);
      background: color-mix(in srgb, var(--surface) 90%, transparent);
    }

    /* =========================================================
       FILTRES
       ========================================================= */

    .sycow-project-filters{
      position: relative;
      overflow: hidden;
      margin: 28px 0 0;
      padding: 24px;
      border: 1px solid var(--border);
      border-radius: 28px;
      background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 38%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 34%),
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, white 6%) 0%, color-mix(in srgb, var(--surface) 88%, transparent) 100%);
      box-shadow: 0 18px 40px rgba(15,23,42,.06);
      text-align: left;
    }

    html[data-theme="dark"] .sycow-project-filters{
      background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 38%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 34%),
        linear-gradient(
          180deg,
          color-mix(in srgb, var(--surface) 80%, transparent) 0%,
          color-mix(in srgb, var(--surface) 68%, transparent) 100%
        );
      box-shadow: 0 18px 40px rgba(0,0,0,.24);
    }

    .sycow-project-filters__head{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }

    .sycow-project-filters__kicker{
      margin: 0 0 8px;
      color: var(--accent);
      text-transform: uppercase;
      font-size: .78rem;
      font-weight: 900;
      letter-spacing: .14em;
    }

    .sycow-project-filters__title{
      margin: 0;
      color: var(--text);
      font-size: clamp(1.2rem, 2vw, 1.75rem);
      font-weight: 950;
      line-height: 1.1;
    }

    .sycow-project-filters__toggle{
      display: none;
      min-height: 46px;
      padding: 0 16px;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: color-mix(in srgb, var(--surface) 92%, var(--text) 8%);
      color: var(--text);
      font-weight: 800;
      cursor: pointer;
    }

    .sycow-project-filters__panel{
      display: block;
    }

    .sycow-project-filters__grid{
      display: grid;
      grid-template-columns: 2fr 1fr 1fr auto;
      gap: 14px;
      align-items: end;
    }

    .sycow-project-filters__field{
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .sycow-project-filters__field label{
      color: var(--text);
      font-size: .9rem;
      font-weight: 800;
    }

    .sycow-project-filters__control{
      width: 100%;
      min-height: 52px;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 0 16px;
      background: color-mix(in srgb, var(--surface) 92%, white 8%);
      color: var(--text);
      outline: none;
      transition: border-color .14s ease, box-shadow .14s ease;
    }

    .sycow-project-filters__control:focus{
      border-color: var(--accent);
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
    }

    .sycow-project-filters__field--actions{
      min-width: 210px;
    }

    .sycow-project-filters__actions{
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .sycow-project-filters__submit,
    .sycow-project-filters__reset{
      min-height: 52px;
      border: 0;
      border-radius: 999px;
      padding: 0 18px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: .82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
      cursor: pointer;
      transition: transform .14s ease, background .14s ease, color .14s ease;
      white-space: nowrap;
    }

    .sycow-project-filters__submit{
      background: var(--accent);
      color: #fff;
    }

    .sycow-project-filters__submit:hover{
      background: var(--accent-dark);
    }

    .sycow-project-filters__reset{
      background: color-mix(in srgb, var(--surface) 92%, var(--text) 8%);
      color: var(--text);
      border: 1px solid var(--border);
    }

    .sycow-project-filters__reset:hover{
      transform: translateY(-1px);
    }

    .sycow-project-filters__results{
      margin-top: 14px;
      color: var(--muted);
      font-size: .95rem;
    }

    /* =========================================================
       PAGINATION
       ========================================================= */

    .sycow-pagination{
      margin-top: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .sycow-pagination__numbers{
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .sycow-pagination__btn,
    .sycow-pagination__number{
      min-width: 46px;
      min-height: 46px;
      padding: 0 16px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: color-mix(in srgb, var(--surface) 92%, var(--text) 8%);
      color: var(--text);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-weight: 800;
      transition: all .14s ease;
    }

    .sycow-pagination__btn:hover,
    .sycow-pagination__number:hover{
      background: var(--accent);
      color: #fff;
      border-color: var(--accent);
      transform: translateY(-1px);
    }

    .sycow-pagination__number.is-active{
      background: var(--accent);
      color: #fff;
      border-color: var(--accent);
      box-shadow: 0 14px 24px color-mix(in srgb, var(--accent) 22%, transparent);
    }

    .sycow-pagination__dots{
      color: var(--muted);
      font-weight: 800;
      padding: 0 6px;
    }

    /* =========================================================
       PROJECT DRAWER
       ========================================================= */

    .project-drawer{
      position: fixed;
      inset: 0;
      z-index: 10020;
      pointer-events: none;
    }

    .project-drawer[data-open="1"]{
      pointer-events: auto;
    }

    .project-drawer__overlay{
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,.52);
      opacity: 0;
      transition: opacity .2s ease;
      backdrop-filter: blur(3px);
    }

    .project-drawer__panel{
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: min(560px, calc(100vw - 18px));
      background: var(--bg);
      border-left: 1px solid var(--border);
      box-shadow: 0 28px 70px rgba(0,0,0,.24);
      transform: translateX(20px);
      opacity: 0;
      transition: transform .24s ease, opacity .24s ease;
      padding: 18px;
      overflow-y: auto;
    }

    .project-drawer[data-open="1"] .project-drawer__overlay{
      opacity: 1;
    }

    .project-drawer[data-open="1"] .project-drawer__panel{
      opacity: 1;
      transform: translateX(0);
    }

    .project-drawer__top{
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 18px;
    }

    .project-drawer__kicker{
      color: var(--muted);
      font-size: .78rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .12em;
    }

    .project-drawer__title{
      margin: 6px 0 0;
      font-size: 1.05rem;
      font-weight: 900;
      color: var(--text);
    }

    .project-drawer__close{
      width: 46px;
      height: 46px;
      border: 0;
      border-radius: 999px;
      background: var(--accent);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background .14s ease, transform .14s ease;
    }

    .project-drawer__close:hover{
      background: var(--accent-dark);
      transform: rotate(90deg);
    }

    .project-drawer__content{
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .project-drawer__image{
      overflow: hidden;
      border-radius: 22px;
      border: 1px solid var(--border);
      padding: 18px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(245,247,250,.98) 100%);
    }

    html[data-theme="dark"] .project-drawer__image{
      background:
        linear-gradient(
          180deg,
          color-mix(in srgb, var(--surface) 86%, #ffffff 4%) 0%,
          color-mix(in srgb, var(--surface) 96%, #000000 4%) 100%
        );
    }

    .project-drawer__image img{
      width: 100%;
      height: auto;
      max-height: 360px;
      display: block;
      object-fit: contain;
      object-position: center top;
      border-radius: 14px;
      margin: 0 auto;
    }

    .project-drawer__activity{
      margin: 0 0 6px;
      color: var(--accent);
      font-size: .78rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .1em;
    }

    .project-drawer__category{
      margin: 0 0 8px;
      color: var(--muted);
      font-size: .92rem;
      font-weight: 700;
    }

    .project-drawer__client{
      margin: 0 0 12px;
      font-size: 1.55rem;
      line-height: 1.1;
      font-weight: 950;
      color: var(--text);
    }

    .project-drawer__rating{
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
    }

    .project-drawer__stars{
      color: #fbbc05;
      letter-spacing: .08em;
    }

    .project-drawer__note{
      font-weight: 800;
      color: var(--text);
    }

    .project-drawer__score{
      margin-bottom: 16px;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid var(--border);
      background: color-mix(in srgb, var(--surface) 92%, var(--text) 8%);
      color: var(--text);
      font-weight: 700;
    }

    .project-drawer__review,
    .project-drawer__details{
      margin-bottom: 18px;
    }

    .project-drawer__review h4,
    .project-drawer__details h4{
      margin: 0 0 10px;
      font-size: .95rem;
      font-weight: 900;
      color: var(--text);
    }

    .project-drawer__review p{
      margin: 0;
      color: var(--muted);
      line-height: 1.7;
    }

    .project-drawer__details ul{
      margin: 0;
      padding-left: 18px;
      color: var(--muted);
    }

    .project-drawer__details li{
      margin: 0 0 8px;
      line-height: 1.6;
    }

    .project-drawer__actions{
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .project-drawer__btn{
      min-height: 48px;
      padding: 0 18px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: .82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
      text-decoration: none;
    }

    .project-drawer__btn--primary{
      background: var(--accent);
      color: #fff;
    }

    .project-drawer__btn--primary:hover{
      background: var(--accent-dark);
      color: #fff;
    }

    .project-drawer__btn--ghost{
      border: 1px solid var(--border);
      background: color-mix(in srgb, var(--surface) 92%, var(--text) 8%);
      color: var(--text);
    }

    /* =========================================================
       RESPONSIVE
       ========================================================= */

    @media (max-width: 1024px){
      .sycow-projects-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 900px){
      .sycow-project-filters__grid{
        grid-template-columns: 1fr 1fr;
      }

      .sycow-project-filters__field--actions{
        min-width: 0;
      }

      .sycow-project-filters__actions{
        flex-direction: column;
        align-items: stretch;
      }
    }

    @media (max-width: 640px){
      .sycow-projects-section{
        padding: 26px 14px 60px;
      }

      .sycow-projects-grid{
        grid-template-columns: 1fr;
      }

      .sycow-project-filters{
        padding: 18px;
        border-radius: 22px;
      }

      .sycow-project-filters__toggle{
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      .sycow-project-filters__panel{
        display: none;
        width: 100%;
        margin-top: 14px;
      }

      .sycow-project-filters.is-open .sycow-project-filters__panel{
        display: block !important;
      }

      .sycow-project-filters__grid{
        grid-template-columns: 1fr;
      }

      .sycow-project-filters__submit,
      .sycow-project-filters__reset{
        width: 100%;
      }

      .project-drawer__panel{
        width: 100vw;
      }

      .project-drawer__actions{
        flex-direction: column;
      }

      .project-drawer__btn{
        width: 100%;
      }

      .project-drawer__image img{
        max-height: 260px;
      }
    }