/* ==========================================================================
   360RTF — Soirée barbecue : les photos de la page de réservation
   (octobre 2026). Chargée seulement quand les photos s'affichent
   (includes/barbecue-photos.php) : sans elle, la page reste telle quelle.
   Couleurs et polices : celles de rtf.css et de rtf-barbecue.css.
   ========================================================================== */

.bbq-photos{--bbq-citrouille:#FF7A1A}
.bbq-ph{display:block;position:relative;overflow:hidden;background:#120A06}
.bbq-ph img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}

/* ---- Le programme : une photo par temps fort ---- */
.bbq-photos .bbq-prog-liste{gap:16px}
.bbq-photos .bbq-prog-liste li:has(>.bbq-ph){gap:8px;padding:0 0 18px;border:1px solid rgba(255,122,26,.28);border-radius:var(--rtf-r-md);background:var(--rtf-canvas);overflow:hidden}
.bbq-photos .bbq-prog-liste li>.bbq-ph{width:100%;max-width:none;aspect-ratio:16/10}
.bbq-photos .bbq-prog-liste li>.bbq-ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(11,11,13,.9))}
.bbq-photos .bbq-prog-liste li:has(>.bbq-ph) .bbq-prog-ic{display:none}
.bbq-photos .bbq-prog-liste li:has(>.bbq-ph) .bbq-prog-num{position:relative;z-index:1;margin-top:-28px;background:rgba(11,11,13,.88)}
.bbq-photos .bbq-prog-liste li:has(>.bbq-ph)>b,.bbq-photos .bbq-prog-liste li:has(>.bbq-ph)>span:not(.bbq-ph){padding:0 14px}
.bbq-photos .bbq-prog-liste li:hover>.bbq-ph img{transform:scale(1.06)}

/* ---- DJ Bast : les platines en fond ---- */
.bbq-photos .bbq-prog-dj:has(>.bbq-ph){overflow:hidden;min-height:170px;border-color:rgba(255,122,26,.55)}
.bbq-photos .bbq-prog-dj>.bbq-ph{position:absolute;inset:0;z-index:0}
.bbq-photos .bbq-prog-dj>.bbq-ph::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,11,13,.9) 0%,rgba(11,11,13,.62) 50%,rgba(11,11,13,.3) 100%)}
.bbq-photos .bbq-prog-dj>:not(.bbq-ph){position:relative;z-index:1}

/* ---- À volonté : grillades, desserts, boissons ---- */
.bbq-menu{display:grid;gap:18px;justify-items:center;text-align:center;padding:clamp(22px,4vw,36px);border-radius:var(--rtf-r-md);border:1px solid rgba(255,122,26,.35);background:radial-gradient(120% 90% at 50% 0%,rgba(255,122,26,.16),transparent 60%),var(--rtf-panel)}
.bbq-menu-tete{display:grid;gap:6px;justify-items:center}
.bbq-menu h2{margin:0;font-family:var(--rtf-display);font-weight:900;font-size:clamp(1.7rem,1.3rem + 1.6vw,2.4rem);line-height:1;text-transform:uppercase;color:var(--rtf-ink)}
.bbq-menu-grille{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.bbq-menu figure{position:relative;margin:0;aspect-ratio:4/3;border-radius:var(--rtf-r-md);border:1px solid rgba(255,122,26,.3);overflow:hidden;text-align:left}
.bbq-menu figure>.bbq-ph{position:absolute;inset:0}
.bbq-menu figcaption{position:absolute;left:0;right:0;bottom:0;padding:44px 16px 14px;background:linear-gradient(180deg,transparent,rgba(11,11,13,.92))}
.bbq-menu figcaption b{display:block;font-family:var(--rtf-display);font-weight:900;font-size:1.45rem;line-height:1;text-transform:uppercase;color:#fff}
.bbq-menu figcaption span{display:block;margin-top:4px;font-size:13.5px;color:rgba(255,255,255,.78)}
.bbq-menu figure:hover img{transform:scale(1.06)}
.bbq .bbq-menu-cta{display:inline-flex;align-items:center;justify-content:center}

/* ---- Les formules : une petite vignette (titre au-dessus sur téléphone) ---- */
.bbq-photos .bbq-formule:has(>.bbq-ph){grid-template-columns:52px minmax(0,1fr) auto;grid-template-areas:"ph titre pas" "ph sous pas" "ph prix pas" "fe fe fe";column-gap:12px;row-gap:0}
.bbq-photos .bbq-formule:has(>.bbq-ph)>div:not([class]){display:contents}
.bbq-photos .bbq-formule:has(>.bbq-ph)>div:not([class])>b{grid-area:titre}
.bbq-photos .bbq-formule:has(>.bbq-ph)>div:not([class])>small{grid-area:sous}
.bbq-photos .bbq-formule:has(>.bbq-ph)>div:not([class])>.bbq-prix{grid-area:prix}
.bbq-photos .bbq-formule:has(>.bbq-ph)>.bbq-pas{grid-area:pas;align-self:center}
.bbq-photos .bbq-formule:has(>.bbq-ph)>.bbq-famille-enfants{grid-area:fe;margin-top:12px}
.bbq-photos .bbq-formule>.bbq-ph{grid-area:ph;width:52px;height:52px;align-self:center;border-radius:10px;border:1px solid rgba(255,122,26,.35)}
@media (max-width:480px){
  .bbq-photos .bbq-formule:has(>.bbq-ph){grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"titre titre pas" "ph sous pas" "ph prix pas" "fe fe fe";column-gap:10px}
  .bbq-photos .bbq-formule>.bbq-ph{width:44px;height:44px;margin-top:8px;align-self:start}
}

/* ---- Le bar en supplément ---- */
.bbq-photos .bbq-bar-photo{display:grid;grid-template-columns:210px minmax(0,1fr);padding:0;overflow:hidden;border-color:rgba(255,122,26,.3)}
.bbq-photos .bbq-bar-photo>.bbq-ph{min-height:140px}
.bbq-photos .bbq-bar-photo>.bbq-ph img{position:absolute;inset:0}
.bbq-photos .bbq-bar-photo>p{margin:0;padding:16px 18px;align-self:center}

/* ---- Téléphone ---- */
@media (max-width:700px){
  .bbq-photos .bbq-prog-liste{gap:14px}
  .bbq-photos .bbq-prog-liste li>.bbq-ph{aspect-ratio:16/9}
  .bbq-menu-grille{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:80%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px;scrollbar-width:none}
  .bbq-menu-grille::-webkit-scrollbar{display:none}
  .bbq-menu figure{scroll-snap-align:start}
  .bbq .bbq-menu-cta{width:100%}
  .bbq-photos .bbq-prog-dj>.bbq-ph::after{background:rgba(11,11,13,.68)}
}
@media (max-width:520px){
  .bbq-photos .bbq-bar-photo{grid-template-columns:1fr}
  .bbq-photos .bbq-bar-photo>.bbq-ph{min-height:0;aspect-ratio:16/7}
}
@media (prefers-reduced-motion:reduce){.bbq-ph img{transition:none;transform:none!important}}
