: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);
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:#eef3f7;
  color:var(--text);
}

a{
  text-decoration:none;
  color:inherit;
}

button,
input,
select{
  font:inherit;
}

/* SEO caché visuellement */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* HEADER */
.desktop-header{
  display:none;
}

/* APP */
.app{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  min-height:100vh;
  background:var(--bg);
  padding:42px 32px 120px;
}

/* HERO */
.hero{
  position:relative;
  max-width:860px;
}

.hero-content{
  min-width:0;
}

.hero-logo{
  width:220px;
  height:auto;
  display:block;
  margin-bottom:22px;
}

.hero-title-desktop{
  display:none;
  margin:0;
  font-family:"Baloo 2", Inter, system-ui, sans-serif;
  font-weight:900;
  color:var(--primary);
  letter-spacing:-.04em;
}

.hero-subtitle{
  margin:18px 0 30px;
  max-width:760px;
  color:#5e6f7f;
  font-size:24px;
  line-height:1.55;
}

.hero-visual{
  display:none;
}

.hero-bluupi{
  display:block;
  width:100%;
  height:auto;
}

/* SEARCH */
.main-search{
  height:68px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--soft-shadow);
}

.main-search span{
  font-size:24px;
}

.main-search input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  font-size:18px;
  color:var(--text);
}

.main-search button{
  width:42px;
  height:42px;
  border:0;
  background:transparent;
  color:var(--primary);
  font-size:28px;
  cursor:pointer;
}

/* FILTERS */
.smart-filters{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.smart-filters label{
  height:58px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 6px 18px rgba(14,62,97,.05);
}

.smart-filters span{
  font-size:20px;
}

.smart-filters select,
.smart-filters input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--text);
  font-size:15px;
}

/* ACTIONS */
.hero-actions{
  margin-top:18px;
  display:flex;
  gap:12px;
}

.btn-primary,
.btn-soft{
  min-height:56px;
  padding:0 24px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:16px;
  cursor:pointer;
}

.btn-primary{
  border:0;
  background:var(--primary);
  color:#fff;
  box-shadow:0 12px 24px rgba(14,62,97,.18);
}

.btn-soft{
  background:#fff;
  color:var(--primary);
  border:2px solid rgba(14,62,97,.14);
  box-shadow:0 8px 20px rgba(14,62,97,.06);
}

/* QUICK FILTERS */
.filters{
  margin-top:28px;
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding-bottom:6px;
}

.filters a{
  flex:0 0 auto;
  padding:14px 24px;
  border-radius:999px;
  background:#eaf1f6;
  color:var(--primary);
  font-weight:900;
}

.filters a.active{
  background:var(--primary);
  color:#fff;
}

/* SECTIONS */
.section{
  margin-top:44px;
}

.section h2{
  margin:0 0 22px;
  font-size:34px;
  color:var(--primary);
  letter-spacing:-.045em;
}

.section-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}

.section-row h2{
  margin:0;
}

.section-row a{
  color:var(--primary);
  font-weight:900;
}

/* CATEGORIES */
.categories{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  max-width:760px;
}

.cat-card{
  height:150px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:var(--soft-shadow);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
}

.cat-card span{
  width:62px;
  height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#eef7fb;
  font-size:30px;
}

.cat-card strong{
  font-size:17px;
  color:var(--primary);
}

/* ACTIVITIES */
.activity-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}

.activity-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:32px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.activity-media{
  height:280px;
  position:relative;
  background:#eef5f8;
}

