/* Emplacements photo / vidéo des maquettes (en attendant les images de Delicat'heel).
   Chaque maquette règle --ph-a, --ph-b (fond) et --ph-ink (texte). */
.ph {
  --ph-a: #2a1418; --ph-b: #1a0c0f; --ph-ink: rgba(255,255,255,.7);
  position: relative; overflow: hidden; margin: 0;
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px),
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(216,31,63,.35), transparent 70%),
    linear-gradient(160deg, var(--ph-a), var(--ph-b));
  color: var(--ph-ink);
}
.ph figcaption, .ph .ph-label {
  position: relative; z-index: 1; padding: .8rem 1rem;
  font: 500 .66rem/1.5 "Jost", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase;
}
.ph figcaption::before, .ph .ph-label::before {
  content: ""; display: block; width: 34px; height: 34px; margin: 0 auto .6rem;
  border: 1.5px solid currentColor; border-radius: 6px; opacity: .8;
  background:
    radial-gradient(circle at 70% 32%, currentColor 0 3px, transparent 4px),
    linear-gradient(135deg, transparent 55%, currentColor 55% 60%, transparent 60%);
}
.ph.is-video figcaption::before, .ph.is-video .ph-label::before {
  border-radius: 50%;
  background: conic-gradient(from 60deg at 58% 50%, currentColor 0 60deg, transparent 60deg) center / 46% 46% no-repeat;
}
.ph.portrait { aspect-ratio: 3 / 4; }
.ph.poster { aspect-ratio: 4 / 5; }
.ph.wide { aspect-ratio: 16 / 9; }
.ph.fill { position: absolute; inset: 0; z-index: -2; }
.ph.fill .ph-label { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); width: min(90%, 560px); opacity: .75; }

/* Bouton « Réserver » toujours visible */
.book-fab {
  position: fixed; left: 12px; bottom: 12px; z-index: 60;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.3rem; text-decoration: none;
  font: 500 .74rem/1 "Jost", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.book-fab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: fab-pulse 1.8s ease-in-out infinite; }
@keyframes fab-pulse { 50% { opacity: .3; } }

/* Les Délicates : grille de portraits */
.cast { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cast article { margin: 0; }
.cast h3 { margin: .7rem 0 0; }
.cast p { margin: .1rem 0 0; }
@media (max-width: 820px) { .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Agenda en affiches */
.posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.posters article { margin: 0; }
@media (max-width: 760px) { .posters { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* Avis */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.quotes blockquote { margin: 0; }
.quotes .todo { font: 500 .62rem/1 "Jost", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.logos span { padding: .9rem 1.4rem; border: 1px dashed currentColor; opacity: .5; font: 500 .66rem/1 "Jost", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }

/* Emplacement rempli : la photo ou la vidéo couvre le cadre */
.ph > img, .ph > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph > .pos-20 { object-position: center 20%; }
.ph > .pos-25 { object-position: center 25%; }
.ph > .pos-30 { object-position: center 30%; }
.ph > .pos-35 { object-position: center 35%; }
.ph.fill > video, .ph.fill > img { z-index: 0; }

/* Filtre commun rouge et noir : toutes les photos (de qualités différentes) prennent le même ton.
   Sur une vraie photo : <figure class="duo"><img …></figure> */
.duo { position: relative; isolation: isolate; overflow: hidden; }
.duo img, .duo video { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(1.15); }
.duo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, var(--duo-a, #e8304f), var(--duo-b, #4a0a18)); mix-blend-mode: multiply; opacity: .8; }
.duo figcaption, .duo .ph-label { z-index: 2; }
.ph.fill.duo { position: absolute; }
.duo-note { font: 500 .6rem/1.4 "Jost", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }

/* Barre du haut (entrée Entreprises & groupes) */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem clamp(16px, 4vw, 48px);
  font: 400 .72rem/1.3 "Jost", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.topbar a { text-decoration: none; font-weight: 500; white-space: nowrap; }
@media (max-width: 560px) { .topbar span { display: none; } .topbar { justify-content: flex-end; } }

/* Slogan géant posé sur une photo */
.slogan { position: relative; isolation: isolate; min-height: min(80vh, 680px); display: grid; place-items: center; text-align: center; padding: 4rem 16px; overflow: hidden; }
.slogan h2 { position: relative; z-index: 2; margin: 0; line-height: .9; }
.slogan .slogan-sub { position: relative; z-index: 2; margin: 1rem 0 0; }
.slogan > .ph.fill::after { z-index: 1; }

/* Formules */
.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.formule { display: flex; flex-direction: column; }
.formule .ph { aspect-ratio: 4 / 3; }
.formule-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.3rem 1.2rem 1.4rem; }
.formule-body h3 { margin: 0; }
.formule-body p { margin: 0; }
.formule ul { list-style: none; padding: 0; margin: .2rem 0 .8rem; font-size: .88rem; }
.formule li { padding: .3rem 0; border-bottom: 1px solid currentColor; border-color: rgba(127,127,127,.25); }
.formule li b { font-weight: 500; }
.formule .todo { opacity: .55; font-style: italic; }
.formule .formule-cta { margin-top: auto; align-self: flex-start; text-decoration: none; padding: .8rem 1.3rem; font: 500 .72rem/1 "Jost", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 860px) { .formules { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* Coulisses : photo décalée sur un bloc de couleur + bandeau de 3 photos */
.coulisses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.offset { position: relative; padding: 0 2.5rem 2.5rem 0; }
.offset::before { content: ""; position: absolute; inset: 2.5rem 0 0 2.5rem; z-index: 0; }
.offset .ph { position: relative; z-index: 1; aspect-ratio: 4 / 5; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.6rem; }
.strip .ph { aspect-ratio: 1; }
.strip .ph figcaption { padding: .4rem; font-size: .55rem; }
.strip .ph figcaption::before { width: 22px; height: 22px; margin-bottom: .3rem; }
@media (max-width: 760px) { .coulisses-grid { grid-template-columns: 1fr; } }

/* Entreprises & groupes */
.pro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pro ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.2rem; }
.pro li::before { content: "✦ "; }
.pro .pro-cta { display: inline-block; text-decoration: none; padding: 1rem 1.6rem; font: 500 .74rem/1 "Jost", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 760px) { .pro { grid-template-columns: 1fr; } .pro ul { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .book-fab::before { animation: none; } }

/* Six portraits : 3 colonnes plutôt que 4 + 2 */
.cast.six { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; }
@media (max-width: 640px) { .cast.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Apparition au défilement (classes ajoutées par design-media.js : sans JavaScript, tout reste visible) */
html .reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
html .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html .reveal { transform: none; transition: opacity .4s ease; }
}
