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

   Rôle :
   - largeur commune de toutes les pages desktop
   - menu desktop commun
   - fond desktop
   - sections communes
   - panels / cards
   - boutons desktop
   - grilles communes
========================================================= */

@media (min-width:1200px){

  /* =========================================================
     1. VARIABLES DESKTOP
  ========================================================= */

  :root{
    /* Largeur standard de toutes les pages desktop */
    --desktop-max:1240px;

    /* Largeur spéciale pour pages très larges si besoin */
    --desktop-wide:1320px;

    --desktop-bg:#f4f8fb;
    --desktop-panel:#ffffff;
    --desktop-soft:#eef4f8;

    --desktop-border:rgba(14,62,97,.08);
    --desktop-shadow:0 18px 46px rgba(14,62,97,.08);
    --desktop-shadow-lg:0 26px 70px rgba(14,62,97,.10);

    --desktop-radius-sm:16px;
    --desktop-radius:24px;
    --desktop-radius-lg:38px;
    --desktop-radius-xl:46px;
  }


  /* =========================================================
     2. BASE DESKTOP
  ========================================================= */

  body{
    background:var(--desktop-bg);
  }

  .app{
    width:100%;
    max-width:var(--desktop-max);
    margin:0 auto;
    padding:0 0 96px;
    background:transparent;
  }

  .bottom-nav,
  .floating-mic{
    display:none !important;
  }


  /* =========================================================
     3. MENU DESKTOP COMMUN
  ========================================================= */

  .desktop-header{
    width:100%;
    max-width:var(--desktop-max);
    height:78px;
    margin:0 auto;
    padding:0 4px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px;
  }

  .desktop-brand{
    display:flex;
    align-items:center;
    flex:0 0 auto;
  }

  .desktop-logo-img{
    width:132px;
    height:auto;
    display:block;
    object-fit:contain;
  }

  .desktop-nav{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:32px;
  }

  .desktop-nav a{
    color:#1f526f;
    font-size:14px;
    font-weight:850;
    white-space:nowrap;
  }

  .desktop-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:16px;
    flex:0 0 auto;
  }

  .desktop-login{
    color:#1f526f;
    font-size:14px;
    font-weight:850;
    white-space:nowrap;
  }

  .desktop-register{
    min-height:42px;
    padding:0 20px;

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

    border-radius:999px;
    background:var(--primary);
    color:#fff;

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

    box-shadow:0 10px 22px rgba(14,62,97,.16);
  }


  /* =========================================================
     4. CONTENEURS DESKTOP COMMUNS
  ========================================================= */

  .desktop-page,
  .page-wrapper,
  .account-page,
  .activity-page,
  .reservas-page,
  .favorites-page,
  .membership-page,
  .preferences-page,
  .family-page,
  .invoices-page,
  .payment-methods-page,
  .help-page,
  .legal-page{
    width:100%;
    max-width:var(--desktop-max);
    margin:0 auto;
  }

  .desktop-page-wide,
  .explore-page,
  .manual-page,
  .assistant-page{
    width:100%;
    max-width:var(--desktop-wide);
    margin:0 auto;
  }

  .desktop-panel{
    background:var(--desktop-panel);
    border:1px solid var(--desktop-border);
    border-radius:var(--desktop-radius);
    box-shadow:var(--desktop-shadow);
  }

  .desktop-hero-panel{
    background:
      radial-gradient(circle at 9% 16%, rgba(255,222,145,.30) 0%, rgba(255,222,145,0) 34%),
      radial-gradient(circle at 92% 62%, rgba(92,216,244,.30) 0%, rgba(92,216,244,0) 42%),
      linear-gradient(135deg,#fff8e6 0%,#ffffff 48%,#edf8fd 100%);
    border-radius:var(--desktop-radius-xl);
    box-shadow:var(--desktop-shadow-lg);
  }


  /* =========================================================
     5. TITRES ET SECTIONS COMMUNS
  ========================================================= */

  .desktop-title,
  .section h2{
    color:var(--primary);
    font-family:"Baloo 2", Inter, system-ui, sans-serif;
    font-weight:900;
    letter-spacing:-.04em;
  }

  .desktop-title{
    margin:0;
    font-size:46px;
    line-height:1.05;
  }

  .desktop-subtitle{
    margin:10px 0 0;
    color:#657789;
    font-size:18px;
    line-height:1.5;
  }

  .section{
    width:100%;
    max-width:var(--desktop-max);
    margin:60px auto 0;
  }

  .section h2{
    margin:0 0 26px;
    font-size:36px;
    line-height:1.08;
  }

  .section-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:26px;
  }

  .section-row h2{
    margin:0;
  }

  .section-row a{
    color:var(--primary);
    font-size:14px;
    font-weight:900;
    white-space:nowrap;
  }


  /* =========================================================
     6. BOUTONS DESKTOP COMMUNS
  ========================================================= */

  .btn-primary,
  .btn-soft,
  .btn-bluupi{
    width:auto;
    min-height:52px;
    padding:0 30px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    border-radius:17px;

    font-size:14px;
    font-weight:900;
    cursor:pointer;
  }

  .btn-primary{
    border:0;
    background:var(--primary);
    color:#fff;
    box-shadow:0 12px 24px rgba(14,62,97,.18);
  }

  .btn-soft,
  .btn-bluupi{
    background:#fff;
    color:var(--primary);
    border:1px solid rgba(14,62,97,.10);
    box-shadow:0 8px 20px rgba(14,62,97,.06);
  }

  .btn-full{
    width:100%;
  }


  /* =========================================================
     7. FORMULAIRES DESKTOP COMMUNS
  ========================================================= */

  .desktop-form-card{
    padding:28px;
    background:#fff;
    border:1px solid var(--desktop-border);
    border-radius:28px;
    box-shadow:var(--desktop-shadow);
  }

  .desktop-field{
    height:54px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 15px;

    border-radius:17px;
    background:#fff;
    border:1px solid rgba(14,62,97,.10);
  }

  .desktop-field input,
  .desktop-field select{
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text);
    font-size:14px;
  }


  /* =========================================================
     8. GRILLES DESKTOP COMMUNES
  ========================================================= */

  .desktop-grid-2{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
  }

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

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

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

  .desktop-grid-6{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:18px;
  }


  /* =========================================================
     9. CARTES DESKTOP COMMUNES
  ========================================================= */

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

  .desktop-card-body{
    padding:22px;
  }


  /* =========================================================
     10. TABLEAUX / BLOCS LISTE DESKTOP
  ========================================================= */

  .desktop-list-panel{
    background:#fff;
    border:1px solid var(--desktop-border);
    border-radius:28px;
    box-shadow:var(--desktop-shadow);
    overflow:hidden;
  }

  .desktop-list-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px 22px;
    border-bottom:1px solid var(--desktop-border);
  }

  .desktop-list-row:last-child{
    border-bottom:0;
  }


  /* =========================================================
     11. HOVER DESKTOP COMMUN
  ========================================================= */

  .desktop-nav a,
  .desktop-login,
  .desktop-register,
  .btn-primary,
  .btn-soft,
  .btn-bluupi,
  .desktop-card,
  .desktop-panel,
  .section-row a{
    transition:
      transform .18s ease,
      box-shadow .18s ease,
      background .18s ease,
      color .18s ease;
  }

  .desktop-nav a:hover,
  .desktop-login:hover,
  .section-row a:hover{
    color:var(--blue);
  }

  .desktop-register:hover,
  .btn-primary:hover{
    background:#092f4c;
  }

  .btn-soft:hover,
  .btn-bluupi:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 24px rgba(14,62,97,.10);
  }

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

  
  /* =========================================================
   12. FOOTER DESKTOP COMMUN
========================================================= */

