/* =========================================================
   BLUUPI — ACTIVITY PAGE
   Fiche activité mobile uniquement
   Fichier : /app/assets/styles/pages/activity.css
========================================================= */


/* =========================================================
   1. VARIABLES
========================================================= */

:root{
  --primary:#0E3E61;
  --blue:#127194;
  --light-blue:#3CA6D6;

  --bg:#f5f9fc;
  --card:#ffffff;

  --text:#102f46;
  --muted:#6d7d8b;

  --line:#e5edf3;

  --shadow:0 18px 40px rgba(14,62,97,.12);
  --soft-shadow:0 10px 24px rgba(14,62,97,.08);
}


/* =========================================================
   2. RESET GLOBAL
========================================================= */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a{
  color:inherit;
  text-decoration:none;
}

button{
  font:inherit;
  cursor:pointer;
}


/* =========================================================
   3. ÉLÉMENTS DESKTOP CACHÉS SUR MOBILE
========================================================= */

.desktop-header,
.desktop-footer{
  display:none;
}


/* =========================================================
   4. PAGE WRAPPER
========================================================= */

.activity-page{
  width:100%;
  max-width:760px;
  min-height:100vh;
  margin:0 auto;

  background:#fff;

  padding-bottom:calc(165px + env(safe-area-inset-bottom));

  overflow-x:hidden;
}


/* =========================================================
   5. HERO
========================================================= */

.hero-fixed{
  position:relative;

  width:100%;
  height:330px;

  background:#eaf1f6;

  overflow:hidden;
}

.hero-fixed img{
  width:100%;
  height:100%;

  object-fit:cover;
  object-position:center;

  display:block;
}

.hero-actions{
  position:absolute;
  top:16px;
  left:16px;
  right:16px;
  z-index:10;

  display:flex;
  align-items:center;
  justify-content:space-between;
}

.hero-actions-right{
  display:flex;
  gap:12px;
}

.round-btn{
  width:54px;
  height:54px;

  border:0;
  border-radius:50%;

  background:rgba(255,255,255,.94);
  color:var(--primary);

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:26px;
  font-weight:900;

  box-shadow:var(--soft-shadow);
}

.round-btn:active{
  transform:scale(.96);
}


/* =========================================================
   6. CONTENT GLOBAL
========================================================= */

.content{
  padding:24px 20px 42px;
}


/* =========================================================
   7. CHIPS / BADGES
========================================================= */

.chips{
  display:flex;
  gap:10px;

  overflow-x:auto;
  overflow-y:hidden;

  padding-bottom:8px;
  margin-bottom:14px;

  -webkit-overflow-scrolling:touch;
}

.chips::-webkit-scrollbar{
  display:none;
}

.chips span{
  flex:0 0 auto;

  padding:9px 14px;

  border:1px solid var(--line);
  border-radius:999px;

  background:#fff;
  color:var(--muted);

  font-size:14px;
  font-weight:900;
}


/* =========================================================
   8. TITRE / INTRO
========================================================= */

.content > h1{
  margin:8px 0 10px;

  color:var(--primary);

  font-size:38px;
  line-height:1.04;
  font-weight:900;
  letter-spacing:-1.4px;
}

.activity-location{
  margin:0 0 8px;

  color:var(--blue);

  font-size:18px;
  font-weight:900;
}

.rating-line{
  margin:0 0 16px;

  color:#243f55;

  font-size:18px;
  font-weight:900;
}

.rating-line span{
  color:var(--muted);
  font-weight:800;
}

.intro{
  margin:0 0 24px;

  color:var(--muted);

  font-size:20px;
  line-height:1.45;
}


/* =========================================================
   9. INFOS RAPIDES
========================================================= */

.info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;

  margin-bottom:20px;
}

.info-grid div{
  padding:16px;

  background:var(--bg);

  border:1px solid var(--line);
  border-radius:24px;
}

.info-grid small{
  display:block;

  margin-bottom:6px;

  color:var(--muted);

  font-size:13px;
  font-weight:900;
}

