/* ===========================
   FICHE ÉTABLISSEMENT – BLUUPI
   (place-view + layout2 toolbar)
   =========================== */

/* ---------------------------------------------------------
   Base
--------------------------------------------------------- */
.place-card{
  background: transparent;
  color: #ffffff;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */
.place-hero{
  position:relative;
  height:260px;
}

.place-hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Fondu vers le bleu (comme l’index) */
.place-hero-fade{
  position:absolute;
  left:0; right:0; bottom:0;
  height:140px;
  background: linear-gradient(
    to top,
    rgba(11,50,79,1) 0%,
    rgba(11,50,79,0.85) 35%,
    rgba(11,50,79,0) 100%
  );
}

/* Bouton retour */
.place-back{
  position:absolute;
  top:14px;
  left:14px;
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.35);
  color:#fff;
  font-size:18px;
  cursor:pointer;
  z-index:5;
}

/* Logo glass */
.place-logo-pill{
  position:absolute;
  left:50%;
  bottom:-36px;
  transform:translateX(-50%);
  z-index:6;

  width:96px;
  height:96px;
  border-radius:22px;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:
    0 14px 34px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.35);
}

.place-logo-pill img{
  max-width:70%;
  max-height:70%;
  object-fit:contain;
}

/* ---------------------------------------------------------
   CORPS
--------------------------------------------------------- */
.place-body{
  padding:56px 18px 20px;
}

/* Titres */
.place-title{
  margin:0;
  font-size:28px;
  font-weight:800;
  color:#fff;
}

.place-subtitle{
  margin-top:6px;
  opacity:.85;
  font-weight:600;
  color:#cfe9f6;
}

.place-lead{
  margin:16px 0 12px;
  font-size:16px;
  line-height:1.5;
  color:#ffffff;
}

/* Infos rapides */
.place-quick{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:12px 0;
}

.qi{
  display:flex;
  gap:8px;
  align-items:center;
  font-size:15px;
  color:#e6eef2;
}

/* Prix + note */
.place-pricing{
  display:flex;
  gap:18px;
  align-items:flex-end;
  flex-wrap:wrap;
  margin:18px 0 22px;
}

.price-main{
  font-size:26px;
  font-weight:800;
  color:#ffffff;
}

.price-label{
  opacity:.75;
  font-weight:600;
  margin-top:2px;
}

.badge-member{
  font-size:12px;
  font-weight:800;
  padding:4px 8px;
  border-radius:10px;
  background:#5CD6F4;
  color:#002f4e;
  margin-left:6px;
}

.rating-main{
  font-size:18px;
  color:#ffffff;
}

.rating-count{
  opacity:.85;
}

/* ---------------------------------------------------------
   SECTIONS
--------------------------------------------------------- */
.place-section{
  margin-top:22px;
}

.place-section h2{
  margin:0 0 10px;
  font-size:18px;
  font-weight:800;
  color:#ffffff;
}

.place-section p{
  margin:0;
  line-height:1.55;
  color:#e6eef2;
}

/* Slider photos */
.place-slider{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:6px 2px 2px;
  -webkit-overflow-scrolling: touch;
}

.place-slider img{
  width:220px;
  height:140px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 10px 24px rgba(0,0,0,.35);
}

/* ---------------------------------------------------------
   VIDEO (iframe toggle)
--------------------------------------------------------- */
.video-wrapper{
  position:relative;
  width:100%;
  padding-top:56.25%; /* 16:9 */
  border-radius:18px;
  overflow:hidden;
  margin-bottom:14px;
  box-shadow:0 12px 28px rgba(0,0,0,.45);
}

.video-wrapper iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

.place-video-btn{
  width:100%;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.12);
  font-weight:800;
  color:#ffffff;
  cursor:pointer;
}

.place-video-btn:hover{
  background:rgba(255,255,255,.22);
}

/* ---------------------------------------------------------
   CHIPS
--------------------------------------------------------- */
.place-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.chip{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  font-weight:700;
  color:#ffffff;
}

/* ---------------------------------------------------------
   COMMENTAIRES
--------------------------------------------------------- */
.place-comments{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cmt{
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  color:#ffffff;
}

/*/* =========================================================
   LAYOUT2 — Footer identique à l'index (même emplacement)
   ========================================================= */

.app.app-layout2{
  display:flex;
  flex-direction:column;
  height: var(--app-h, 100vh);
}

.app.app-layout2 .app-main{
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

.app-input.toolbar2{
  position: sticky;
  bottom: 0;
  z-index: 50;

  background: rgba(9, 45, 70, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}

.toolbar2 .toolbar-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.toolbar2 .tb-btn{
  flex: 1 1 0;
  height: 48px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: #fff;

  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.toolbar2 .tb-btn:active{
  transform: scale(0.98);
  background: rgba(255,255,255,0.10);
}
/* =========================
   Carte prépayée Ludémia
   ========================= */

.card-prepaid{
  display:flex;
  gap:16px;
  align-items:center;
  margin-top:12px;

  padding:14px;
  border-radius:18px;

  background: rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.14);
}

.card-prepaid-img{
  width:120px;
  max-width:40%;
  border-radius:16px;
  box-shadow:0 10px 26px rgba(0,0,0,.35);
}

.card-prepaid-text{
  flex:1;
  color:#ffffff;
  font-size:15px;
  line-height:1.4;
}

.card-prepaid-text b{
  font-size:16px;
}

.card-note{
  margin-top:6px;
  font-size:13px;
  opacity:.75;
}

/* Mobile ultra clean */
@media (max-width:420px){
  .card-prepaid{
    flex-direction:column;
    text-align:center;
  }

  .card-prepaid-img{
    width:160px;
    max-width:100%;
  }
}
/* =========================
   SLIDER PHOTOS – LUDÉMIA
   ========================= */

.place-slider{
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  padding: 8px 2px 6px;
}

.place-slider img{
  flex: 0 0 90%;
  max-width: 90%;
  aspect-ratio: 16 / 9;

  object-fit: cover;
  border-radius: 18px;

  scroll-snap-align: center;

  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
}
