
/*
 * ==========================================================
 * DESIGN (Astra) - Classique, fond blanc bordure fine
 * ==========================================================
 * Modifiable : Claude peut overrider via style.css (cascade).
 */
@media (max-width: 1023px) {
  [class*="-burger"]:not([class*="-bars"]) {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 10px;
    margin: 0;
    background: #FFFFFF;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    color: #1A1A1A;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  [class*="-burger"]:not([class*="-bars"]):hover {
    background: #F8F8F8;
    border-color: rgba(0, 0, 0, 0.3);
  }
  [class*="-burger-bars"] {
    gap: 4px;
    width: 22px;
    height: 16px;
  }
  [class*="-burger-bars"] span {
    width: 100%;
    height: 2px;
    background: #1A1A1A;
    border-radius: 2px;
  }

  /* Drawer : slide from right, fond blanc */
  [class*="-nav-mobile"].is-open,
  [id*="-nav-mobile"].is-open {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 86%;
    max-width: 360px;
    height: 100vh;
    background: #FFFFFF;
    color: #1A1A1A;
    padding: 4.5rem 1.5rem 1.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.18);
  }
  [class*="-nav-mobile"].is-open ul { list-style: none; margin: 0; padding: 0; width: 100%; }
  [class*="-nav-mobile"].is-open li { border-bottom: 1px solid rgba(0, 0, 0, 0.08); padding: 0; }
  [class*="-nav-mobile"].is-open a {
    display: block;
    color: #1A1A1A;
    text-decoration: none;
    padding: 1rem 0.25rem;
    font-size: 1.05rem;
    font-weight: 500;
  }
  [class*="-nav-mobile"].is-open a:hover { color: #555; }
  [class*="-drawer-close"] {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: #1A1A1A;
    font-size: 1.8rem;
    line-height: 1;
  }
  [class*="-drawer-overlay"].is-open { background: rgba(0, 0, 0, 0.4); }
}