.info-grid strong{
  color:var(--primary);

  font-size:16px;
  font-weight:900;
}


/* =========================================================
   10. BLOC PRIX
========================================================= */

.price-card{
  margin-bottom:28px;
  padding:18px;

  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;

  background:linear-gradient(135deg,#ffffff,#eef8fc);

  border:1px solid var(--line);
  border-radius:28px;

  box-shadow:var(--soft-shadow);
}

.price-card small{
  display:block;

  margin-bottom:5px;

  color:var(--muted);

  font-size:13px;
  font-weight:900;
}

.price-card strong{
  display:block;

  color:var(--blue);

  font-size:30px;
  line-height:1;
  font-weight:900;
}

.price-card em{
  display:inline-block;

  margin-top:7px;
  padding:5px 9px;

  border-radius:999px;

  background:#eaf8f0;
  color:#169b62;

  font-size:13px;
  font-weight:900;
  font-style:normal;
}

.old-price{
  color:#8a99a6;

  text-decoration:line-through;

  font-size:22px;
  font-weight:900;
}

.free-price{
  color:#169b62 !important;
}

.price-card .reserve-btn{
  grid-column:1 / -1;
}


/* =========================================================
   11. SECTIONS GÉNÉRALES
========================================================= */

.section-block{
  padding:28px 0;

  border-top:1px solid var(--line);
}

.section-block h2{
  margin:0 0 16px;

  color:var(--primary);

  font-size:30px;
  line-height:1.12;
  font-weight:900;
}

.section-block p{
  margin:0 0 10px;

  color:#243f55;

  font-size:18px;
  line-height:1.58;
}

.section-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  margin-bottom:16px;
}

.section-title-row h2{
  margin:0;
}

.section-title-row span{
  color:var(--muted);
  font-weight:900;
}


/* =========================================================
   12. GALERIE HORIZONTALE MOBILE
========================================================= */

.gallery-section{
  width:calc(100% + 40px);

  margin-left:-20px;
  margin-right:-20px;

  padding:22px 0 28px;

  border-top:1px solid var(--line);

  overflow:hidden;
}

.gallery-scroll{
  display:flex;
  gap:12px;

  overflow-x:auto;
  overflow-y:hidden;

  padding:0 20px 10px;

  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}

.gallery-scroll::-webkit-scrollbar{
  display:none;
}

.gallery-scroll img{
  flex:0 0 86vw;

  width:86vw;
  max-width:460px;
  height:210px;

  object-fit:cover;
  object-position:center;

  border-radius:22px;

  scroll-snap-align:start;

  box-shadow:var(--soft-shadow);
}


/* =========================================================
   13. VIDÉO
========================================================= */

.video-box{
  position:relative;

  width:100%;

  padding-bottom:56.25%;

  border-radius:26px;

  background:#000;

  overflow:hidden;

  box-shadow:var(--soft-shadow);
}

.video-box iframe{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  border:0;
}


/* =========================================================
   14. RECOMMANDATION BLUUPI
========================================================= */

.bluupi-reco{
  margin:4px 0 28px;
  padding:22px;

  background:linear-gradient(135deg,#f5fbff,#ffffff);

  border:1px solid var(--line);
  border-radius:28px;

  box-shadow:var(--soft-shadow);
}

.bluupi-reco h2{
  margin:0 0 16px;

  color:var(--primary);

  font-size:30px;
  line-height:1.12;
  font-weight:900;
}

.bluupi-reco p{
  margin:0;

  color:#243f55;

  font-size:18px;
  line-height:1.58;
}


/* =========================================================
   15. MAPS / WAZE
========================================================= */

.map-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;

  margin-top:18px;
}

.map-actions a{
  padding:16px;

  border-radius:20px;

  background:var(--primary);
  color:#fff;

  text-align:center;

  font-weight:900;

  box-shadow:var(--soft-shadow);
}

.map-actions a:nth-child(2){
  background:var(--blue);
}


/* =========================================================
   16. SERVICES
========================================================= */