.desktop-footer{
  width:100%;
  max-width:var(--desktop-max);
  margin:76px auto 0;
  padding:0 0 42px;
  display:block;
}

.desktop-footer-card{
  position:relative;
  overflow:hidden;

  padding:46px 50px;
  display:grid;
  grid-template-columns:1.05fr 2.7fr;
  gap:58px;

  background:
    radial-gradient(circle at 0% 100%, rgba(255,222,145,.26), rgba(255,222,145,0) 26%),
    radial-gradient(circle at 100% 78%, rgba(92,216,244,.22), rgba(92,216,244,0) 30%),
    rgba(255,255,255,.78);

  border:1px solid var(--desktop-border);
  border-radius:34px;
  box-shadow:0 22px 58px rgba(14,62,97,.08);
}

.footer-brand{
  min-width:0;
}

.footer-logo{
  width:150px;
  height:auto;
  display:block;
  margin-bottom:18px;
}

.footer-brand p{
  max-width:340px;
  margin:0 0 18px;

  color:#546779;
  font-size:15.5px;
  line-height:1.55;
  font-weight:650;
}

.footer-socials{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:26px;
}

.footer-socials a{
  width:42px;
  height:42px;

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

  border-radius:50%;
  background:#fff;
  color:var(--primary);

  font-size:18px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(14,62,97,.08);
}

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

.footer-column h4{
  margin:0 0 18px;

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

  color:var(--primary);
  font-size:16px;
  font-weight:900;
}

.footer-column h4 span{
  width:28px;
  height:28px;

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

  border-radius:50%;
  background:#eaf7fc;
  font-size:14px;
}

.footer-column a{
  display:block;
  margin:0 0 13px;

  color:#5f7080;
  font-size:14.5px;
  line-height:1.3;
  font-weight:700;
  text-decoration:none;
}

.footer-column a:hover{
  color:var(--blue);
}

.desktop-footer-pro{
  margin-top:18px;
  padding:22px 28px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;

  background:linear-gradient(135deg,#0E3E61,#127194);
  color:#fff;
  border-radius:26px;
  box-shadow:0 18px 42px rgba(14,62,97,.14);
}

.desktop-footer-pro strong{
  display:block;
  margin-bottom:4px;
  font-size:17px;
  font-weight:900;
}

.desktop-footer-pro span{
  display:block;
  color:rgba(255,255,255,.82);
  font-size:14px;
  font-weight:650;
}

.desktop-footer-pro a{
  min-height:44px;
  padding:0 22px;

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

  border-radius:999px;
  background:#fff;
  color:var(--primary);

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

.desktop-footer-bottom{
  margin-top:28px;
  padding:0 10px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;

  color:#7c8b98;
  font-size:13px;
  font-weight:650;
}

.footer-mini-bluupi{
  display:flex;
  align-items:center;
  gap:16px;
}

.footer-mini-bluupi img{
  width:58px;
  height:58px;
  object-fit:contain;
}

.footer-mini-bluupi strong{
  display:block;
  color:var(--primary);
  font-size:14px;
  font-weight:900;
}

.footer-mini-bluupi span{
  display:block;
  margin-top:3px;
  color:#7c8b98;
  font-size:13px;
  font-weight:650;
}

.desktop-footer-bottom p{
  margin:0;
}
}