/* =========================================================
   BLUUPI — LEGAL INDEX DESKTOP
   Fichier : /app/assets/styles/pages/desktop/legal.css
========================================================= */

@media (min-width:1200px){

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

  .desktop-header{
    display:flex !important;
  }

  .desktop-footer{
    display:block !important;
  }

  .legal-page{
    width:100%;
    max-width:var(--desktop-max);
    min-height:auto;
    margin:0 auto;
    padding:42px 0 0;
    background:transparent;
    color:var(--text);
  }

  /* =========================================================
     TOPBAR
  ========================================================= */

  .legal-topbar{
    margin-bottom:26px;

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

  .legal-home{
    min-height:30px;
    padding:0 12px;

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

    border-radius:999px;
    background:#eaf7fc;
    color:var(--blue);

    font-size:13px;
    font-weight:900;
    text-decoration:none;
  }

  .legal-back-account{
    min-height:46px;
    padding:0 18px;

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

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

    border:1px solid var(--desktop-border);
    box-shadow:0 10px 24px rgba(14,62,97,.06);

    font-size:14px;
    font-weight:900;
    text-decoration:none;

    transition:
      transform .18s ease,
      box-shadow .18s ease,
      background .18s ease;
  }

  .legal-back-account span{
    font-size:22px;
    line-height:1;
  }

  .legal-back-account:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 34px rgba(14,62,97,.10);
  }

  /* =========================================================
     HEADER
  ========================================================= */

  .legal-header{
    margin-bottom:30px;
    padding:38px 42px;

    background:
      radial-gradient(circle at 8% 18%, rgba(255,222,145,.22), rgba(255,222,145,0) 34%),
      radial-gradient(circle at 96% 72%, rgba(92,216,244,.20), rgba(92,216,244,0) 38%),
      #fff;

    border:1px solid var(--desktop-border);
    border-radius:34px;
    box-shadow:var(--desktop-shadow);
  }

  .legal-header h1{
    margin:0 0 12px;

    color:var(--primary);
    font-family:"Baloo 2", Inter, system-ui, sans-serif;
    font-size:56px;
    line-height:1.02;
    font-weight:900;
    letter-spacing:-.055em;
  }

  .legal-header p{
    max-width:760px;
    margin:0;

    color:var(--muted);
    font-size:17px;
    line-height:1.55;
    font-weight:650;
  }

  /* =========================================================
     MENU LEGAL
  ========================================================= */

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

  .legal-menu-card{
    min-height:82px;
    padding:0 22px;

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

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

    color:var(--primary);
    text-decoration:none;

    transition:
      transform .18s ease,
      box-shadow .18s ease,
      background .18s ease;
  }

  .legal-menu-card span:first-child{
    font-size:17px;
    font-weight:900;
  }

  .legal-menu-card span:last-child{
    color:#9aa8b5;
    font-size:30px;
    line-height:1;
    font-weight:900;
  }

  .legal-menu-card:hover{
    transform:translateY(-2px);
    background:#fbfdfe;
    box-shadow:0 18px 38px rgba(14,62,97,.10);
  }

  .legal-meta{
    margin:24px 0 0;
    color:var(--muted);
    font-size:13px;
    font-weight:800;
  }

  @media (min-width:1500px){
    .legal-menu{
      grid-template-columns:repeat(3,minmax(0,1fr));
    }
  }

  @media (min-width:1200px) and (max-width:1320px){
    .legal-header h1{
      font-size:50px;
    }

    .legal-menu{
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
  }
}