/* ==========================================================
   IMAGES DES PAGES PROJET
   Ces styles servent à afficher de vraies images (à la place des blocs rayés .ph).
   Utilisation : <figure class="shot"><img src="img/..." alt="..."><figcaption>Légende</figcaption></figure>
   ========================================================== */

.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; box-shadow: 6px 8px 0 rgba(0,0,0,.4); }
.shot figcaption { font: 600 .8rem 'Outfit', sans-serif; color: var(--cream); margin-top: .9rem; letter-spacing: .05em; text-transform: uppercase; }
.cover .shot img { box-shadow: 8px 10px 0 rgba(0,0,0,.4); }

/* grille : .c2 = 2 colonnes, .c3 = 3 colonnes, .c1 = pleine largeur */
.grid { display: grid; gap: 2rem; margin: 1.6rem 0 2.6rem; align-items: start; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c1 { grid-template-columns: 1fr; }

/* logo seul sur fond sombre */
.logo-big { display: grid; place-items: center; padding: 2.5rem 1rem; background: #4F272F; box-shadow: 6px 8px 0 rgba(0,0,0,.4); }
.logo-big img { width: min(100%, 460px); height: auto; }

/* palette du projet (5 couleurs avec nom) */
.sw.five { grid-template-columns: repeat(5, 1fr); }
.sw.five div { aspect-ratio: 1 / 1.5; flex-direction: column; justify-content: flex-end; gap: .15rem; }
.sw.five small { font-weight: 400; opacity: .9; }

/* typographies du projet */
.type.three { grid-template-columns: repeat(3, 1fr); }
.type.three b { font-size: 3rem; }

/* sous-titres dans "Les livrables" */
.bd h3.sec { font: 700 1.9rem 'Caveat', cursive; color: var(--cream); margin: 2.4rem 0 .4rem; }
.lead { max-width: 62ch; }

/* citations du teaser */
.quotes { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.4rem 0 0; }
.quotes span { background: var(--paper); color: var(--night); font: 400 1.5rem 'Italianno', cursive; padding: .3rem 1.2rem; box-shadow: 4px 5px 0 rgba(0,0,0,.35); }

.dl { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }

@media (max-width: 760px) {
  .grid.c2, .grid.c3, .sw.five, .type.three { grid-template-columns: 1fr 1fr; }
  .type.three { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
}

/* ==========================================================
   BANNIÈRE AVEC IMAGE : l'image se règle dans le HTML (--bg), le voile sombre ici
   ========================================================== */
.hd.bg {
  background: var(--night);
  min-height: 82svh;
  display: grid;
  place-content: center;
  justify-items: center;
  position: relative;
  z-index: 2;
  padding-bottom: 7rem;
  clip-path: polygon(0 0,100% 0,100% 94%,96% 99%,90% 95%,83% 100%,75% 95%,66% 99%,58% 95%,50% 100%,42% 96%,33% 99%,25% 95%,16% 100%,8% 96%,0 99%);
}
.metabar { background: var(--vio); padding: 0 1.2rem; margin-top: -2.5rem; padding-top: 5rem; }
.metabar .meta { margin-top: 0; }
.phone { align-items: center; }

.hbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hd.bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(36,21,58,.5), rgba(36,21,58,.88)); z-index: 0; }
.hd.bg > *:not(.hbg) { position: relative; z-index: 1; }

/* Tout est visible dès le chargement (pas d'apparition au scroll) */
.rv { opacity: 1 !important; translate: none !important; scale: 1 !important; transition: none; }
