/* =========================================================
   BLUUPI — HOME DESKTOP
   Fichier : /app/assets/styles/pages/desktop/home.css

   Rôle :
   - hero desktop
   - recherche desktop
   - mascotte desktop
   - filtres rapides
   - catégories home
   - activités home
   - bloc pourquoi Bluupi
========================================================= */

@media (min-width:1200px){

  /* =========================================================
     1. HERO HOME DESKTOP — LARGE PREMIUM
  ========================================================= */

  .hero{
    width:100%;
    max-width:var(--desktop-max);
    min-height:580px;
    margin:0 auto;
    padding:70px 78px 60px;

    display:grid;
    grid-template-columns:minmax(0, 680px) minmax(460px, 1fr);
    align-items:center;
    gap:64px;

    position:relative;
    overflow:hidden;

    border-radius:46px;
    background:
      radial-gradient(circle at 9% 16%, rgba(255,222,145,.32) 0%, rgba(255,222,145,0) 34%),
      radial-gradient(circle at 92% 62%, rgba(92,216,244,.34) 0%, rgba(92,216,244,0) 42%),
      linear-gradient(135deg,#fff8e6 0%,#ffffff 48%,#edf8fd 100%);
    box-shadow:0 30px 86px rgba(14,62,97,.105);
  }

  .hero::before{
    content:"";
    position:absolute;
    right:-140px;
    bottom:-180px;
    width:540px;
    height:540px;
    border-radius:50%;
    background:rgba(60,166,214,.13);
    pointer-events:none;
  }

  .hero::after{
    content:"";
    position:absolute;
    left:-115px;
    top:-130px;
    width:350px;
    height:350px;
    border-radius:50%;
    background:rgba(255,214,122,.16);
    pointer-events:none;
  }

  .hero-content{
    min-width:0;
    position:relative;
    z-index:3;
  }

  .hero-logo{
    display:none;
  }

  .hero .hero-content .hero-title-desktop{
    display:block;
    width:max-content;
    max-width:none;
    margin:0 0 20px;

    color:var(--primary);
    font-family:"Baloo 2", Inter, system-ui, sans-serif;
    font-size:72px;
    line-height:.95;
    font-weight:900;
    letter-spacing:-.058em;
    white-space:nowrap;
  }

  .hero-subtitle{
    max-width:650px;
    margin:0 0 12px;

    color:#5f7180;
    font-size:20px;
    line-height:1.45;
    font-weight:650;
  }

  .hero-subtitle-small{
    max-width:640px;
    margin:0;

    color:#6d7d8b;
    font-size:16px;
    line-height:1.55;
    font-weight:500;
  }


  /* =========================================================
     2. FORMULAIRE HOME DESKTOP — LARGE PREMIUM
  ========================================================= */

  .hero-form{
    max-width:720px;
    margin-top:32px;
    position:relative;
    z-index:4;
  }

  .main-search{
    height:68px;
    max-width:650px;
    padding:0 22px;

    display:flex;
    align-items:center;
    gap:15px;

    border-radius:24px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(14,62,97,.08);
    box-shadow:0 16px 36px rgba(14,62,97,.075);
  }

  .main-search span{
    flex:0 0 auto;
    font-size:24px;
  }

  .main-search input{
    flex:1;
    min-width:0;
    font-size:17px;
    font-weight:650;
  }

  .main-search button{
    width:42px;
    height:42px;
    flex:0 0 auto;
    font-size:22px;
  }

  .smart-filters{
    max-width:720px;
    margin-top:14px;

    display:grid;
    grid-template-columns:170px 190px 1fr;
    gap:12px;
  }

  .smart-filters label{
    height:58px;
    padding:0 16px;

    display:flex;
    align-items:center;
    gap:10px;

    border-radius:20px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(14,62,97,.08);
    box-shadow:0 9px 22px rgba(14,62,97,.05);
  }

  .smart-filters span{
    flex:0 0 auto;
    font-size:18px;
  }

  .smart-filters select,
  .smart-filters input{
    min-width:0;
    flex:1;
    border:0;
    outline:0;
    background:transparent;

    color:var(--text);
    font-size:14px;
    font-weight:750;
  }


  /* =========================================================
     3. BOUTONS HERO HOME
  ========================================================= */

  .hero-actions{
    max-width:720px;
    margin-top:18px;

    display:flex;
    flex-direction:row;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
  }

  .hero-actions .btn-primary{
    min-height:58px;
    padding:0 34px;
    border-radius:20px;

    background:var(--primary);
    color:#fff;
    box-shadow:0 15px 32px rgba(14,62,97,.22);
  }

  .hero-actions .btn-soft,
  .hero-actions .btn-bluupi{
    min-height:58px;
    padding:0 30px;
    border-radius:20px;

    background:rgba(255,255,255,.80);
    color:var(--primary);
    border:1px solid rgba(14,62,97,.08);
    box-shadow:0 9px 22px rgba(14,62,97,.05);
  }


 /* =========================================================
   4. MASCOTTE HERO DESKTOP
========================================================= */

.tablet-only-bluupi{
  display:none !important;
}

.desktop-bluupi{
  display:flex;
  align-items:flex-end;
  justify-content:center;

  height:100%;
  min-width:0;
  position:relative;
  z-index:2;
}

.desktop-bluupi::before{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-55px;
  width:620px;
  height:620px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(92,216,244,.24), rgba(92,216,244,0) 68%);
  z-index:-1;
}

.desktop-bluupi .hero-bluupi{
  width:500px;
  max-width:none;
  height:auto;

  transform:translate(18px, 42px);
  filter:drop-shadow(0 30px 44px rgba(14,62,97,.20));
}

  /* =========================================================
     5. FILTRES RAPIDES HOME
  ========================================================= */

  .filters{
    max-width:720px;
    margin:24px 0 0;
    padding:0;

    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:nowrap;
    overflow:visible;
  }

  .filters a{
    flex:0 0 auto;
    min-width:96px;
    padding:13px 25px;
    border-radius:999px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(255,255,255,.78);
    color:var(--primary);
    border:1px solid rgba(14,62,97,.07);

    font-size:14px;
    font-weight:900;
    white-space:nowrap;
  }

  .filters a.active{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
    box-shadow:0 11px 24px rgba(14,62,97,.17);
  }


  /* =========================================================
     6. CATÉGORIES HOME DESKTOP
  ========================================================= */

  .categories{
    width:100%;
    max-width:none;

    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:20px;
  }

  .cat-card{
    height:128px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;

    border-radius:24px;
    background:#fff;
    border:1px solid rgba(14,62,97,.07);
    box-shadow:0 12px 28px rgba(14,62,97,.06);
  }

  .cat-card span{
    width:50px;
    height:50px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;
    background:#eef7fb;
    font-size:26px;
  }

  .cat-card strong{
    color:var(--primary);
    font-size:15px;
    font-weight:900;
    text-align:center;
  }


  /* =========================================================
     7. ACTIVITÉS HOME DESKTOP — 4 PAR LIGNE
  ========================================================= */

  .activity-list{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:22px;
  }

  .activity-card{
    border-radius:24px;
    background:#fff;
    border:1px solid rgba(14,62,97,.07);
    box-shadow:0 16px 38px rgba(14,62,97,.08);
    overflow:hidden;
  }

  .activity-media{
    height:170px;
  }

  .activity-media img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .heart{
    top:13px;
    right:13px;
    width:40px;
    height:40px;
    font-size:21px;
  }

  .activity-content{
    padding:18px;
  }

  .chips{
    gap:6px;
    margin-bottom:12px;
  }

  .chips span{
    padding:6px 9px;
    font-size:10.5px;
  }

  .activity-content h3{
    margin-bottom:8px;
    font-size:19px;
    line-height:1.15;
  }

  .activity-content p{
    font-size:13.5px;
    line-height:1.5;
  }

  .card-bottom{
    margin-top:16px;
    padding-top:15px;
  }

  .card-bottom small{
    font-size:10px;
  }

  .card-bottom strong{
    font-size:13px;
  }

  .card-bottom a{
    min-width:88px;
    min-height:40px;
    border-radius:13px;
    font-size:12.5px;
  }


  /* =========================================================
     8. ¿POR QUÉ ELEGIR BLUUPI? — 3 COLONNES × 2 LIGNES
  ========================================================= */

  .why-bluupi{
    width:100%;
    max-width:var(--desktop-max);
    margin:64px auto 0;
    padding:46px;
    border-radius:38px;

    color:#fff;
    background:
      radial-gradient(circle at 90% 15%, rgba(92,216,244,.24), rgba(92,216,244,0) 32%),
      linear-gradient(135deg,#0E3E61,#127194,#0E8BB0);
    box-shadow:0 26px 70px rgba(14,62,97,.16);
    overflow:hidden;
  }

  .why-bluupi h2{
    margin:0 0 8px;

    color:#fff;
    font-family:"Baloo 2", Inter, system-ui, sans-serif;
    font-size:42px;
    line-height:1.05;
    font-weight:900;
    letter-spacing:-.04em;
  }

  .why-subtitle{
    margin:0 0 30px;

    color:rgba(255,255,255,.88);
    font-size:18px;
    line-height:1.45;
    font-weight:600;
  }

  /*
    Ton HTML garde why-fade-slider et why-slide,
    mais en desktop on transforme tout en grille fixe.
    Résultat : les 6 why-item s'affichent en 3 colonnes × 2 lignes.
  */

  .why-fade-slider{
    height:auto;
    position:relative;

    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
  }

  .why-slide{
    position:static;
    inset:auto;

    display:contents;
    opacity:1;
    pointer-events:auto;
    transition:none;
  }

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

  .why-item{
    min-height:142px;
    padding:22px;

    display:flex;
    align-items:flex-start;
    gap:18px;

    border-radius:24px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 12px 28px rgba(0,0,0,.06);
  }

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

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;
    background:rgba(255,255,255,.17);
    font-size:28px;
  }

  .why-item h3{
    margin:0 0 8px;

    color:#fff;
    font-size:20px;
    line-height:1.15;
    font-weight:900;
  }

  .why-item p{
    margin:0;

    color:rgba(255,255,255,.86);
    font-size:14.5px;
    line-height:1.5;
  }

  .why-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
  }


  /* =========================================================
     9. HOVER SPÉCIFIQUE HOME
  ========================================================= */

  .filters a,
  .cat-card,
  .activity-card,
  .card-bottom a,
  .why-item{
    transition:
      transform .18s ease,
      box-shadow .18s ease,
      background .18s ease,
      color .18s ease;
  }

  .filters a:hover{
    transform:translateY(-2px);
  }

  .cat-card:hover,
  .activity-card:hover,
  .why-item:hover{
    transform:translateY(-3px);
    box-shadow:0 22px 48px rgba(14,62,97,.13);
  }

  .card-bottom a:hover{
    background:#092f4c;
  }
}