.activity-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.no-image{
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:var(--muted);
  background:linear-gradient(135deg,#edf7fb,#ffffff);
}

.no-image span{
  font-size:42px;
}

.no-image small{
  font-weight:900;
}

.heart{
  position:absolute;
  top:18px;
  right:18px;
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:var(--primary);
  font-size:26px;
  box-shadow:0 8px 20px rgba(14,62,97,.14);
  cursor:pointer;
}

.heart.is-favorite{
  color:#e63946;
}
.activity-content{
  padding:24px;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}

.chips span{
  padding:7px 12px;
  border-radius:999px;
  background:#eef7fb;
  color:var(--primary);
  font-size:12px;
  font-weight:900;
}

.activity-content h3{
  margin:0 0 10px;
  color:var(--primary);
  font-size:26px;
  line-height:1.15;
  letter-spacing:-.04em;
}

.activity-content p{
  margin:0;
  color:#516879;
  line-height:1.6;
  font-size:15.5px;
}

.card-bottom{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.card-bottom small{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
}

.card-bottom strong{
  display:block;
  margin-top:3px;
  color:var(--primary);
  font-size:14px;
}

.card-bottom a{
  min-width:108px;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:var(--primary);
  color:#fff;
  font-weight:900;
}

.why-bluupi{
  margin: 38px auto;
  padding: 34px;
  max-width: 980px;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, #0E3E61, #127194, #0E8BB0);
  overflow: hidden;
}

.why-bluupi h2{
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 900;
}

.why-subtitle{
  margin: 0 0 26px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: .9;
}

.why-fade-slider{
  position: relative;
  height: 190px;
}

.why-slide{
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}

.why-slide.is-active{
  opacity: 1;
  pointer-events: auto;
}

.why-item{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.16);
}

.why-icon{
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: rgba(255,255,255,.16);
}

.why-item h3{
  margin: 0 0 6px;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 900;
}

.why-item p{
  margin: 0;
  font-size: .98rem;
  line-height: 1.45;
  opacity: .92;
}

/* MOBILE */
@media (max-width: 768px){
  .why-bluupi{
    margin: 34px 0;
    padding: 32px 24px;
    border-radius: 34px;
  }

  .why-fade-slider{
    height: 290px;
  }

  .why-slide{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .why-item{
    padding: 20px;
    border-radius: 24px;
  }

  .why-icon{
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .why-item h3{
    font-size: 1.45rem;
  }

  .why-item p{
    font-size: 1.05rem;
  }
}

/* GRID (clé du rendu premium) */
.why-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

/* CARD */
.why-line{
  display:flex;
  gap:16px;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);

  /* animation */
  opacity:0;
  transform:translateY(18px);
  animation:whyFadeUp .7s ease forwards;
}

/* DÉLAIS PAR PAIRES (effet Apple) */
.why-line:nth-child(1),
.why-line:nth-child(2){
  animation-delay:.1s;
}

.why-line:nth-child(3),
.why-line:nth-child(4){
  animation-delay:.45s;
}

.why-line:nth-child(5),
.why-line:nth-child(6){
  animation-delay:.8s;
}

/* ICON */
.why-line span{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:rgba(255,255,255,.18);
  font-size:24px;
}

/* TEXT */
.why-line h3{
  margin:0 0 6px;
  font-size:20px;
}

.why-line p{
  margin:0;
  color:rgba(255,255,255,.84);
  line-height:1.5;
  font-size:14.5px;
}

/* ANIMATION */
@keyframes whyFadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* MOBILE */
@media(max-width:899px){
  .why{
    padding:28px 20px;
  }

  .why h2{
    font-size:28px;
  }

  .why-grid{
    grid-template-columns:1fr;
  }

  .why-line{
    padding:16px;
  }
}




/* =========================================================
   ELEMENTS RESPONSIVE
========================================================= */

.floating-mic,
.bottom-nav,
.tablet-only-bluupi,
.desktop-bluupi{
  display:none;
}

/* =========================================================
   MOBILE — jusqu'à 767px
   Pas de grande mascotte dans le hero
========================================================= */

@media(max-width:767px){
  .app{
    max-width:460px;
    background:var(--bg);
    padding:34px 20px 108px;
  }

  .desktop-header{
    display:none;
  }

  .hero{
    max-width:none;
    display:block;
  }

  .hero-logo{
    width:190px;
    margin-bottom:34px;
  }

  .tablet-only-bluupi,
  .desktop-bluupi{
    display:none !important;
  }

  .hero-title-desktop{
    display:block;
    max-width:360px;
    margin:0 0 18px;
    font-size:39px;
    line-height:1.08;
    letter-spacing:-.045em;
  }

  .hero-subtitle{
    margin:0 0 28px;
    font-size:24px;
    line-height:1.55;
    color:#5e6f7f;
  }

  .main-search{
    height:70px;
    border-radius:26px;
  }

  .main-search input{
    font-size:19px;
  }

  .smart-filters{
    grid-template-columns:1fr;
    margin-top:16px;
    gap:14px;
  }

  .smart-filters label{
    height:64px;
    border-radius:22px;
    padding:0 18px;
  }

  .hero-actions{
    flex-direction:column;
    margin-top:20px;
    gap:14px;
  }

  .btn-primary,
  .btn-soft,
  .btn-bluupi{
    width:100%;
    min-height:64px;
    border-radius:22px;
    font-size:18px;
  }

  .btn-bluupi{
    border:1px solid #d7e3ea;
    background:rgba(255,255,255,.75);
    color:var(--primary);
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
  }

  .filters{
    margin-top:22px;
  }

  .section h2{
    font-size:30px;
  }

  .categories{
    grid-template-columns:repeat(3,1fr);
    gap:14px;
  }

  .cat-card{
    height:118px;
    border-radius:22px;
  }

  .cat-card span{
    width:50px;
    height:50px;
    font-size:24px;
  }

  .cat-card strong{
    font-size:13px;
  }

  .activity-list{
    display:flex;
    flex-direction:column;
    gap:28px;
  }

  .activity-media{
    height:245px;
  }

  .bottom-nav{
    position:fixed;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:min(100%,460px);
    height:82px;
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--line);
    backdrop-filter:blur(18px);
    display:grid;
    grid-template-columns:repeat(5,1fr);
    z-index:35;
  }

  .bottom-nav a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    color:#8a98a6;
    font-size:12px;
    font-weight:650;
  }

  .bottom-nav i{
    width:25px;
    height:25px;
    stroke-width:2;
  }

  .bottom-nav a.active{
    color:var(--blue);
  }
}