.services-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.services-grid span{
  padding:16px;

  background:var(--bg);

  border:1px solid var(--line);
  border-radius:20px;

  color:#243f55;

  font-weight:900;
}


/* =========================================================
   17. AVIS
========================================================= */

.review-summary{
  margin-bottom:12px;
  padding:18px;

  background:var(--bg);

  border:1px solid var(--line);
  border-radius:24px;
}

.review-summary strong{
  display:block;

  margin-bottom:5px;

  color:var(--primary);

  font-size:36px;
  line-height:1;
}

.review-card{
  padding:18px;

  background:#fff;

  border:1px solid var(--line);
  border-radius:24px;

  box-shadow:var(--soft-shadow);
}

.review-card strong{
  display:block;

  margin-bottom:4px;

  color:var(--primary);
}


/* =========================================================
   18. FAQ
========================================================= */

details{
  margin-bottom:10px;
  padding:16px;

  background:#fff;

  border:1px solid var(--line);
  border-radius:18px;

  box-shadow:0 6px 16px rgba(14,62,97,.04);
}

summary{
  cursor:pointer;
  list-style:none;

  color:var(--primary);

  font-weight:900;
}

summary::-webkit-details-marker{
  display:none;
}

summary::after{
  content:"+";

  float:right;

  color:var(--blue);

  font-size:22px;
}

details[open] summary::after{
  content:"–";
}

details p{
  margin-top:12px !important;
  color:var(--muted) !important;
}


/* =========================================================
   19. SUGGESTIONS
========================================================= */

.suggestion-row{
  display:flex;
  gap:12px;

  overflow-x:auto;
  overflow-y:hidden;

  padding-bottom:8px;

  -webkit-overflow-scrolling:touch;
}

.suggestion-row::-webkit-scrollbar{
  display:none;
}

.suggestion-row a{
  flex:0 0 220px;

  min-height:88px;

  padding:16px;

  display:flex;
  align-items:center;

  border-radius:22px;

  background:var(--bg);

  border:1px solid var(--line);

  color:var(--primary);

  font-weight:900;
}


/* =========================================================
   20. BOUTON RÉSERVER
========================================================= */

.reserve-btn{
  width:100%;
  height:64px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:0;
  border-radius:22px;

  background:var(--primary);
  color:#fff;

  font-size:1.35rem;
  font-weight:900;

  text-decoration:none;

  box-shadow:0 12px 30px rgba(14,62,97,.18);

  transition:.2s ease;
}

.reserve-btn:active{
  transform:scale(.98);
}


/* =========================================================
   21. STICKY BOOKING MOBILE
========================================================= */

.sticky-booking{
  position:fixed;
  left:0;
  right:0;
  bottom:72px;
  z-index:50;

  min-height:76px;

  padding:13px 18px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  background:rgba(255,255,255,.97);

  border-top:1px solid var(--line);

  backdrop-filter:blur(16px);

  box-shadow:0 -10px 30px rgba(14,62,97,.08);
}

.sticky-booking strong{
  color:var(--primary);

  font-size:20px;
  font-weight:900;
}

.sticky-booking .reserve-btn{
  width:auto;
  min-width:150px;
  height:56px;

  padding:0 24px;

  border-radius:20px;

  font-size:17px;
}


/* =========================================================
   22. BOTTOM NAV MOBILE
========================================================= */

.bottom-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:60;

  height:72px;

  padding:7px 8px calc(7px + env(safe-area-inset-bottom));

  display:grid;
  grid-template-columns:repeat(5,1fr);

  background:rgba(255,255,255,.98);

  border-top:1px solid var(--line);

  backdrop-filter:blur(16px);

  box-shadow:0 -8px 26px rgba(14,62,97,.07);
}

.bottom-nav a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;

  color:var(--muted);

  font-size:11px;
  font-weight:900;

  text-decoration:none;
}

.bottom-nav a.active{
  color:var(--primary);
}

.bottom-nav svg{
  width:23px;
  height:23px;
  stroke-width:2.5;
}