/* =========================================================
   BLUUPI HOME
   TABLET VERSION
   768px → 1024px
========================================================= */

@media (min-width:768px) and (max-width:1024px){

/* =========================================================
   APP
========================================================= */

.app{
  max-width:920px;
  padding:40px 34px 120px;
}

/* =========================================================
   HERO
========================================================= */

.hero{
  display:block;
}

.hero-logo{
  width:220px;
}

.hero-title-desktop{
  max-width:720px;
  font-size:46px;
  line-height:1.05;
}

.hero-subtitle{
  max-width:760px;
  font-size:21px;
}

/* =========================================================
   RECHERCHE
========================================================= */

.main-search{
  max-width:100%;
  height:74px;
}

.main-search input{
  font-size:20px;
}

/* =========================================================
   FILTRES INTELLIGENTS
========================================================= */

.smart-filters{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.smart-filters label{
  height:66px;
}

.smart-filters label:first-child{
  grid-column:1 / -1;
}

/* =========================================================
   BOUTONS
========================================================= */

.hero-actions{
  max-width:620px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.btn-primary,
.btn-soft,
.btn-bluupi{
  min-height:78px;
  font-size:22px;
  border-radius:26px;
}

/* =========================================================
   FILTRES RAPIDES
========================================================= */

.filters{
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  overflow:visible;
  padding-bottom:0;
}

.filters a{
  width:100%;
  text-align:center;
  padding:18px 10px;
  border-radius:999px;
  font-size:20px;
}

/* =========================================================
   CATÉGORIES
========================================================= */

.categories{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.cat-card{
  height:140px;
  border-radius:24px;
}

.cat-card span{
  width:58px;
  height:58px;
  font-size:28px;
}

.cat-card strong{
  font-size:17px;
}

/* =========================================================
   ACTIVITÉS
========================================================= */

.activity-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
}

.activity-card{
  height:100%;
}

.activity-media{
  height:230px;
}

.activity-content{
  padding:22px;
}

.activity-content h3{
  font-size:24px;
}

.activity-content p{
  font-size:15px;
}

.card-bottom{
  flex-direction:row;
}

/* =========================================================
   POURQUOI BLUUPI
========================================================= */

.why-bluupi{
  max-width:800px;
  margin:58px auto 0;
  padding:34px;
  border-radius:34px;
}

.why-bluupi h2{
  font-size:42px;
  line-height:1.05;
}

.why-subtitle{
  margin-bottom:26px;
  font-size:20px;
}

/* Version tablette : bloc moins haut */
.why-fade-slider{
  height:260px;
  position:relative;
  overflow:hidden;
}

.why-slide{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-rows:repeat(2,1fr);
  gap:18px;
  opacity:0;
  pointer-events:none;
  transition:opacity .8s ease;
}

.why-slide.is-active{
  opacity:1;
  pointer-events:auto;
}

.why-item{
  min-height:110px;
  padding:22px;
  border-radius:24px;
}

.why-icon{
  width:64px;
  height:64px;
  flex:0 0 64px;
}

.why-item h3{
  font-size:24px;
}

.why-item p{
  font-size:17px;
}

/* =========================================================
   SECTIONS
========================================================= */

.section{
  margin-top:60px;
}

.section h2{
  font-size:48px;
}

/* =========================================================
   BOTTOM NAV
========================================================= */

.bottom-nav{
  width:100%;
  max-width:920px;
  height:86px;
  border-radius:26px 26px 0 0;
}

.bottom-nav a{
  font-size:13px;
}

.bottom-nav i{
  width:28px;
  height:28px;
}

.desktop-header,
.desktop-footer,
.desktop-bluupi,
.hero-visual{
  display:none !important;
}

.bottom-nav{
  display:grid !important;
}

}