/* =========================================================
   TABLETTE — 768px à 1199px
   Style proche de ta 2e maquette
========================================================= */

@media(min-width:768px) and (max-width:1199px){
  .app{
    max-width:760px;
    padding:48px 38px 120px;
    background:var(--bg);
  }

  .desktop-header{
    display:none;
  }

  .hero{
    max-width:none;
    position:relative;
    overflow:hidden;
    padding-top:10px;
  }

  .hero-logo{
    width:210px;
    margin-bottom:34px;
  }

  .hero-content{
    position:relative;
    z-index:2;
  }

  .tablet-only-bluupi{
    display:block;
    position:absolute;
    right:-80px;
    top:170px;
    width:360px;
    z-index:1;
    pointer-events:none;
  }

  .tablet-only-bluupi .hero-bluupi{
    width:100%;
    filter:drop-shadow(0 18px 34px rgba(14,62,97,.14));
  }

  .desktop-bluupi{
    display:none !important;
  }

  .hero-title-desktop{
    display:block;
    max-width:500px;
    margin:0 0 18px;
    font-size:50px;
    line-height:1.08;
  }

  .hero-subtitle{
    max-width:470px;
    margin:0 0 30px;
    font-size:20px;
    line-height:1.5;
  }

  .hero-form{
    position:relative;
    z-index:3;
    margin-top:22px;
    padding:24px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:30px;
    box-shadow:var(--shadow);
  }

  .smart-filters{
    grid-template-columns:repeat(3,1fr);
  }

  .hero-actions{
    flex-direction:column;
  }

  .btn-primary,
  .btn-bluupi{
    width:100%;
    min-height:60px;
    border-radius:20px;
  }

  .btn-bluupi{
    border:0;
    background:#eef6fb;
    color:var(--blue);
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
  }

  .filters{
    margin-top:28px;
  }

  .categories{
    max-width:none;
    grid-template-columns:repeat(3,1fr);
  }

  .activity-list{
    grid-template-columns:repeat(2,1fr);
  }

  .bottom-nav{
    position:fixed;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:min(100%,760px);
    height:86px;
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--line);
    backdrop-filter:blur(18px);
    display:grid;
    grid-template-columns:repeat(5,1fr);
    z-index:35;
  }

  .bottom-nav a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    color:#8a98a6;
    font-size:13px;
    font-weight:700;
  }

  .bottom-nav i{
    width:26px;
    height:26px;
  }

  .bottom-nav a.active{
    color:var(--blue);
  }
}

/* =========================================================
   DESKTOP — à partir de 1200px
========================================================= */

@media(min-width:1200px){
  .desktop-header{
    height:76px;
    max-width:1180px;
    margin:0 auto;
    padding:0 32px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
  }

  .desktop-brand{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--primary);
    font-family:"Baloo 2", Inter, system-ui, sans-serif;
    font-size:30px;
    font-weight:800;
    letter-spacing:-.03em;
  }

  .desktop-logo-img{
    width:130px;
    height:auto;
    display:block;
    object-fit:contain;
  }

  .desktop-nav,
  .desktop-actions{
    display:flex;
    align-items:center;
    gap:24px;
  }

  .desktop-nav a,
  .desktop-login{
    color:var(--primary);
    font-weight:850;
  }

  .desktop-register{
    min-height:42px;
    padding:0 16px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:var(--primary);
    color:#fff;
    font-weight:900;
  }

  .app{
    padding:48px 48px 120px;
  }

  .hero{
    max-width:none;
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    align-items:start;
    gap:54px;
    padding:38px 8px 32px;
  }

  .hero-logo{
    display:none;
  }

  .tablet-only-bluupi{
    display:none !important;
  }

  .desktop-bluupi{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding-top:18px;
  }

  .desktop-bluupi .hero-bluupi{
    width:100%;
    max-width:330px;
    height:auto;
    transform:translateY(-18px);
    filter:drop-shadow(0 18px 34px rgba(14,62,97,.14));
  }

  .hero-title-desktop{
    display:block;
    max-width:560px;
    margin:0 0 18px;
    font-size:clamp(42px,3.6vw,60px);
    line-height:1.03;
  }

  .hero-subtitle{
    max-width:650px;
    margin:0 0 30px;
    font-size:20px;
    line-height:1.55;
    color:#526273;
  }

  .main-search,
  .smart-filters,
  .hero-actions,
  .filters{
    max-width:760px;
  }

  .btn-bluupi{
    min-height:56px;
    padding:0 24px;
    border-radius:18px;
    background:#fff;
    color:var(--primary);
    border:2px solid rgba(14,62,97,.14);
    box-shadow:0 8px 20px rgba(14,62,97,.06);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-weight:900;
  }

  .bottom-nav{
    display:none !important;
  }
}