/* ====== PROJECT (ADS) — StudioHolostar ====== */
/* Si ton style global est dans assets/style.css, on peut l'importer ici au besoin */
/* @import url('../assets/style.css'); */

/* ---- Header / Titre & chapô ---- */
.project-header,
.section-title {
  text-align: center;
  margin: 110px auto 36px;
  max-width: 840px;
  padding: 0 16px;
}
.project-title,
.section-title .huge {
  font-weight: 800;
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.project-intro {
  color: rgba(244,244,244,.75);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.7;
  margin-top: 10px;
}

/* ---- HERO 21:9 (image OU vidéo) ---- */
/* Utilise .ad-hero si tu veux le bouton Play ; sinon .project-hero image reste compatible */
.ad-hero,
.project-hero {
  width: min(92vw, 1400px);
  margin: 24px auto 60px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  aspect-ratio: 21/9;
  position: relative;
  display: block;
}
.ad-hero > video,
.ad-hero > img,
.project-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) brightness(.95);
  transition: transform .5s ease, filter .5s ease;
}
.ad-hero:hover > video,
.ad-hero:hover > img,
.project-hero:hover {
  transform: scale(1.015);
  filter: contrast(1.07) brightness(1);
}

/* Bouton Play circulaire (optionnel) */
.ad-hero .play {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translate(-50%, 0);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  border: 2px solid rgba(255,255,255,.55);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
}
.ad-hero .play::after {
  content: "";
  display: block;
  width: 0; height: 0;
  border-left: 24px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

/* ---- GALERIE 3 colonnes avec séparateurs (style “spec ad”) ---- */
.ad-grid {
  width: 100%;
  margin: 40px 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;                 /* séparateurs via bordures, donc pas de gap */
  border-top: 2px solid rgba(255,255,255,.06);
  border-bottom: 2px solid rgba(255,255,255,.06);
}
.ad-grid .cell {
  position: relative;
  aspect-ratio: 1/1;      /* carrés comme sur les captures ; ajuste si besoin */
  overflow: hidden;
}
.ad-grid .cell + .cell {   /* séparateurs verticaux */
  border-left: 2px solid rgba(255,255,255,.06);
}
.ad-grid .cell img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}
.ad-grid .cell:hover img {
  transform: scale(1.04);
  filter: contrast(1.1);
}

@media (max-width: 980px) {
  .ad-grid { grid-template-columns: 1fr; }
  .ad-grid .cell + .cell { border-left: 0; border-top: 2px solid rgba(255,255,255,.06); }
}

/* ---- “You may also like” (3 cartes bordées) ---- */
.also-like {
  width: 100%;
  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; aspect-ratio: 4/3; overflow: hidden; }
.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);
}
@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);} }

/* ---- CTA bas de page ---- */
.project-cta { display: flex; justify-content: center; margin: 48px 0 90px; }
