/* ===== Real Estate (version simple) ===== */

:root {
    --jade: #36b39d;
  }
  
  /* EN-TÊTE */
  .project-header {
    text-align: center;
    margin: 110px auto 36px;
  }
  .project-header .caption {
    color: rgba(244,244,244,.7);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 13px;
  }
  .project-header .project-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin: 8px 0;
  }
  .project-intro {
    max-width: 820px;
    margin: 0 auto;
    color: rgba(244,244,244,.78);
    line-height: 1.6;
  }
  
  /* VIDÉO HOVER */
  .realestate-video {
    position: relative;
    width: min(90vw, 1200px);
    margin: 40px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
  }
  .realestate-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: filter .4s;
  }
  .realestate-video:hover video {
    filter: brightness(1.1) contrast(1.05);
  }
  .video-overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .15em;
    pointer-events: none;
  }
  
  /* GALERIE PHOTOS */
  .realestate-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    width: min(90vw, 1200px);
    margin: 50px auto 80px;
  }
  .realestate-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform .4s, filter .4s;
  }
  .realestate-gallery img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
  }
  
  /* CTA CENTRÉ */
  .project-cta {
    display: flex;
    justify-content: center;
    margin: 60px 0 90px;
  }
  .project-cta .button {
    border: 2px solid var(--jade);
    color: var(--jade);
    text-transform: uppercase;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .05em;
    transition: all .3s ease;
  }
  .project-cta .button:hover {
    background: var(--jade);
    color: #000;
    transform: translateY(-2px);
  }
  
  /* ALSO LIKE */
  .also-like {
    margin: 90px 0 120px;
  }
  .also-like .section-caption {
    text-align: center;
    color: rgba(244,244,244,.7);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .18em;
    margin-bottom: 18px;
  }
  .also-like-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 2px solid rgba(255,255,255,.06);
    border-bottom: 2px solid rgba(255,255,255,.06);
  }
  .also-like-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
  }
  .also-like-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.95);
    transition: transform .45s, filter .45s;
  }
  .also-like-card:hover img {
    transform: scale(1.05);
    filter: brightness(1);
  }
  .also-like-card h3 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 2.5vw, 32px);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 3px 16px rgba(0,0,0,.7);
  }
  
  /* OVERLAY VIDEO */
  .video-fullscreen {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9999;
  }
  .video-fullscreen.open {
    opacity: 1;
    pointer-events: auto;
  }
  .video-fullscreen video {
    width: min(92vw, 1300px);
    max-height: 88vh;
    background: #000;
  }
  .video-fullscreen .close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
  }
  
  /* --- Section vidéo avec bouton Play centré --- */
.realestate-video {
    position: relative;
    width: min(90vw, 1200px);
    margin: 40px auto 28px;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 6px 20px rgba(0,0,0,.45);
  }
  .realestate-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  /* Bouton play */
  .play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.85);
    background: rgba(0,0,0,.45);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    transition: transform .2s ease, background .2s ease;
  }
  .play::before {
    content: "";
    width: 0; height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 2px;
  }
  .play:hover { transform: translate(-50%, -50%) scale(1.06); }
  
  /* État quand la vidéo joue (le bouton s'atténue) */
  .play.playing {
    background: rgba(0,0,0,.2);
    opacity: .35;
  }
  
  /* --- Galerie (garde ta version) --- */
  .realestate-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    width: min(90vw, 1200px);
    margin: 10px auto 80px;
  }
  .realestate-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform .4s, filter .4s;
  }
  .realestate-gallery img:hover {
    transform: scale(1.02);
    filter: brightness(1.06);
  }
  
  /* --- Bouton retour centré --- */
  .project-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto 90px;
  }
  .project-cta .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border: 2px solid var(--jade, #36b39d);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    font-size: 15px;
    color: var(--jade, #36b39d);
    background: transparent;
    transition: all 0.3s ease;
  }
  .project-cta .button:hover {
    background: var(--jade, #36b39d);
    color: #000;
    transform: translateY(-2px);
  }
  
  /* --- Also like (liens simples) --- */
  .also-like {
    margin: 90px 0 120px;
  }
  .also-like .section-caption {
    text-align: center;
    color: rgba(244,244,244,.7);
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .also-like-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 2px solid rgba(255,255,255,.06);
    border-bottom: 2px solid rgba(255,255,255,.06);
  }
  .also-like-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
  }
  .also-like-card + .also-like-card {
    border-left: 2px solid rgba(255,255,255,.06);
  }
  .also-like-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(.95);
    transition: transform .45s, filter .45s;
  }
  .also-like-card:hover img {
    transform: scale(1.05);
    filter: brightness(1);
  }
  .also-like-card h3 {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 8px; text-align: center;
    font-weight: 900;
    font-size: clamp(18px, 2.6vw, 34px);
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 3px 16px rgba(0,0,0,.7);
  }
  
  /* Responsive */
  @media (max-width: 980px) {
    .also-like-row { grid-template-columns: 1fr; }
    .also-like-card + .also-like-card { border-left: 0; border-top: 2px solid rgba(255,255,255,.06); }
  }
  /* ----- VIDÉO EN OVERLAY ----- */
.video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
  }
  
  .video-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
  
  .video-overlay video {
    width: min(90vw, 1280px);
    height: auto;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,.8);
    background: #000;
  }
  
  .close-video {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
    cursor: pointer;
    transition: all .3s ease;
  }
  .close-video:hover {
    background: rgba(255,255,255,.15);
  }
  