:root{
    --gold: rgba(180,120,40,.9);
    --card-bg: rgba(255,255,255,.06);
    --border: rgba(255,255,255,.14);
  }
  
  /* ================= HERO ================= */
  .real-hero{
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-image:
      linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
      url("../img/realisations/real_1.jpeg");
    background-size: cover;
    background-position: center;
  }
  
  /* ================= FILTERS ================= */
  .realisations-filters{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0 35px;
  }
  
  .filter-btn{
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .25s ease;
    backdrop-filter: blur(6px);
  }
  
  .filter-btn:hover{
    background: rgba(180,120,40,.15);
    border-color: rgba(180,120,40,.6);
  }
  
  .filter-btn.active{
    background: linear-gradient(
      to right,
      rgba(200,140,60,.9),
      rgba(160,100,30,.9)
    );
    color: #111;
    border-color: rgba(200,140,60,.9);
    box-shadow: 0 6px 20px rgba(180,120,40,.35);
  }
  
  /* ================= GRID ================= */
  .realisations-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 30px;
  }
  
  /* ================= CARD ================= */
  .real-card{
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: transform .35s ease, opacity .3s ease;
  }
  
  .real-card.hidden{
    opacity: 0;
    pointer-events: none;
    display: none; /* ✅ IMPORTANT pour la grille */
  }
  
  /* ================= IMAGE ================= */
  .real-img{
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }
  
  .real-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
  }
  
  .real-card:hover img{
    transform: scale(1.08);
  }
  
  /* ================= OVERLAY ================= */
  .real-overlay{
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    padding: 18px;
    background: linear-gradient(
      to top,
      rgba(0,0,0,.8),
      rgba(0,0,0,.35),
      transparent
    );
  }
  
  /* TAG */
  .real-tag{
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(180,120,40,.9);
    color: #111;
  }
  
  /* TITLES */
  .real-overlay h3{
    font-size: 18px;
    font-weight: 700;
    margin: 0;
  }
  
  .real-overlay p{
    font-size: 14px;
    opacity: .85;
  }
  
  /* ================= CTA ================= */
  .final-cta{
    margin-top: 50px;
    padding: 35px;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(
      to bottom right,
      rgba(180,120,40,.18),
      rgba(255,255,255,.03)
    );
    border: 1px solid var(--border);
  }
  
  /* ================= RESPONSIVE ================= */
  @media(max-width:768px){
    .real-hero{
      min-height:70vh;
    }
  }
  